From 8c61fa70f3cebed06b23292a3467f1dbc1b96ce9 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Sun, 25 Feb 2018 18:30:24 +0100 Subject: meta: introduce datatype ifname_type This new datatype is a string subtype. It will allow us to build named maps/sets using meta keys like 'iifname', 'oifname', 'ibriport' or 'obriport'. Example: table inet t { set s { type ifname elements = { "eth0", "eth1" } } chain c { iifname @s accept oifname @s accept } } Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- doc/nft.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/nft.xml') diff --git a/doc/nft.xml b/doc/nft.xml index 9d21e9a1..6748265c 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -2572,7 +2572,7 @@ filter output icmpv6 type { echo-request, echo-reply } iifname Input interface name - string + ifname iiftype @@ -2587,7 +2587,7 @@ filter output icmpv6 type { echo-request, echo-reply } oifname Output interface name - string + ifname oiftype @@ -2612,12 +2612,12 @@ filter output icmpv6 type { echo-request, echo-reply } ibriport Input bridge interface name - string + ifname obriport Output bridge interface name - string + ifname pkttype -- cgit v1.2.3