summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-19 10:34:10 +0000
committerandre <andre@FreeBSD.org>2013-08-19 10:34:10 +0000
commit1b3e4b45e506f2e415262de0bfe93bf190033f2e (patch)
tree8aa2057a009c2e10ae622896579df4e742a490a7 /sys/netinet/ip_var.h
parentb1d72163135887489fa1e210e5c393aff5c24586 (diff)
downloadFreeBSD-src-1b3e4b45e506f2e415262de0bfe93bf190033f2e.zip
FreeBSD-src-1b3e4b45e506f2e415262de0bfe93bf190033f2e.tar.gz
Move ip_reassemble()'s use of the global M_FRAG mbuf flag to a protocol layer
specific flag instead. The flag is only relevant while the packet stays in the IP reassembly queue. Discussed with: trociny, glebius
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 1ac1bd2..80c60d6 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -167,6 +167,7 @@ void kmod_ipstat_dec(int statnum);
*/
#define M_FASTFWD_OURS M_PROTO1 /* changed dst to local */
#define M_IP_NEXTHOP M_PROTO2 /* explicit ip nexthop */
+#define M_IP_FRAG M_PROTO4 /* fragment reassembly */
#ifdef __NO_STRICT_ALIGNMENT
#define IP_HDR_ALIGNED_P(ip) 1
OpenPOWER on IntegriCloud