summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>1999-12-06 00:43:20 +0000
committerangelos <angelos@openbsd.org>1999-12-06 00:43:20 +0000
commit72bc4b94e3489a7fc79190557cdec756a3f758fe (patch)
treea5afe61f1070f27bb189a6fb415d1c7ff65d699b
parentKNF. overflows exist, and are not easy to fix (diff)
downloadwireguard-openbsd-72bc4b94e3489a7fc79190557cdec756a3f758fe.tar.xz
wireguard-openbsd-72bc4b94e3489a7fc79190557cdec756a3f758fe.zip
Add another statistic
-rw-r--r--sys/netinet/ip_esp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_esp.h b/sys/netinet/ip_esp.h
index 1a93d8b8554..427ee0bd5f7 100644
--- a/sys/netinet/ip_esp.h
+++ b/sys/netinet/ip_esp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp.h,v 1.24 1999/10/29 02:10:01 angelos Exp $ */
+/* $OpenBSD: ip_esp.h,v 1.25 1999/12/06 00:43:20 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -68,6 +68,7 @@ struct espstat
u_int32_t esps_noxform;
u_int32_t esps_badilen;
u_int32_t esps_wrap; /* Replay counter wrapped around */
+ u_int32_t esps_badenc; /* Bad encryption detected */
u_int32_t esps_badauth; /* Only valid for transforms with auth */
u_int32_t esps_replay; /* Possible packet replay detected */
u_int32_t esps_input; /* Input ESP packets */