summaryrefslogtreecommitdiffstats
path: root/include/libnftnl
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2015-04-12 20:17:52 +0100
committerPatrick McHardy <kaber@trash.net>2015-04-14 07:57:02 +0100
commit462504b3421ebd1ee8cad22d65f50354f065b08d (patch)
treef8dee7246a0ec544f47dcc6e0ac9d4fca39b719c /include/libnftnl
parent5ea54b224a11358b6ae90b519979e09a655292e7 (diff)
set_elem: support expressions attached to set elements
This patch supports attaching a struct nft_rule_expr to a set element and adds netlink attribute encoding and decoding. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/libnftnl')
-rw-r--r--include/libnftnl/set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnftnl/set.h b/include/libnftnl/set.h
index 9621853..4efc7d4 100644
--- a/include/libnftnl/set.h
+++ b/include/libnftnl/set.h
@@ -93,6 +93,7 @@ enum {
NFT_SET_ELEM_ATTR_TIMEOUT,
NFT_SET_ELEM_ATTR_EXPIRATION,
NFT_SET_ELEM_ATTR_USERDATA,
+ NFT_SET_ELEM_ATTR_EXPR,
};
struct nft_set_elem;