mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-18 16:01:32 +01:00
The header of LiMon imported files reference a License file which does not exist in U-Boot. Some files were forgotten when adding the SPDX-License-Identifier. The LiMon files were originally licensed under GPLv2 as can be seen in commit [2ea91039]. Based on this commit, add the correct SPDX license identifier. While at it drop the reference to the non-existing License file from all LiMon files and update the SPDX-License-Identifier to SPDX version 3. Signed-off-by: Max Merchel <Max.Merchel@ew.tq-group.com>
31 lines
651 B
C
31 lines
651 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copied from Linux Monitor (LiMon) - Networking.
|
|
*
|
|
* Copyright 1994 - 2000 Neil Russell.
|
|
* Copyright 2000 Roland Borde
|
|
* Copyright 2000 Paolo Scaffardi
|
|
* Copyright 2000-2002 Wolfgang Denk, wd@denx.de
|
|
*/
|
|
|
|
#ifndef __PING_H__
|
|
#define __PING_H__
|
|
|
|
#include <net.h>
|
|
|
|
/*
|
|
* Initialize ping (beginning of netloop)
|
|
*/
|
|
void ping_start(void);
|
|
|
|
/*
|
|
* Deal with the receipt of a ping packet
|
|
*
|
|
* @param et Ethernet header in packet
|
|
* @param ip IP header in the same packet
|
|
* @param len Packet length
|
|
*/
|
|
void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
|
|
|
|
#endif /* __PING_H__ */
|