summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipcomp.h
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-02-07 18:18:16 +0000
committerbluhm <bluhm@openbsd.org>2017-02-07 18:18:16 +0000
commit8092cf70ca617dbebfffcc059b48ca6d36c644d4 (patch)
treee886a0a72f76ad8ce7b563b958bf46fc9e019c95 /sys/netinet/ip_ipcomp.h
parentRemove a debugging leftover. (diff)
downloadwireguard-openbsd-8092cf70ca617dbebfffcc059b48ca6d36c644d4.tar.xz
wireguard-openbsd-8092cf70ca617dbebfffcc059b48ca6d36c644d4.zip
IPsec packets could be dropped unaccounted if output after crypto
failed. Add a counter for that case. OK dhill@
Diffstat (limited to 'sys/netinet/ip_ipcomp.h')
-rw-r--r--sys/netinet/ip_ipcomp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipcomp.h b/sys/netinet/ip_ipcomp.h
index 76596ebdadd..0ebd45d2edc 100644
--- a/sys/netinet/ip_ipcomp.h
+++ b/sys/netinet/ip_ipcomp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.h,v 1.7 2007/12/14 18:33:41 deraadt Exp $ */
+/* $OpenBSD: ip_ipcomp.h,v 1.8 2017/02/07 18:18:16 bluhm Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -51,6 +51,7 @@ struct ipcompstat {
u_int32_t ipcomps_pdrops; /* Packet blocked due to policy */
u_int32_t ipcomps_crypto; /* "Crypto" processing failure */
u_int32_t ipcomps_minlen; /* packets too short for compress */
+ u_int32_t ipcomps_outfail; /* Packet output failure */
};
/* IPCOMP header */