commit | 4f16d25c68ec844299a4df6ecbb0234eaf88a935 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Jan 25 17:28:18 2021 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jan 27 22:53:29 2021 +0100 |
tree | 6a33c0d31109e978f496586343b7a35c8f8f4a32 | |
parent | dbc859d96f1a90bafe9c3ba2e437aae5d5677318 [diff] |
netfilter: nftables: add nft_parse_register_load() and use it This new function combines the netlink register attribute parser and the load validation function. This update requires to replace: enum nft_registers sreg:8; in many of the expression private areas otherwise compiler complains with: error: cannot take address of bit-field ‘sreg’ when passing the register field as reference. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>