diff options
Diffstat (limited to 'kernel/include/net/netfilter/ipv4')
-rw-r--r-- | kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h | 7 | ||||
-rw-r--r-- | kernel/include/net/netfilter/ipv4/nf_reject.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h b/kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h new file mode 100644 index 000000000..0a14733e8 --- /dev/null +++ b/kernel/include/net/netfilter/ipv4/nf_dup_ipv4.h @@ -0,0 +1,7 @@ +#ifndef _NF_DUP_IPV4_H_ +#define _NF_DUP_IPV4_H_ + +void nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum, + const struct in_addr *gw, int oif); + +#endif /* _NF_DUP_IPV4_H_ */ diff --git a/kernel/include/net/netfilter/ipv4/nf_reject.h b/kernel/include/net/netfilter/ipv4/nf_reject.h index 77862c364..df7ecd806 100644 --- a/kernel/include/net/netfilter/ipv4/nf_reject.h +++ b/kernel/include/net/netfilter/ipv4/nf_reject.h @@ -6,7 +6,7 @@ #include <net/icmp.h> void nf_send_unreach(struct sk_buff *skb_in, int code, int hook); -void nf_send_reset(struct sk_buff *oldskb, int hook); +void nf_send_reset(struct net *net, struct sk_buff *oldskb, int hook); const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb, struct tcphdr *_oth, int hook); |