netfilter: nftables: generalize set expressions support
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 7 Dec 2020 16:37:01 +0000 (17:37 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 12 Dec 2020 10:44:42 +0000 (11:44 +0100)
commit8cfd9b0f8515e7c361bba27e2a2684cbd427fe01
tree4448d9e59edd49418fc55452bffab69282a8eb47
parent86d21fc7474563cb5d054ff001d8ad7b69206717
netfilter: nftables: generalize set expressions support

Currently, the set infrastucture allows for one single expressions per
element. This patch extends the existing infrastructure to allow for up
to two expressions. This is not updating the netlink API yet, this is
coming as an initial preparation patch.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_dynset.c