Commit | Line | Data |
---|---|---|
cc70d069 EL |
1 | #ifndef _IPV6_NF_REJECT_H |
2 | #define _IPV6_NF_REJECT_H | |
3 | ||
91c1a09b | 4 | #include <linux/icmpv6.h> |
cc70d069 | 5 | |
ee586bbc FW |
6 | void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code, |
7 | unsigned int hooknum); | |
cc70d069 | 8 | |
91c1a09b | 9 | void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook); |
cc70d069 | 10 | |
8bfcdf66 PNA |
11 | const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb, |
12 | struct tcphdr *otcph, | |
13 | unsigned int *otcplen, int hook); | |
14 | struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb, | |
15 | const struct sk_buff *oldskb, | |
16 | __be16 protocol, int hoplimit); | |
17 | void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb, | |
18 | const struct sk_buff *oldskb, | |
19 | const struct tcphdr *oth, unsigned int otcplen); | |
20 | ||
cc70d069 | 21 | #endif /* _IPV6_NF_REJECT_H */ |