1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _IPT_REJECT_H
3#define _IPT_REJECT_H
4
5enum ipt_reject_with {
6 IPT_ICMP_NET_UNREACHABLE,
7 IPT_ICMP_HOST_UNREACHABLE,
8 IPT_ICMP_PROT_UNREACHABLE,
9 IPT_ICMP_PORT_UNREACHABLE,
10 IPT_ICMP_ECHOREPLY,
11 IPT_ICMP_NET_PROHIBITED,
12 IPT_ICMP_HOST_PROHIBITED,
13 IPT_TCP_RESET,
14 IPT_ICMP_ADMIN_PROHIBITED
15};
16
17struct ipt_reject_info {
18 enum ipt_reject_with with; /* reject type */
19};
20
21#endif /*_IPT_REJECT_H*/
22

source code of linux/include/uapi/linux/netfilter_ipv4/ipt_REJECT.h