From ff48b0628e95d458bd38e1a95aeed116bcabb133 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 8 Jun 2013 19:15:40 +0200 Subject: set_elem: add NFT_SET_ELEM_ATTR_DATA to set data for mapping We need this new attribute to configure the data that is attached to an element. This is useful for the mapping feature to retrieve data based on keys (like a dictionary) that nftables provides. Signed-off-by: Pablo Neira Ayuso --- include/libnftables/set.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libnftables/set.h b/include/libnftables/set.h index 211c065..d1f6d16 100644 --- a/include/libnftables/set.h +++ b/include/libnftables/set.h @@ -53,6 +53,7 @@ enum { NFT_SET_ELEM_ATTR_KEY, NFT_SET_ELEM_ATTR_VERDICT, NFT_SET_ELEM_ATTR_CHAIN, + NFT_SET_ELEM_ATTR_DATA, }; struct nft_set_elem; -- cgit v1.2.3