X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=net%2Fping.h;h=b672b9573934b3ba4c5d86b0ff4de28d636b5f4b;hb=cb0eae8cf8aaca76910dee4c7eb536d0814d1bd2;hp=246d3aa1051b52dba6ffc88677ffbfc83760b05d;hpb=a36b12f95a29647a06b5459198684fc142482020;p=u-boot diff --git a/net/ping.h b/net/ping.h index 246d3aa105..b672b95739 100644 --- a/net/ping.h +++ b/net/ping.h @@ -6,10 +6,9 @@ * Copyright 2000 Roland Borde * Copyright 2000 Paolo Scaffardi * Copyright 2000-2002 Wolfgang Denk, wd@denx.de + * SPDX-License-Identifier: GPL-2.0 */ -#if defined(CONFIG_CMD_PING) - #ifndef __PING_H__ #define __PING_H__ @@ -28,7 +27,6 @@ void ping_start(void); * @param ip IP header in the same packet * @param len Packet length */ -void ping_receive(Ethernet_t *et, IP_t *ip, int len); +void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); #endif /* __PING_H__ */ -#endif