1
2#ifndef _IPV6_NF_REJECT_H
3#define _IPV6_NF_REJECT_H
4
5#include <linux/icmpv6.h>
6#include <net/netfilter/nf_reject.h>
7
8void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
9 unsigned int hooknum);
10
11void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook);
12
13const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb,
14 struct tcphdr *otcph,
15 unsigned int *otcplen, int hook);
16struct ipv6hdr *nf_reject_ip6hdr_put(struct sk_buff *nskb,
17 const struct sk_buff *oldskb,
18 __u8 protocol, int hoplimit);
19void nf_reject_ip6_tcphdr_put(struct sk_buff *nskb,
20 const struct sk_buff *oldskb,
21 const struct tcphdr *oth, unsigned int otcplen);
22
23#endif
24