Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | meta: introduce datatype ifname_type | Arturo Borrero Gonzalez | 2018-02-25 | 1 | -0/+35 |
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 <arturo@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |