summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJerome Forissier <[email protected]>2024-10-16 12:04:06 +0200
committerTom Rini <[email protected]>2024-10-16 11:11:56 -0600
commit7a5e00d5c349ee6e123d7c17904730b9deaa8047 (patch)
tree8d35ff1b17fdf7f0a8d4ab1c774b7745a22eb06e /include
parent4d4d7838127ec8a95d256285759e8cc781041408 (diff)
net: lwip: add ping command
Add support for the the ping command with NET_LWIP. The implementation is derived from lwIP's contrib/apps/ping/ping.c. Signed-off-by: Jerome Forissier <[email protected]> Acked-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/net-lwip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net-lwip.h b/include/net-lwip.h
index 37744b0e2cd..9aa371e962c 100644
--- a/include/net-lwip.h
+++ b/include/net-lwip.h
@@ -17,5 +17,6 @@ struct netif *net_lwip_get_netif(void);
int net_lwip_rx(struct udevice *udev, struct netif *netif);
int do_dhcp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
+int do_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
#endif /* __NET_LWIP_H__ */