diff options
| author | Patrick McHardy <kaber@trash.net> | 2005-01-26 06:03:38 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2005-01-26 06:03:38 -0800 |
| commit | 526160d90d978477e7712f3bf887dfcb1e2a2973 (patch) | |
| tree | f897ec724c9ff4b5c6f7b2b88d250c68ddcd124a /include/net | |
| parent | 5365e5da514e767a5843ae37fee8c3373f5b0cf9 (diff) | |
[IPV4]: Keep fragment queues private to each user.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/ip.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index deeab8c10759..b4db1375da2c 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -286,9 +286,20 @@ extern int ip_call_ra_chain(struct sk_buff *skb); /* * Functions provided by ip_fragment.o */ - -struct sk_buff *ip_defrag(struct sk_buff *skb); -extern void ipfrag_flush(void); + +enum ip_defrag_users +{ + IP_DEFRAG_LOCAL_DELIVER, + IP_DEFRAG_CALL_RA_CHAIN, + IP_DEFRAG_CONNTRACK_IN, + IP_DEFRAG_CONNTRACK_OUT, + IP_DEFRAG_NAT_OUT, + IP_DEFRAG_VS_IN, + IP_DEFRAG_VS_OUT, + IP_DEFRAG_VS_FWD +}; + +struct sk_buff *ip_defrag(struct sk_buff *skb, u32 user); extern int ip_frag_nqueues; extern atomic_t ip_frag_mem; |
