| 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 |
|
| 10 |
void nf_send_unreach(struct sk_buff *skb_in, int code, int hook); |
| 11 |
void nf_send_reset(struct net *net, struct sock *, struct sk_buff *oldskb, |
| 12 |
int hook); |
| 13 |
struct 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); |
| 17 |
struct 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 */ |