e0bfda5a3c
kbyanc 2005-12-28 20:36:55 UTC FreeBSD src repository Modified files: usr.bin/netstat Makefile ipsec.c main.c netstat.h Added files: usr.bin/netstat pfkey.c Log: Add support for printing IPSEC protocol stats if the kernel was compiled with FAST_IPSEC rather than the KAME IPSEC stack. Note that the output of "netstat -s -p ipsec" differs depending on which stack is compiled into the kernel since they each keep different stats. This delta also adds the "esp", "ah", and "ipcomp" protocol stats, which are also available when the kernel is compiled with the FAST_IPSEC stack (e.g. "netstat -s -p esp"). Submitted by: Matt Titus <titus at nttmcl dot com> Revision Changes Path 1.31 +2 -1 src/usr.bin/netstat/Makefile 1.13 +266 -94 src/usr.bin/netstat/ipsec.c 1.81 +29 -0 src/usr.bin/netstat/main.c 1.47 +6 -0 src/usr.bin/netstat/netstat.h 1.1 +184 -0 src/usr.bin/netstat/pfkey.c (new)