diff options
author | Andre Oppermann <andre@FreeBSD.org> | 2013-08-19 11:08:36 +0000 |
---|---|---|
committer | Andre Oppermann <andre@FreeBSD.org> | 2013-08-19 11:08:36 +0000 |
commit | 88388bdcbe85eeb1ccb293020020867f5dde08b6 (patch) | |
tree | fac6ab0d7a67a1bf183271f92dea7e7b2a746546 /sys/netinet/ip_var.h | |
parent | b09dc7e328ae5266596b5cf87b8ff90d0bb16a9d (diff) | |
download | src-88388bdcbe85eeb1ccb293020020867f5dde08b6.tar.gz src-88388bdcbe85eeb1ccb293020020867f5dde08b6.zip |
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
Notes
Notes:
svn path=/head/; revision=254519
Diffstat (limited to 'sys/netinet/ip_var.h')
-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 80c60d664814..519f9cddb48b 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 |