aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv6/ip6t_REJECT.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-08-21 23:31:06 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:04:12 -0700
commit764d8a9f240729534a1d8a0ffd39e722cf5cc5af (patch)
treeee5d5e0b203149938a5151126b2e3ae46051dfbf /include/linux/netfilter_ipv6/ip6t_REJECT.h
parent[NETFILTER]: Add string match (diff)
downloadlinux-dev-764d8a9f240729534a1d8a0ffd39e722cf5cc5af.tar.xz
linux-dev-764d8a9f240729534a1d8a0ffd39e722cf5cc5af.zip
[NETFILTER]: Add IPv6 REJECT target
Originally written by Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>, taken from netfilter patch-o-matic and fixed up to work with current kernels. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter_ipv6/ip6t_REJECT.h')
-rw-r--r--include/linux/netfilter_ipv6/ip6t_REJECT.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv6/ip6t_REJECT.h b/include/linux/netfilter_ipv6/ip6t_REJECT.h
new file mode 100644
index 000000000000..6be6504162bb
--- /dev/null
+++ b/include/linux/netfilter_ipv6/ip6t_REJECT.h
@@ -0,0 +1,18 @@
+#ifndef _IP6T_REJECT_H
+#define _IP6T_REJECT_H
+
+enum ip6t_reject_with {
+ IP6T_ICMP6_NO_ROUTE,
+ IP6T_ICMP6_ADM_PROHIBITED,
+ IP6T_ICMP6_NOT_NEIGHBOUR,
+ IP6T_ICMP6_ADDR_UNREACH,
+ IP6T_ICMP6_PORT_UNREACH,
+ IP6T_ICMP6_ECHOREPLY,
+ IP6T_TCP_RESET
+};
+
+struct ip6t_reject_info {
+ u_int32_t with; /* reject type */
+};
+
+#endif /*_IP6T_REJECT_H*/