diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-09 23:30:07 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-04-09 23:30:07 +0000 |
commit | f2ad7f7574cc6a0b49d54371e1731358da0a634a (patch) | |
tree | 247a550422a29e54c34b0d1440098ca5541cd1fa /usr.bin/netstat/inet.c | |
parent | 8da7bcdbd3864aaf423ca8ac7919d77e50ff412b (diff) |
The userland parts of a sysctl that can switch on/off IP-in-IP (protocol 4)
Diffstat (limited to 'usr.bin/netstat/inet.c')
-rw-r--r-- | usr.bin/netstat/inet.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 9f56f9f41c0..703a34dac49 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.31 1999/03/27 21:04:21 provos Exp $ */ +/* $OpenBSD: inet.c,v 1.32 1999/04/09 23:30:05 niklas Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94"; #else -static char *rcsid = "$OpenBSD: inet.c,v 1.31 1999/03/27 21:04:21 provos Exp $"; +static char *rcsid = "$OpenBSD: inet.c,v 1.32 1999/04/09 23:30:05 niklas Exp $"; #endif #endif /* not lint */ @@ -699,6 +699,8 @@ ip4_stats(off, name) p(ip4s_ipackets, "\t%u total input packet%s\n"); p(ip4s_opackets, "\t%u total output packet%s\n"); p(ip4s_hdrops, "\t%u packet%s shorter than header shows\n"); + p(ip4s_pdrops, "\t%u packet%s dropped due to policy\n"); + p(ip4s_spoof, "\t%u packet%s with possibly spoofed local addresses\n"); p(ip4s_notip4, "\t%u packet%s with internal header not IPv4 received\n"); p(ip4s_qfull, "\t%u packet%s were dropped due to full output queue\n"); p(ip4s_ibytes, "\t%qu input byte%s\n"); |