Re: [PATCH 2/2] netfilter: nft: add queue module

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

 



Hi Eric,

Why not declaring them in an enum, as for nft_rule_compat_flags,
>nft_set_flags or nft_set_elem_flags?
Simple answer: It was not an enum in the original NFQUEUE code;)

Real answer: We have only two values, third one is a mask. So it may be
a bit overkill to use an enum here.

I understand, but this would be diverging from what has been the "rule" so far.
It's a minor detail I agree.

Btw, nft_set_elem_flags owns only one value ^^

Tomasz
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux