Home
last modified time | relevance | path

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

123

/Linux-v4.19/net/netfilter/
Dnft_immediate.c34 static int nft_immediate_init(const struct nft_ctx *ctx, in nft_immediate_init()
66 static void nft_immediate_activate(const struct nft_ctx *ctx, in nft_immediate_activate()
74 static void nft_immediate_deactivate(const struct nft_ctx *ctx, in nft_immediate_deactivate()
96 static int nft_immediate_validate(const struct nft_ctx *ctx, in nft_immediate_validate()
101 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate()
Dnft_connlimit.c67 static int nft_connlimit_do_init(const struct nft_ctx *ctx, in nft_connlimit_do_init()
94 static void nft_connlimit_do_destroy(const struct nft_ctx *ctx, in nft_connlimit_do_destroy()
125 static int nft_connlimit_obj_init(const struct nft_ctx *ctx, in nft_connlimit_obj_init()
134 static void nft_connlimit_obj_destroy(const struct nft_ctx *ctx, in nft_connlimit_obj_destroy()
189 static int nft_connlimit_init(const struct nft_ctx *ctx, in nft_connlimit_init()
198 static void nft_connlimit_destroy(const struct nft_ctx *ctx, in nft_connlimit_destroy()
218 static void nft_connlimit_destroy_clone(const struct nft_ctx *ctx, in nft_connlimit_destroy_clone()
Dnft_lookup.c60 static int nft_lookup_init(const struct nft_ctx *ctx, in nft_lookup_init()
124 static void nft_lookup_destroy(const struct nft_ctx *ctx, in nft_lookup_destroy()
152 static int nft_lookup_validate_setelem(const struct nft_ctx *ctx, in nft_lookup_validate_setelem()
158 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_lookup_validate_setelem()
183 static int nft_lookup_validate(const struct nft_ctx *ctx, in nft_lookup_validate()
Dnft_objref.c28 static int nft_objref_init(const struct nft_ctx *ctx, in nft_objref_init()
67 static void nft_objref_destroy(const struct nft_ctx *ctx, in nft_objref_destroy()
111 static int nft_objref_map_init(const struct nft_ctx *ctx, in nft_objref_map_init()
158 static void nft_objref_map_destroy(const struct nft_ctx *ctx, in nft_objref_map_destroy()
177 nft_objref_select_ops(const struct nft_ctx *ctx, in nft_objref_select_ops()
Dnft_limit.c150 static int nft_limit_pkts_init(const struct nft_ctx *ctx, in nft_limit_pkts_init()
192 static int nft_limit_bytes_init(const struct nft_ctx *ctx, in nft_limit_bytes_init()
218 nft_limit_select_ops(const struct nft_ctx *ctx, in nft_limit_select_ops()
252 static int nft_limit_obj_pkts_init(const struct nft_ctx *ctx, in nft_limit_obj_pkts_init()
296 static int nft_limit_obj_bytes_init(const struct nft_ctx *ctx, in nft_limit_obj_bytes_init()
324 nft_limit_obj_select_ops(const struct nft_ctx *ctx, in nft_limit_obj_select_ops()
Dnft_compat.c158 const struct nft_ctx *ctx, in nft_target_set_tgchk_param()
239 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
276 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
309 static int nft_target_validate(const struct nft_ctx *ctx, in nft_target_validate()
386 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, in nft_match_set_mtchk_param()
438 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init()
471 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init()
478 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_large_init()
496 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_destroy()
514 nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_match_destroy()
[all …]
Dnf_tables_api.c68 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init()
88 static struct nft_trans *nft_trans_alloc_gfp(const struct nft_ctx *ctx, in nft_trans_alloc_gfp()
103 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc()
154 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add()
169 static int nft_deltable(struct nft_ctx *ctx) in nft_deltable()
181 static int nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add()
196 static int nft_delchain(struct nft_ctx *ctx) in nft_delchain()
210 static void nft_rule_expr_activate(const struct nft_ctx *ctx, in nft_rule_expr_activate()
224 static void nft_rule_expr_deactivate(const struct nft_ctx *ctx, in nft_rule_expr_deactivate()
239 nf_tables_delrule_deactivate(struct nft_ctx *ctx, struct nft_rule *rule) in nf_tables_delrule_deactivate()
[all …]
Dnft_meta.c298 static int nft_meta_get_init(const struct nft_ctx *ctx, in nft_meta_get_init()
366 static int nft_meta_get_validate(const struct nft_ctx *ctx, in nft_meta_get_validate()
398 static int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate()
427 static int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init()
492 static void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy()
521 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops()
Dnft_numgen.c81 static int nft_ng_inc_init(const struct nft_ctx *ctx, in nft_ng_inc_init()
104 static int nft_ng_inc_map_init(const struct nft_ctx *ctx, in nft_ng_inc_map_init()
205 static int nft_ng_random_init(const struct nft_ctx *ctx, in nft_ng_random_init()
229 static int nft_ng_random_map_init(const struct nft_ctx *ctx, in nft_ng_random_map_init()
302 nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_ng_select_ops()
Dnft_counter.c85 static int nft_counter_obj_init(const struct nft_ctx *ctx, in nft_counter_obj_init()
99 static void nft_counter_obj_destroy(const struct nft_ctx *ctx, in nft_counter_obj_destroy()
213 static int nft_counter_init(const struct nft_ctx *ctx, in nft_counter_init()
222 static void nft_counter_destroy(const struct nft_ctx *ctx, in nft_counter_destroy()
Dnft_reject.c29 int nft_reject_validate(const struct nft_ctx *ctx, in nft_reject_validate()
40 int nft_reject_init(const struct nft_ctx *ctx, in nft_reject_init()
Dnft_masq.c26 int nft_masq_validate(const struct nft_ctx *ctx, in nft_masq_validate()
41 int nft_masq_init(const struct nft_ctx *ctx, in nft_masq_init()
Dnft_redir.c26 int nft_redir_validate(const struct nft_ctx *ctx, in nft_redir_validate()
42 int nft_redir_init(const struct nft_ctx *ctx, in nft_redir_init()
Dnft_fwd_netdev.c43 static int nft_fwd_netdev_init(const struct nft_ctx *ctx, in nft_fwd_netdev_init()
137 static int nft_fwd_neigh_init(const struct nft_ctx *ctx, in nft_fwd_neigh_init()
207 nft_fwd_select_ops(const struct nft_ctx *ctx, in nft_fwd_select_ops()
Dnft_queue.c81 static int nft_queue_init(const struct nft_ctx *ctx, in nft_queue_init()
110 static int nft_queue_sreg_init(const struct nft_ctx *ctx, in nft_queue_sreg_init()
181 nft_queue_select_ops(const struct nft_ctx *ctx, in nft_queue_select_ops()
Dnft_hash.c122 static int nft_jhash_init(const struct nft_ctx *ctx, in nft_jhash_init()
169 static int nft_jhash_map_init(const struct nft_ctx *ctx, in nft_jhash_map_init()
183 static int nft_symhash_init(const struct nft_ctx *ctx, in nft_symhash_init()
209 static int nft_symhash_map_init(const struct nft_ctx *ctx, in nft_symhash_map_init()
328 nft_hash_select_ops(const struct nft_ctx *ctx, in nft_hash_select_ops()
Dnft_cmp.c73 static int nft_cmp_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_cmp_init()
120 static int nft_cmp_fast_init(const struct nft_ctx *ctx, in nft_cmp_fast_init()
176 nft_cmp_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_cmp_select_ops()
Dnft_flow_offload.c125 static int nft_flow_offload_validate(const struct nft_ctx *ctx, in nft_flow_offload_validate()
134 static int nft_flow_offload_init(const struct nft_ctx *ctx, in nft_flow_offload_init()
156 static void nft_flow_offload_destroy(const struct nft_ctx *ctx, in nft_flow_offload_destroy()
Dnft_ct.c376 static int nft_ct_get_init(const struct nft_ctx *ctx, in nft_ct_get_init()
507 static void __nft_ct_set_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_set_destroy()
525 static int nft_ct_set_init(const struct nft_ctx *ctx, in nft_ct_set_init()
600 static void nft_ct_get_destroy(const struct nft_ctx *ctx, in nft_ct_get_destroy()
606 static void nft_ct_set_destroy(const struct nft_ctx *ctx, in nft_ct_set_destroy()
710 nft_ct_select_ops(const struct nft_ctx *ctx, in nft_ct_select_ops()
840 static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, in nft_ct_timeout_obj_init()
897 static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, in nft_ct_timeout_obj_destroy()
958 static int nft_ct_helper_obj_init(const struct nft_ctx *ctx, in nft_ct_helper_obj_init()
1031 static void nft_ct_helper_obj_destroy(const struct nft_ctx *ctx, in nft_ct_helper_obj_destroy()
Dnft_tunnel.c52 static int nft_tunnel_get_init(const struct nft_ctx *ctx, in nft_tunnel_get_init()
132 static int nft_tunnel_obj_ip_init(const struct nft_ctx *ctx, in nft_tunnel_obj_ip_init()
161 static int nft_tunnel_obj_ip6_init(const struct nft_ctx *ctx, in nft_tunnel_obj_ip6_init()
274 static int nft_tunnel_obj_opts_init(const struct nft_ctx *ctx, in nft_tunnel_obj_opts_init()
310 static int nft_tunnel_obj_init(const struct nft_ctx *ctx, in nft_tunnel_obj_init()
513 static void nft_tunnel_obj_destroy(const struct nft_ctx *ctx, in nft_tunnel_obj_destroy()
/Linux-v4.19/include/net/netfilter/
Dnf_tables.h156 struct nft_ctx { struct
173 int nft_data_init(const struct nft_ctx *ctx, argument
196 int nft_validate_register_store(const struct nft_ctx *ctx,
236 int (*fn)(const struct nft_ctx *ctx,
331 void (*walk)(const struct nft_ctx *ctx,
469 int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set,
471 void nf_tables_unbind_set(const struct nft_ctx *ctx, struct nft_set *set,
706 const struct nft_expr_ops *(*select_ops)(const struct nft_ctx *,
742 int (*init)(const struct nft_ctx *ctx,
745 void (*activate)(const struct nft_ctx *ctx,
[all …]
Dnft_masq.h13 int nft_masq_init(const struct nft_ctx *ctx,
19 int nft_masq_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,
Dnft_redir.h13 int nft_redir_init(const struct nft_ctx *ctx,
19 int nft_redir_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,
Dnft_reject.h12 int nft_reject_validate(const struct nft_ctx *ctx,
16 int nft_reject_init(const struct nft_ctx *ctx,
Dnft_fib.h20 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
22 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,

123