aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index aa76c7a4d9c3..c7e066a1c611 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -406,9 +406,18 @@ enum ip_defrag_users {
406 IP_DEFRAG_VS_OUT, 406 IP_DEFRAG_VS_OUT,
407 IP_DEFRAG_VS_FWD, 407 IP_DEFRAG_VS_FWD,
408 IP_DEFRAG_AF_PACKET, 408 IP_DEFRAG_AF_PACKET,
409 IP_DEFRAG_MACVLAN,
409}; 410};
410 411
411int ip_defrag(struct sk_buff *skb, u32 user); 412int ip_defrag(struct sk_buff *skb, u32 user);
413#ifdef CONFIG_INET
414struct sk_buff *ip_check_defrag(struct sk_buff *skb, u32 user);
415#else
416static inline struct sk_buff *ip_check_defrag(struct sk_buff *skb, u32 user)
417{
418 return skb;
419}
420#endif
412int ip_frag_mem(struct net *net); 421int ip_frag_mem(struct net *net);
413int ip_frag_nqueues(struct net *net); 422int ip_frag_nqueues(struct net *net);
414 423