summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 00:57:06 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 00:57:06 +0000
commit9b595a1c79d0f7973697268ef5e098588ae57953 (patch)
tree624876bfe165cce9540a973cb84807fb75afdf72 /sys
parentc939f0a6d7552d90d1cb05f8f1670f8f1d9d7219 (diff)
add M_AUTH_AH. now M_AUTH means "payload was authenticated by AH or ESP auth",
M_AUTH_AH means "header was authenticated by AH".
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mbuf.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index df0dae63ff4..48fff5cef5f 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.62 2002/06/07 19:57:45 dhartmei Exp $ */
+/* $OpenBSD: mbuf.h,v 1.63 2002/06/09 00:57:05 itojun Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -140,9 +140,10 @@ struct mbuf {
/* mbuf pkthdr flags, also in m_flags */
#define M_BCAST 0x0100 /* send/received as link-level broadcast */
#define M_MCAST 0x0200 /* send/received as link-level multicast */
-#define M_CONF 0x0400 /* packet was encrypted (ESP-transport) */
-#define M_AUTH 0x0800 /* packet was authenticated (AH) */
-#define M_COMP 0x1000 /* packet was compressed (IPCOMP) */
+#define M_CONF 0x0400 /* payload was encrypted (ESP-transport) */
+#define M_AUTH 0x0800 /* payload was authenticated (AH or ESP auth) */
+#define M_COMP 0x1000 /* payload was compressed (IPCOMP) */
+#define M_AUTH_AH 0x2000 /* header was authenticated (AH) */
/* Checksumming flags */
#define M_IPV4_CSUM_OUT 0x0001 /* IPv4 checksum needed */