1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *	Copied from Linux Monitor (LiMon) - Networking.
4  *
5  *	Copyright 1994 - 2000 Neil Russell.
6  *	Copyright 2000 Roland Borde
7  *	Copyright 2000 Paolo Scaffardi
8  *	Copyright 2000-2002 Wolfgang Denk, wd@denx.de
9  */
10 
11 #ifndef __PING_H__
12 #define __PING_H__
13 
14 #include <net.h>
15 
16 /*
17  * Initialize ping (beginning of netloop)
18  */
19 void ping_start(void);
20 
21 /*
22  * Deal with the receipt of a ping packet
23  *
24  * @param et Ethernet header in packet
25  * @param ip IP header in the same packet
26  * @param len Packet length
27  */
28 void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len);
29 
30 #endif /* __PING_H__ */
31