File Index
Files and directories
Sign in
FILE

nf_reject.h

File preview with syntax highlighting.

linux-6.19.14/include/net/netfilter/ipv4/nf_reject.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _IPV4_NF_REJECT_H
 3#define _IPV4_NF_REJECT_H
 4
 5#include <linux/skbuff.h>
 6#include <net/ip.h>
 7#include <net/icmp.h>
 8#include <net/netfilter/nf_reject.h>
 9
10void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
11void nf_send_reset(struct net *net, struct sock *, struct sk_buff *oldskb,
12		   int hook);
13struct sk_buff *nf_reject_skb_v4_unreach(struct net *net,
14                                         struct sk_buff *oldskb,
15                                         const struct net_device *dev,
16                                         int hook, u8 code);
17struct sk_buff *nf_reject_skb_v4_tcp_reset(struct net *net,
18					   struct sk_buff *oldskb,
19					   const struct net_device *dev,
20					   int hook);
21
22
23#endif /* _IPV4_NF_REJECT_H */
~/ Read-only file preview.