Home
last modified time | relevance | path

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

/linux/include/net/netfilter/
H A Dnft_meta.h18 int nft_meta_get_init(const struct nft_ctx *ctx,
22 int nft_meta_set_init(const struct nft_ctx *ctx,
40 void nft_meta_set_destroy(const struct nft_ctx *ctx,
43 int nft_meta_get_validate(const struct nft_ctx *ctx,
45 int nft_meta_set_validate(const struct nft_ctx *ctx,
H A Dnf_tables.h213 struct nft_ctx { struct
238 int nft_data_init(const struct nft_ctx *ctx, struct nft_data *data, argument
258 int nft_parse_register_load(const struct nft_ctx *ctx,
260 int nft_parse_register_store(const struct nft_ctx *ctx,
335 int (*fn)(const struct nft_ctx *ctx,
422 int nft_expr_inner_parse(const struct nft_ctx *ctx, const struct nlattr *nla,
425 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr);
488 void (*walk)(const struct nft_ctx *ctx,
508 void (*destroy)(const struct nft_ctx *ctx,
677 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/bridge/netfilter/
H A Dnft_meta_bridge.c83 static int nft_meta_bridge_get_init(const struct nft_ctx *ctx, in nft_meta_bridge_get_init()
112 static int nft_meta_bridge_get_validate(const struct nft_ctx *ctx, in nft_meta_bridge_get_validate()
158 static int nft_meta_bridge_set_init(const struct nft_ctx *ctx, in nft_meta_bridge_set_init()
183 static int nft_meta_bridge_set_validate(const struct nft_ctx *ctx, in nft_meta_bridge_set_validate()
211 nft_meta_bridge_select_ops(const struct nft_ctx *ctx, in nft_meta_bridge_select_ops()
/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()
400 static int nft_target_bridge_validate(const struct nft_ctx *ctx, in nft_target_bridge_validate()
470 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, in nft_match_set_mtchk_param()
522 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init()
550 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init()
557 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_large_init()
[all …]
H A Dnft_synproxy.c152 static int nft_synproxy_do_init(const struct nft_ctx *ctx, in nft_synproxy_do_init()
207 static void nft_synproxy_do_destroy(const struct nft_ctx *ctx) in nft_synproxy_do_destroy()
250 static int nft_synproxy_validate(const struct nft_ctx *ctx, in nft_synproxy_validate()
262 static int nft_synproxy_init(const struct nft_ctx *ctx, in nft_synproxy_init()
271 static void nft_synproxy_destroy(const struct nft_ctx *ctx, in nft_synproxy_destroy()
304 static int nft_synproxy_obj_init(const struct nft_ctx *ctx, in nft_synproxy_obj_init()
313 static void nft_synproxy_obj_destroy(const struct nft_ctx *ctx, in nft_synproxy_obj_destroy()
H A Dnf_tables_api.c126 static bool nft_chain_vstate_valid(const struct nft_ctx *ctx, in nft_chain_vstate_valid()
153 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init()
176 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc()
225 static void __nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set, in __nft_set_trans_bind()
250 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
255 static void nft_set_trans_unbind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_unbind()
260 static void __nft_chain_trans_bind(const struct nft_ctx *ctx, in __nft_chain_trans_bind()
285 static void nft_chain_trans_bind(const struct nft_ctx *ctx, in nft_chain_trans_bind()
291 int nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_bind_chain()
311 void nf_tables_unbind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_unbind_chain()
[all …]
H A Dnft_meta.c523 int nft_meta_get_init(const struct nft_ctx *ctx, in nft_meta_get_init()
596 static int nft_meta_get_validate_sdif(const struct nft_ctx *ctx) in nft_meta_get_validate_sdif()
614 static int nft_meta_get_validate_xfrm(const struct nft_ctx *ctx) in nft_meta_get_validate_xfrm()
640 int nft_meta_get_validate(const struct nft_ctx *ctx, in nft_meta_get_validate()
659 int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate()
688 int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init()
760 void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy()
824 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops()
846 static int nft_meta_inner_init(const struct nft_ctx *ctx, in nft_meta_inner_init()
958 static int nft_secmark_obj_init(const struct nft_ctx *ctx, in nft_secmark_obj_init()
[all …]
H A Dnft_lookup.c134 static int nft_lookup_init(const struct nft_ctx *ctx, in nft_lookup_init()
199 static void nft_lookup_deactivate(const struct nft_ctx *ctx, in nft_lookup_deactivate()
208 static void nft_lookup_activate(const struct nft_ctx *ctx, in nft_lookup_activate()
216 static void nft_lookup_destroy(const struct nft_ctx *ctx, in nft_lookup_destroy()
245 static int nft_lookup_validate(const struct nft_ctx *ctx, in nft_lookup_validate()
H A Dnft_dynset.c34 struct nft_ctx ctx = { in nft_dynset_expr_setup()
136 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, in nft_dynset_expr_alloc()
172 static int nft_dynset_init(const struct nft_ctx *ctx, in nft_dynset_init()
351 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate()
360 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate()
368 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
H A Dnft_ct.c382 static void __nft_ct_get_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_get_destroy()
390 static int nft_ct_get_init(const struct nft_ctx *ctx, in nft_ct_get_init()
535 static void __nft_ct_set_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_set_destroy()
557 static int nft_ct_set_init(const struct nft_ctx *ctx, in nft_ct_set_init()
643 static void nft_ct_get_destroy(const struct nft_ctx *ctx, in nft_ct_get_destroy()
652 static void nft_ct_set_destroy(const struct nft_ctx *ctx, in nft_ct_set_destroy()
769 nft_ct_select_ops(const struct nft_ctx *ctx, in nft_ct_select_ops()
908 static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, in nft_ct_timeout_obj_init()
965 static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, in nft_ct_timeout_obj_destroy()
1026 static int nft_ct_helper_obj_init(const struct nft_ctx *ctx, in nft_ct_helper_obj_init()
[all …]
H A Dnft_fib.c29 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_fib_validate()
75 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_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_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_rt.c112 static int nft_rt_get_init(const struct nft_ctx *ctx, in nft_rt_get_init()
165 static int nft_rt_validate(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_rt_validate()
H A Dnft_nat.c139 static int nft_nat_validate(const struct nft_ctx *ctx, in nft_nat_validate()
170 static int nft_nat_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_nat_init()
307 nft_nat_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_nat_destroy()
H A Dnft_bitwise.c212 static int nft_bitwise_init_bool(const struct nft_ctx *ctx, in nft_bitwise_init_bool()
250 static int nft_bitwise_init(const struct nft_ctx *ctx, in nft_bitwise_init()
434 static int nft_bitwise_fast_init(const struct nft_ctx *ctx, in nft_bitwise_fast_init()
523 nft_bitwise_select_ops(const struct nft_ctx *ctx, in nft_bitwise_select_ops()
H A Dnft_xfrm.c34 static int nft_xfrm_get_init(const struct nft_ctx *ctx, in nft_xfrm_get_init()
240 static int nft_xfrm_validate(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_xfrm_validate()
H A Dnft_fib_netdev.c53 static int nft_fib_netdev_validate(const struct nft_ctx *ctx, in nft_fib_netdev_validate()
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_payload.c222 static int nft_payload_init(const struct nft_ctx *ctx, in nft_payload_init()
615 static int nft_payload_inner_init(const struct nft_ctx *ctx, in nft_payload_inner_init()
993 static bool nft_payload_validate_inet_csum_offset(const struct nft_ctx *ctx, in nft_payload_validate_inet_csum_offset()
1173 static int nft_payload_set_init(const struct nft_ctx *ctx, in nft_payload_set_init()
1283 nft_payload_select_ops(const struct nft_ctx *ctx, in nft_payload_select_ops()
H A Dnft_byteorder.c83 static int nft_byteorder_init(const struct nft_ctx *ctx, in nft_byteorder_init()
H A Dnft_set_rbtree.c839 static void nft_rbtree_do_walk(const struct nft_ctx *ctx, in nft_rbtree_do_walk()
861 static void nft_rbtree_walk(const struct nft_ctx *ctx, in nft_rbtree_walk()
987 static void nft_rbtree_destroy(const struct nft_ctx *ctx, in nft_rbtree_destroy()
H A Dnft_set_pipapo.c2156 static void nft_pipapo_do_walk(const struct nft_ctx *ctx, struct nft_set *set,
2195 static void nft_pipapo_walk(const struct nft_ctx *ctx, struct nft_set *set,
2354 static void nft_set_pipapo_match_destroy(const struct nft_ctx *ctx,
2381 static void nft_pipapo_destroy(const struct nft_ctx *ctx,