diff options
author | Eric Leblond <eric@regit.org> | 2013-07-29 00:30:56 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-07-31 19:27:25 +0200 |
commit | d0218ea4573837d775c3e605913a45021f1526b9 (patch) | |
tree | e22d649f5bb96353d2ab1fda6a78dfae279b774e /include/datatype.h | |
parent | a320531e78f1bcb12b24da048f34592771392a9a (diff) |
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 <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
-rw-r--r-- | include/datatype.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |