Re: [PATCH v5 31/30] network: use iif/oif instead of iifname/oifname in nftables rules

2024-05-27 Thread Jiri Denemark
On Wed, May 22, 2024 at 23:13:33 -0400, Laine Stump wrote: > > iifname/oifname need to lookup the string that contains the name of > the interface each time a packet is checked, while iif/oif compare the > ifindex of the interface, which is included directly in the > packet. Conveniently, the rule

[PATCH v5 31/30] network: use iif/oif instead of iifname/oifname in nftables rules

2024-05-22 Thread Laine Stump
iifname/oifname need to lookup the string that contains the name of the interface each time a packet is checked, while iif/oif compare the ifindex of the interface, which is included directly in the packet. Conveniently, the rule is created using the *name* of the interface (which gets converted