summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-01-27 17:42:57 +0000
committersam <sam@FreeBSD.org>2004-01-27 17:42:57 +0000
commit174fb2f80477320bd69eb66ae2128e19f898bb90 (patch)
treebbdd7a9a449539566363e2ab19599e72d2d39763 /sys/netipsec
parentf08bacde3cfee8467b7497db882a6839892a0855 (diff)
downloadFreeBSD-src-174fb2f80477320bd69eb66ae2128e19f898bb90.zip
FreeBSD-src-174fb2f80477320bd69eb66ae2128e19f898bb90.tar.gz
add spdcachelookup and spdcachemiss to our version of struct ipsecstat so
netstat works properly Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/ipsec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netipsec/ipsec.h b/sys/netipsec/ipsec.h
index b19b3b9..c381afd 100644
--- a/sys/netipsec/ipsec.h
+++ b/sys/netipsec/ipsec.h
@@ -232,6 +232,9 @@ struct ipsecstat {
u_quad_t out_esphist[256];
u_quad_t out_ahhist[256];
u_quad_t out_comphist[256];
+
+ u_quad_t spdcachelookup;
+ u_quad_t spdcachemiss;
};
/* statistics for ipsec processing */
OpenPOWER on IntegriCloud