summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Herz <andi@geekosphere.org>2015-08-21 12:31:32 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2015-08-26 21:32:35 +0300
commit1afe839e6b31a85fc53adbf8757d6373908d414d (patch)
tree2cf35819f9bae5b945650e0e63d21a5f338a6bfd /include
parent116984a316c3a3200f8a7912110cc4a6d6c0989e (diff)
downloadlinux-1afe839e6b31a85fc53adbf8757d6373908d414d.tar.xz
netfilter: ip6t_REJECT: added missing icmpv6 codes
RFC 4443 added two new codes values for ICMPv6 type 1: 5 - Source address failed ingress/egress policy 6 - Reject route to destination And RFC 7084 states in L-14 that IPv6 Router MUST send ICMPv6 Destination Unreachable with code 5 for packets forwarded to it that use an address from a prefix that has been invalidated. Codes 5 and 6 are more informative subsets of code 1. Signed-off-by: Andreas Herz <andi@geekosphere.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/netfilter_ipv6/ip6t_REJECT.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/netfilter_ipv6/ip6t_REJECT.h b/include/uapi/linux/netfilter_ipv6/ip6t_REJECT.h
index 205ed62e4605..cd2e940c8bf5 100644
--- a/include/uapi/linux/netfilter_ipv6/ip6t_REJECT.h
+++ b/include/uapi/linux/netfilter_ipv6/ip6t_REJECT.h
@@ -10,7 +10,9 @@ enum ip6t_reject_with {
IP6T_ICMP6_ADDR_UNREACH,
IP6T_ICMP6_PORT_UNREACH,
IP6T_ICMP6_ECHOREPLY,
- IP6T_TCP_RESET
+ IP6T_TCP_RESET,
+ IP6T_ICMP6_POLICY_FAIL,
+ IP6T_ICMP6_REJECT_ROUTE
};
struct ip6t_reject_info {