From d0218ea4573837d775c3e605913a45021f1526b9 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Mon, 29 Jul 2013 00:30:56 +0200 Subject: src: Add icmpv6 support This patch adds ICMPv6 support to nftables. It is now possible to write rules such as: nft add rule ip6 filter input icmpv6 type nd-router-advert accept Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- include/datatype.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/datatype.h') diff --git a/include/datatype.h b/include/datatype.h index 053fbd93..239d5ea5 100644 --- a/include/datatype.h +++ b/include/datatype.h @@ -32,6 +32,7 @@ * @TYPE_CT_STATE: conntrack state (bitmask subtype) * @TYPE_CT_DIR: conntrack direction * @TYPE_CT_STATUS: conntrack status (bitmask subtype) + * @TYPE_ICMP6_TYPE: ICMPv6 type codes (integer subtype) */ enum datatypes { TYPE_INVALID, @@ -62,6 +63,7 @@ enum datatypes { TYPE_CT_STATE, TYPE_CT_DIR, TYPE_CT_STATUS, + TYPE_ICMP6_TYPE, __TYPE_MAX }; #define TYPE_MAX (__TYPE_MAX - 1) -- cgit v1.2.3