Home
last modified time | relevance | path

Searched refs:nft_ctx (Results 1 – 16 of 16) sorted by relevance

/linux/include/net/netfilter/
H A Dnf_tables.h206 struct nft_ctx { struct
231 int nft_data_init(const struct nft_ctx *ctx, struct nft_data *data, argument
251 int nft_parse_register_load(const struct nft_ctx *ctx,
253 int nft_parse_register_store(const struct nft_ctx *ctx,
328 int (*fn)(const struct nft_ctx *ctx,
415 int nft_expr_inner_parse(const struct nft_ctx *ctx, const struct nlattr *nla,
418 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
481 void (*walk)(const struct nft_ctx *ctx,
501 void (*destroy)(const struct nft_ctx *ctx,
670 void nf_tables_activate_set(const struct nft_ctx *ctx, struct nft_set *set);
[all …]
H A Dnft_reject.h17 int nft_reject_validate(const struct nft_ctx *ctx,
20 int nft_reject_init(const struct nft_ctx *ctx,
/linux/net/netfilter/
H A Dnft_compat.c31 static int nft_compat_chain_validate_dependency(const struct nft_ctx *ctx, in nft_compat_chain_validate_dependency()
145 const struct nft_ctx *ctx, in nft_target_set_tgchk_param()
244 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
300 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
353 static int nft_target_validate(const struct nft_ctx *ctx, in nft_target_validate()
454 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, in nft_match_set_mtchk_param()
506 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init()
534 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init()
541 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_large_init()
559 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_destroy()
[all …]
H A Dnf_tables_api.c128 static bool nft_chain_vstate_valid(const struct nft_ctx *ctx, in nft_chain_vstate_valid()
155 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init()
178 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc()
227 static void __nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set, in __nft_set_trans_bind()
252 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
257 static void nft_set_trans_unbind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_unbind()
262 static void __nft_chain_trans_bind(const struct nft_ctx *ctx, in __nft_chain_trans_bind()
287 static void nft_chain_trans_bind(const struct nft_ctx *ctx, in nft_chain_trans_bind()
293 int nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_bind_chain()
313 void nf_tables_unbind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_unbind_chain()
[all …]
H A Dnft_fwd_netdev.c46 static int nft_fwd_netdev_init(const struct nft_ctx *ctx, in nft_fwd_netdev_init()
186 static int nft_fwd_neigh_init(const struct nft_ctx *ctx, in nft_fwd_neigh_init()
237 static int nft_fwd_validate(const struct nft_ctx *ctx, in nft_fwd_validate()
266 nft_fwd_select_ops(const struct nft_ctx *ctx, in nft_fwd_select_ops()
H A Dnft_dynset.c33 struct nft_ctx ctx = { in nft_dynset_expr_setup()
135 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, in nft_dynset_expr_alloc()
171 static int nft_dynset_init(const struct nft_ctx *ctx, in nft_dynset_init()
347 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate()
356 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate()
364 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
H A Dnft_ct.c384 static void __nft_ct_get_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_get_destroy()
392 static int nft_ct_get_init(const struct nft_ctx *ctx, in nft_ct_get_init()
537 static void __nft_ct_set_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_set_destroy()
559 static int nft_ct_set_init(const struct nft_ctx *ctx, in nft_ct_set_init()
645 static void nft_ct_get_destroy(const struct nft_ctx *ctx, in nft_ct_get_destroy()
654 static void nft_ct_set_destroy(const struct nft_ctx *ctx, in nft_ct_set_destroy()
771 nft_ct_select_ops(const struct nft_ctx *ctx, in nft_ct_select_ops()
912 static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, in nft_ct_timeout_obj_init()
968 static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, in nft_ct_timeout_obj_destroy()
1029 static int nft_ct_helper_obj_init(const struct nft_ctx *ctx, in nft_ct_helper_obj_init()
[all …]
H A Dnft_reject.c26 int nft_reject_validate(const struct nft_ctx *ctx, in nft_reject_validate()
37 int nft_reject_init(const struct nft_ctx *ctx, in nft_reject_init()
H A Dnft_osf.c65 static int nft_osf_init(const struct nft_ctx *ctx, in nft_osf_init()
115 static int nft_osf_validate(const struct nft_ctx *ctx, in nft_osf_validate()
H A Dnft_set_hash.c267 static void nft_rhash_walk_ro(const struct nft_ctx *ctx, struct nft_set *set, in nft_rhash_walk_ro()
301 static void nft_rhash_walk_update(const struct nft_ctx *ctx, in nft_rhash_walk_update()
372 static void nft_rhash_walk(const struct nft_ctx *ctx, struct nft_set *set, in nft_rhash_walk()
538 const struct nft_ctx ctx;
550 static void nft_rhash_destroy(const struct nft_ctx *ctx, in nft_rhash_destroy()
751 static void nft_hash_walk(const struct nft_ctx *ctx, struct nft_set *set, in nft_hash_walk()
792 static void nft_hash_destroy(const struct nft_ctx *ctx, in nft_hash_destroy()
H A Dnft_exthdr.c498 static int nft_exthdr_init(const struct nft_ctx *ctx, in nft_exthdr_init()
546 static int nft_exthdr_tcp_set_init(const struct nft_ctx *ctx, in nft_exthdr_tcp_set_init()
595 static int nft_exthdr_tcp_strip_init(const struct nft_ctx *ctx, in nft_exthdr_tcp_strip_init()
617 static int nft_exthdr_ipv4_init(const struct nft_ctx *ctx, in nft_exthdr_ipv4_init()
640 static int nft_exthdr_dccp_init(const struct nft_ctx *ctx, in nft_exthdr_dccp_init()
764 nft_exthdr_select_ops(const struct nft_ctx *ctx, in nft_exthdr_select_ops()
H A Dnft_tproxy.c191 static int nft_tproxy_init(const struct nft_ctx *ctx, in nft_tproxy_init()
273 static void nft_tproxy_destroy(const struct nft_ctx *ctx, in nft_tproxy_destroy()
315 static int nft_tproxy_validate(const struct nft_ctx *ctx, in nft_tproxy_validate()
H A Dnft_bitwise.c208 static int nft_bitwise_init_bool(const struct nft_ctx *ctx, in nft_bitwise_init_bool()
243 static int nft_bitwise_init(const struct nft_ctx *ctx, in nft_bitwise_init()
424 static int nft_bitwise_fast_init(const struct nft_ctx *ctx, in nft_bitwise_fast_init()
513 nft_bitwise_select_ops(const struct nft_ctx *ctx, in nft_bitwise_select_ops()
H A Dnft_set_bitmap.c222 static void nft_bitmap_walk(const struct nft_ctx *ctx, in nft_bitmap_walk()
279 static void nft_bitmap_destroy(const struct nft_ctx *ctx, in nft_bitmap_destroy()
H A Dnft_set_rbtree.c837 static void nft_rbtree_do_walk(const struct nft_ctx *ctx, in nft_rbtree_do_walk()
859 static void nft_rbtree_walk(const struct nft_ctx *ctx, in nft_rbtree_walk()
985 static void nft_rbtree_destroy(const struct nft_ctx *ctx, in nft_rbtree_destroy()
H A Dnft_set_pipapo.c2132 static void nft_pipapo_do_walk(const struct nft_ctx *ctx, struct nft_set *set,
2171 static void nft_pipapo_walk(const struct nft_ctx *ctx, struct nft_set *set,
2330 static void nft_set_pipapo_match_destroy(const struct nft_ctx *ctx,
2357 static void nft_pipapo_destroy(const struct nft_ctx *ctx,