From 60eb51e7a3e3a1dfacd9d9284b7e21e1fe4de011 Mon Sep 17 00:00:00 2001 From: gnn Date: Thu, 3 Sep 2009 21:10:57 +0000 Subject: 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 --- usr.bin/netstat/netstat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.bin/netstat/netstat.h') 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); -- cgit v1.1