diff options
author | andre <andre@FreeBSD.org> | 2013-08-19 11:08:36 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2013-08-19 11:08:36 +0000 |
commit | fd76db45877685066364d0c4b173b1f41b3ee7ad (patch) | |
tree | fac6ab0d7a67a1bf183271f92dea7e7b2a746546 /sys/netinet6 | |
parent | 1b3e4b45e506f2e415262de0bfe93bf190033f2e (diff) | |
download | FreeBSD-src-fd76db45877685066364d0c4b173b1f41b3ee7ad.zip FreeBSD-src-fd76db45877685066364d0c4b173b1f41b3ee7ad.tar.gz |
Move the global M_SKIP_FIREWALL mbuf flags to a protocol layer specific
flag instead. The flag is only used within the IP and IPv6 layer 3
protocols.
Because some firewall packages treat IPv4 and IPv6 packets the same the
flag should have the same value for both.
Discussed with: trociny, glebius
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_var.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index a02928c..1c22cc9 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -293,7 +293,12 @@ struct ip6aux { #define IPV6_FORWARDING 0x02 /* most of IPv6 header exists */ #define IPV6_MINMTU 0x04 /* use minimum MTU (IPV6_USE_MIN_MTU) */ -#define M_IP6_NEXTHOP M_PROTO7 /* explicit ip nexthop */ +/* + * IPv6 protocol layer specific mbuf flags. + */ +#define M_IP6_NEXTHOP M_PROTO2 /* explicit ip nexthop */ +#define M_SKIP_FIREWALL M_PROTO3 /* skip firewall processing, + keep in sync with IPv4 */ #ifdef __NO_STRICT_ALIGNMENT #define IP6_HDR_ALIGNED_P(ip) 1 |