summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-03-18 16:56:05 +0000
committerglebius <glebius@FreeBSD.org>2014-03-18 16:56:05 +0000
commitad70c4103e84f504930151e4d7bf3c71e3c2bd9d (patch)
treef6d1e3578eb825c0176231d011344bde8c79efb1 /sys/netinet6/in6.h
parent5e93044a78ce49826d02c59307c02d95ba564da8 (diff)
downloadFreeBSD-src-ad70c4103e84f504930151e4d7bf3c71e3c2bd9d.zip
FreeBSD-src-ad70c4103e84f504930151e4d7bf3c71e3c2bd9d.tar.gz
Merge r263091: fix mbuf flags clash that lead to failure of operation
of IPSEC and packet filters. PR: kern/185876 PR: kern/186755
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 07ba290..f7d7e76 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -622,13 +622,18 @@ struct ip6_mtuinfo {
#endif /* __BSD_VISIBLE */
/*
- * Redefinition of mbuf flags
- */
-#define M_AUTHIPHDR M_PROTO2
-#define M_DECRYPTED M_PROTO3
-#define M_LOOP M_PROTO4
-#define M_AUTHIPDGM M_PROTO5
-#define M_RTALERT_MLD M_PROTO6
+ * Since both netinet/ and netinet6/ call into netipsec/ and netpfil/,
+ * the protocol specific mbuf flags are shared between them.
+ */
+#define M_FASTFWD_OURS M_PROTO1 /* changed dst to local */
+#define M_IP6_NEXTHOP M_PROTO2 /* explicit ip nexthop */
+#define M_IP_NEXTHOP M_PROTO2 /* explicit ip nexthop */
+#define M_SKIP_FIREWALL M_PROTO3 /* skip firewall processing */
+#define M_AUTHIPHDR M_PROTO4
+#define M_DECRYPTED M_PROTO5
+#define M_LOOP M_PROTO6
+#define M_AUTHIPDGM M_PROTO7
+#define M_RTALERT_MLD M_PROTO8
#ifdef _KERNEL
struct cmsghdr;
OpenPOWER on IntegriCloud