Home
last modified time | relevance | path

Searched refs:nft_set_ext_add_length (Results 1 – 3 of 3) sorted by relevance

/linux/net/netfilter/
H A Dnft_dynset.c122 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_EXPRESSIONS, in nft_dynset_ext_add_expr()
309 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_KEY, set->klen); in nft_dynset_init()
311 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_DATA, set->dlen); in nft_dynset_init()
H A Dnf_tables_api.c7011 err = nft_set_ext_add_length(&tmpl, NFT_SET_EXT_KEY, set->klen); in nft_add_set_elem()
7022 err = nft_set_ext_add_length(&tmpl, NFT_SET_EXT_KEY_END, set->klen); in nft_add_set_elem()
7037 err = nft_set_ext_add_length(&tmpl, NFT_SET_EXT_EXPRESSIONS, in nft_add_set_elem()
7095 err = nft_set_ext_add_length(&tmpl, NFT_SET_EXT_DATA, desc.len); in nft_add_set_elem()
7108 err = nft_set_ext_add_length(&tmpl, NFT_SET_EXT_USERDATA, in nft_add_set_elem()
7388 err = nft_set_ext_add_length(&tmpl, NFT_SET_EXT_KEY, set->klen); in nft_del_setelem()
7399 err = nft_set_ext_add_length(&tmpl, NFT_SET_EXT_KEY_END, set->klen); in nft_del_setelem()
/linux/include/net/netfilter/
H A Dnf_tables.h752 static inline int nft_set_ext_add_length(struct nft_set_ext_tmpl *tmpl, u8 id, in nft_set_ext_add_length() function
768 return nft_set_ext_add_length(tmpl, id, 0); in nft_set_ext_add()