1dc1f6bd31
Ping used to provide some sort of packet sniffing capabilities, this was in an era where hubs were used and tcpdump wasn't invented. pr_iph() is a function that prints the IP header of the packet. pr_retip() is essentially a wrapper function to pr_iph(), that also displays the source and destination ports of a TCP or UDP packet. After |
||
---|---|---|
.. | ||
tests | ||
main.c | ||
main.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
ping6.c | ||
ping6.h | ||
ping.8 | ||
ping.c | ||
ping.h | ||
utils.c | ||
utils.h |