diff options
Diffstat (limited to 'include/set_elem.h')
-rw-r--r-- | include/set_elem.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/set_elem.h b/include/set_elem.h index cc4d529..7628005 100644 --- a/include/set_elem.h +++ b/include/set_elem.h @@ -8,8 +8,9 @@ struct nftnl_set_elem { uint32_t set_elem_flags; uint32_t flags; union nftnl_data_reg key; + union nftnl_data_reg key_end; union nftnl_data_reg data; - struct nftnl_expr *expr; + struct list_head expr_list; uint64_t timeout; uint64_t expiration; const char *objref; @@ -19,4 +20,7 @@ struct nftnl_set_elem { } user; }; +int nftnl_set_elem_snprintf_default(char *buf, size_t size, + const struct nftnl_set_elem *e); + #endif |