diff options
Diffstat (limited to 'usr.bin/netstat/ipsec.c')
-rw-r--r-- | usr.bin/netstat/ipsec.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/netstat/ipsec.c b/usr.bin/netstat/ipsec.c index 2dc6410..ef3e78f 100644 --- a/usr.bin/netstat/ipsec.c +++ b/usr.bin/netstat/ipsec.c @@ -101,6 +101,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/queue.h> #include <sys/socket.h> +#include <sys/socketvar.h> #include <netinet/in.h> @@ -267,7 +268,7 @@ print_ipsecstats(const struct ipsecstat *ipsecstat) } void -ipsec_stats(u_long off, const char *name, int af1 __unused) +ipsec_stats(u_long off, const char *name, int af1 __unused, int proto __unused) { struct ipsecstat ipsecstat; @@ -355,7 +356,7 @@ print_ahstats(const struct ahstat *ahstat) } void -ah_stats(u_long off, const char *name, int family __unused) +ah_stats(u_long off, const char *name, int family __unused, int proto __unused) { struct ahstat ahstat; @@ -405,7 +406,7 @@ print_espstats(const struct espstat *espstat) } void -esp_stats(u_long off, const char *name, int family __unused) +esp_stats(u_long off, const char *name, int family __unused, int proto __unused) { struct espstat espstat; @@ -450,7 +451,8 @@ print_ipcompstats(const struct ipcompstat *ipcompstat) } void -ipcomp_stats(u_long off, const char *name, int family __unused) +ipcomp_stats(u_long off, const char *name, int family __unused, + int proto __unused) { struct ipcompstat ipcompstat; |