| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 
|---|
| 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 |  | 
|---|
| 8 | void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code, | 
|---|
| 9 | unsigned int hooknum); | 
|---|
| 10 | void nf_send_reset6(struct net *net, struct sock *sk, struct sk_buff *oldskb, | 
|---|
| 11 | int hook); | 
|---|
| 12 | struct sk_buff *nf_reject_skb_v6_tcp_reset(struct net *net, | 
|---|
| 13 | struct sk_buff *oldskb, | 
|---|
| 14 | const struct net_device *dev, | 
|---|
| 15 | int hook); | 
|---|
| 16 | struct sk_buff *nf_reject_skb_v6_unreach(struct net *net, | 
|---|
| 17 | struct sk_buff *oldskb, | 
|---|
| 18 | const struct net_device *dev, | 
|---|
| 19 | int hook, u8 code); | 
|---|
| 20 |  | 
|---|
| 21 | #endif /* _IPV6_NF_REJECT_H */ | 
|---|
| 22 |  | 
|---|