summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-12-09 08:55:38 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-12-09 08:55:38 +0000
commit3a6f53ff2b86d8e1c53791879e0f019d5946879e (patch)
tree033aaa7201f82cb51c4c21354255c2315207b1ec /sys/netinet
parent07b3ef8617bdbb53e15baa183f38a71c6eabb726 (diff)
Protocol family mismatch counter.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ip4.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/ip_ip4.h b/sys/netinet/ip_ip4.h
index 4eaca741649..e138d0c3f6a 100644
--- a/sys/netinet/ip_ip4.h
+++ b/sys/netinet/ip_ip4.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ip4.h,v 1.14 1999/04/09 23:28:45 niklas Exp $ */
+/* $OpenBSD: ip_ip4.h,v 1.15 1999/12/09 08:55:37 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -45,13 +45,12 @@ struct ip4stat
u_int32_t ip4s_ipackets; /* total input packets */
u_int32_t ip4s_opackets; /* total output packets */
u_int32_t ip4s_hdrops; /* packet shorter than header shows */
- u_int32_t ip4s_badlen;
- u_int32_t ip4s_notip4;
u_int32_t ip4s_qfull;
u_int64_t ip4s_ibytes;
u_int64_t ip4s_obytes;
u_int32_t ip4s_pdrops; /* packet dropped due to policy */
u_int32_t ip4s_spoof; /* IP spoofing attempts */
+ u_int32_t ip4s_family; /* Protocol family mismatch */
};
#define IP4_DEFAULT_TTL 0