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/netinet | |
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/netinet')
-rw-r--r-- | sys/netinet/ip_var.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index 80c60d6..519f9cd 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -163,10 +163,12 @@ void kmod_ipstat_dec(int statnum); #define IP_ALLOWBROADCAST SO_BROADCAST /* 0x20 can send broadcast packets */ /* - * mbuf flag used by ip_fastfwd + * IPv4 protocol layer specific mbuf flags. */ #define M_FASTFWD_OURS M_PROTO1 /* changed dst to local */ #define M_IP_NEXTHOP M_PROTO2 /* explicit ip nexthop */ +#define M_SKIP_FIREWALL M_PROTO3 /* skip firewall processing, + keep in sync with IP6 */ #define M_IP_FRAG M_PROTO4 /* fragment reassembly */ #ifdef __NO_STRICT_ALIGNMENT |