path: root/include/set_elem.h
diff options
authorPatrick McHardy <>2015-04-12 20:17:52 +0100
committerPatrick McHardy <>2015-04-14 07:57:02 +0100
commit462504b3421ebd1ee8cad22d65f50354f065b08d (patch)
treef8dee7246a0ec544f47dcc6e0ac9d4fca39b719c /include/set_elem.h
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 <>
Diffstat (limited to 'include/set_elem.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/set_elem.h b/include/set_elem.h
index 5aaad20..bdefe4b 100644
--- a/include/set_elem.h
+++ b/include/set_elem.h
@@ -8,6 +8,7 @@ struct nft_set_elem {
uint32_t set_elem_flags;
union nft_data_reg key;
union nft_data_reg data;
+ struct nft_rule_expr *expr;
uint32_t flags;
uint64_t timeout;
uint64_t expiration;