Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | meta: add ibrpvid and ibrvproto support | wenxu | 2019-08-30 | 1 | -0/+9 |
| | | | | | | | | | | | This allows you to match the bridge pvid and vlan protocol, for instance: nft add rule bridge firewall zones meta ibrvproto vlan nft add rule bridge firewall zones meta ibrpvid 100 Signed-off-by: wenxu <wenxu@ucloud.cn> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | src: use ibrname and obrname | Pablo Neira Ayuso | 2018-04-19 | 1 | -2/+2 |
| | | | | | | | | | Legacy tool name is 'brctl' and so the 'br' prefix is already known. If we use ibrname and obrname it looks consistent with iifname and oifname. So let's this instead of ibridgename and obridgename since Florian likes this too. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | src: rename ibrportname, obrportname | Florian Westphal | 2018-04-17 | 1 | -0/+10 |
For bridge, iifname is the port name, whereas 'ibrport' is the logical name of the bridge ("br0") the port ("iifname") is enslaved to. So, 'ibrport' is a misnomer. libnftl calls these 'bri_iifname' and 'bri_oifname', which is good but using 'briiifname' in nft is rather ugly, so use 'ibridgename' and 'obridgename' instead. Old names are still recognized, listing shows the new names. Signed-off-by: Florian Westphal <fw@strlen.de> |