Re: [PATCH] src: add vlan_id type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 20, 2019 at 06:45:23PM +0200, Michael Braun wrote:
> This enables using vlan id in a set or a concatenation.
> 
> table bridge filter {
> 	set dropvlans {
> 		type vlan_id
> 		elements = { 123 }
> 	}
> 	chain FORWARD {
> 		type filter hook forward priority filter; policy accept;
>                 vlan id @dropvlans drop
> 	}
> }

Thanks for submitting your patch.

Florian sent a better approach to support for all types generically.
Please, have a look at his recent typeof() series.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux