summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.h
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2009-09-03 21:10:57 +0000
committergnn <gnn@FreeBSD.org>2009-09-03 21:10:57 +0000
commit60eb51e7a3e3a1dfacd9d9284b7e21e1fe4de011 (patch)
treeadac442cdf92025f0d2ded02f1a96f79bc1b1cfc /usr.bin/netstat/netstat.h
parent5d151fa1f9e0bab1181b49200884097a9b1874ac (diff)
downloadFreeBSD-src-60eb51e7a3e3a1dfacd9d9284b7e21e1fe4de011.zip
FreeBSD-src-60eb51e7a3e3a1dfacd9d9284b7e21e1fe4de011.tar.gz
Add ARP statistics to the kernel and netstat.
New counters now exist for: requests sent replies sent requests received replies received packets received total packets dropped due to no ARP entry entrys timed out Duplicate IPs seen The new statistics are seen in the netstat command when it is given the -s command line switch. MFC after: 2 weeks In collaboration with: bz
Diffstat (limited to 'usr.bin/netstat/netstat.h')
-rw-r--r--usr.bin/netstat/netstat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/netstat.h b/usr.bin/netstat/netstat.h
index 483bd6c..f834495 100644
--- a/usr.bin/netstat/netstat.h
+++ b/usr.bin/netstat/netstat.h
@@ -75,6 +75,7 @@ void udp_stats(u_long, const char *, int, int);
void sctp_protopr(u_long, const char *, int, int);
void sctp_stats(u_long, const char *, int, int);
#endif
+void arp_stats(u_long, const char *, int, int);
void ip_stats(u_long, const char *, int, int);
void icmp_stats(u_long, const char *, int, int);
void igmp_stats(u_long, const char *, int, int);
OpenPOWER on IntegriCloud