]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/net/ipv6.h
IPv6: reassembly: replace magic number with macro definitions
[net-next-2.6.git] / include / net / ipv6.h
index ccab5946c830da21409190aac9b854f0f905264a..299bbf5adfb63471002b11598aac25e07fd2eac3 100644 (file)
@@ -246,6 +246,8 @@ extern int ipv6_opt_accepted(struct sock *sk, struct sk_buff *skb);
 int ip6_frag_nqueues(struct net *net);
 int ip6_frag_mem(struct net *net);
 
+#define IPV6_FRAG_HIGH_THRESH  262144          /* == 256*1024 */
+#define IPV6_FRAG_LOW_THRESH   196608          /* == 192*1024 */
 #define IPV6_FRAG_TIMEOUT      (60*HZ)         /* 60 seconds */
 
 extern int __ipv6_addr_type(const struct in6_addr *addr);