diff options
author | Patrick McHardy <kaber@trash.net> | 2015-04-12 20:17:52 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2015-04-14 07:57:02 +0100 |
commit | 462504b3421ebd1ee8cad22d65f50354f065b08d (patch) | |
tree | f8dee7246a0ec544f47dcc6e0ac9d4fca39b719c /include/libnftnl/set.h | |
parent | 5ea54b224a11358b6ae90b519979e09a655292e7 (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/set.h')
-rw-r--r-- | include/libnftnl/set.h | 1 |
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; |