File Index
Files and directories
Sign in
FILE

nf_reject.h

File preview with syntax highlighting.

linux-6.19.14/include/net/netfilter/ipv6/nf_reject.h C
 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
 8void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
 9		      unsigned int hooknum);
10void nf_send_reset6(struct net *net, struct sock *sk, struct sk_buff *oldskb,
11		    int hook);
12struct 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);
16struct 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 */
~/ Read-only file preview.