netfilter: nf_tables: add NFTA_SET_ELEM_KEY_END attribute
Add NFTA_SET_ELEM_KEY_END attribute to convey the closing element of the
interval between kernel and userspace.
This patch also adds the NFT_SET_EXT_KEY_END extension to store the
closing element value in this interval.
v4: No changes
v3: New patch
[sbrivio: refactor error paths and labels; add corresponding
nft_set_ext_type for new key; rebase]
Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org>
Showing
- include/net/netfilter/nf_tables.h 13 additions, 1 deletioninclude/net/netfilter/nf_tables.h
- include/uapi/linux/netfilter/nf_tables.h 2 additions, 0 deletionsinclude/uapi/linux/netfilter/nf_tables.h
- net/netfilter/nf_tables_api.c 63 additions, 22 deletionsnet/netfilter/nf_tables_api.c
- net/netfilter/nft_dynset.c 1 addition, 1 deletionnet/netfilter/nft_dynset.c
Loading
Please register or sign in to comment