|
@@ -36,15 +36,6 @@
|
|
|
#include <net/netfilter/nf_tproxy.h>
|
|
|
#include <linux/netfilter/xt_TPROXY.h>
|
|
|
|
|
|
-/* assign a socket to the skb -- consumes sk */
|
|
|
-static void
|
|
|
-nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk)
|
|
|
-{
|
|
|
- skb_orphan(skb);
|
|
|
- skb->sk = sk;
|
|
|
- skb->destructor = sock_edemux;
|
|
|
-}
|
|
|
-
|
|
|
static unsigned int
|
|
|
tproxy_tg4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport,
|
|
|
u_int32_t mark_mask, u_int32_t mark_value)
|