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