Home
last modified time | relevance | path

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

123

/Linux-v5.4/include/net/netfilter/
Dnft_meta.h17 int nft_meta_get_init(const struct nft_ctx *ctx,
21 int nft_meta_set_init(const struct nft_ctx *ctx,
39 void nft_meta_set_destroy(const struct nft_ctx *ctx,
42 int nft_meta_set_validate(const struct nft_ctx *ctx,
Dnf_tables.h169 struct nft_ctx { struct
187 int nft_data_init(const struct nft_ctx *ctx, argument
210 int nft_validate_register_store(const struct nft_ctx *ctx,
250 int (*fn)(const struct nft_ctx *ctx,
353 void (*walk)(const struct nft_ctx *ctx,
494 void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set,
497 int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set,
499 void nf_tables_destroy_set(const struct nft_ctx *ctx, struct nft_set *set);
735 const struct nft_expr_ops *(*select_ops)(const struct nft_ctx *,
784 int (*init)(const struct nft_ctx *ctx,
[all …]
Dnft_reject.h17 int nft_reject_validate(const struct nft_ctx *ctx,
21 int nft_reject_init(const struct nft_ctx *ctx,
Dnft_fib.h22 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr,
24 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,
/Linux-v5.4/net/netfilter/
Dnft_lookup.c57 static int nft_lookup_init(const struct nft_ctx *ctx, in nft_lookup_init()
118 static void nft_lookup_deactivate(const struct nft_ctx *ctx, in nft_lookup_deactivate()
127 static void nft_lookup_activate(const struct nft_ctx *ctx, in nft_lookup_activate()
135 static void nft_lookup_destroy(const struct nft_ctx *ctx, in nft_lookup_destroy()
163 static int nft_lookup_validate_setelem(const struct nft_ctx *ctx, in nft_lookup_validate_setelem()
169 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_lookup_validate_setelem()
194 static int nft_lookup_validate(const struct nft_ctx *ctx, in nft_lookup_validate()
Dnft_objref.c25 static int nft_objref_init(const struct nft_ctx *ctx, in nft_objref_init()
65 static void nft_objref_deactivate(const struct nft_ctx *ctx, in nft_objref_deactivate()
77 static void nft_objref_activate(const struct nft_ctx *ctx, in nft_objref_activate()
122 static int nft_objref_map_init(const struct nft_ctx *ctx, in nft_objref_map_init()
169 static void nft_objref_map_deactivate(const struct nft_ctx *ctx, in nft_objref_map_deactivate()
178 static void nft_objref_map_activate(const struct nft_ctx *ctx, in nft_objref_map_activate()
186 static void nft_objref_map_destroy(const struct nft_ctx *ctx, in nft_objref_map_destroy()
207 nft_objref_select_ops(const struct nft_ctx *ctx, in nft_objref_select_ops()
Dnft_immediate.c32 static int nft_immediate_init(const struct nft_ctx *ctx, in nft_immediate_init()
64 static void nft_immediate_activate(const struct nft_ctx *ctx, in nft_immediate_activate()
72 static void nft_immediate_deactivate(const struct nft_ctx *ctx, in nft_immediate_deactivate()
98 static int nft_immediate_validate(const struct nft_ctx *ctx, in nft_immediate_validate()
103 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate()
Dnft_connlimit.c59 static int nft_connlimit_do_init(const struct nft_ctx *ctx, in nft_connlimit_do_init()
86 static void nft_connlimit_do_destroy(const struct nft_ctx *ctx, in nft_connlimit_do_destroy()
117 static int nft_connlimit_obj_init(const struct nft_ctx *ctx, in nft_connlimit_obj_init()
126 static void nft_connlimit_obj_destroy(const struct nft_ctx *ctx, in nft_connlimit_obj_destroy()
181 static int nft_connlimit_init(const struct nft_ctx *ctx, in nft_connlimit_init()
190 static void nft_connlimit_destroy(const struct nft_ctx *ctx, in nft_connlimit_destroy()
210 static void nft_connlimit_destroy_clone(const struct nft_ctx *ctx, in nft_connlimit_destroy_clone()
Dnft_compat.c30 static int nft_compat_chain_validate_dependency(const struct nft_ctx *ctx, in nft_compat_chain_validate_dependency()
136 const struct nft_ctx *ctx, in nft_target_set_tgchk_param()
217 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
251 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
304 static int nft_target_validate(const struct nft_ctx *ctx, in nft_target_validate()
380 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, in nft_match_set_mtchk_param()
432 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init()
458 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init()
465 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_large_init()
483 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_destroy()
[all …]
Dnft_synproxy.c152 static int nft_synproxy_do_init(const struct nft_ctx *ctx, in nft_synproxy_do_init()
206 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()
258 static int nft_synproxy_init(const struct nft_ctx *ctx, in nft_synproxy_init()
267 static void nft_synproxy_destroy(const struct nft_ctx *ctx, in nft_synproxy_destroy()
299 static int nft_synproxy_obj_init(const struct nft_ctx *ctx, in nft_synproxy_obj_init()
308 static void nft_synproxy_obj_destroy(const struct nft_ctx *ctx, in nft_synproxy_obj_destroy()
Dnft_flow_offload.c144 static int nft_flow_offload_validate(const struct nft_ctx *ctx, in nft_flow_offload_validate()
158 static int nft_flow_offload_init(const struct nft_ctx *ctx, in nft_flow_offload_init()
180 static void nft_flow_offload_deactivate(const struct nft_ctx *ctx, in nft_flow_offload_deactivate()
189 static void nft_flow_offload_activate(const struct nft_ctx *ctx, in nft_flow_offload_activate()
197 static void nft_flow_offload_destroy(const struct nft_ctx *ctx, in nft_flow_offload_destroy()
Dnft_masq.c28 static int nft_masq_validate(const struct nft_ctx *ctx, in nft_masq_validate()
42 static int nft_masq_init(const struct nft_ctx *ctx, in nft_masq_init()
122 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy()
168 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy()
223 nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_inet_destroy()
Dnft_redir.c28 static int nft_redir_validate(const struct nft_ctx *ctx, in nft_redir_validate()
43 static int nft_redir_init(const struct nft_ctx *ctx, in nft_redir_init()
127 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy()
176 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy()
218 nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_inet_destroy()
Dnft_limit.c147 static int nft_limit_pkts_init(const struct nft_ctx *ctx, in nft_limit_pkts_init()
189 static int nft_limit_bytes_init(const struct nft_ctx *ctx, in nft_limit_bytes_init()
215 nft_limit_select_ops(const struct nft_ctx *ctx, in nft_limit_select_ops()
249 static int nft_limit_obj_pkts_init(const struct nft_ctx *ctx, in nft_limit_obj_pkts_init()
293 static int nft_limit_obj_bytes_init(const struct nft_ctx *ctx, in nft_limit_obj_bytes_init()
321 nft_limit_obj_select_ops(const struct nft_ctx *ctx, in nft_limit_obj_select_ops()
Dnf_tables_api.c84 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init()
105 static struct nft_trans *nft_trans_alloc_gfp(const struct nft_ctx *ctx, in nft_trans_alloc_gfp()
120 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc()
132 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
193 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add()
208 static int nft_deltable(struct nft_ctx *ctx) in nft_deltable()
220 static struct nft_trans *nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add()
235 static int nft_delchain(struct nft_ctx *ctx) in nft_delchain()
249 static void nft_rule_expr_activate(const struct nft_ctx *ctx, in nft_rule_expr_activate()
263 static void nft_rule_expr_deactivate(const struct nft_ctx *ctx, in nft_rule_expr_deactivate()
[all …]
Dnft_meta.c317 int nft_meta_get_init(const struct nft_ctx *ctx, in nft_meta_get_init()
389 static int nft_meta_get_validate(const struct nft_ctx *ctx, in nft_meta_get_validate()
421 int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate()
451 int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init()
522 void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy()
578 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops()
647 static int nft_secmark_obj_init(const struct nft_ctx *ctx, in nft_secmark_obj_init()
690 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
Dnft_counter.c82 static int nft_counter_obj_init(const struct nft_ctx *ctx, in nft_counter_obj_init()
96 static void nft_counter_obj_destroy(const struct nft_ctx *ctx, in nft_counter_obj_destroy()
210 static int nft_counter_init(const struct nft_ctx *ctx, in nft_counter_init()
219 static void nft_counter_destroy(const struct nft_ctx *ctx, in nft_counter_destroy()
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()
Dnft_queue.c78 static int nft_queue_init(const struct nft_ctx *ctx, in nft_queue_init()
107 static int nft_queue_sreg_init(const struct nft_ctx *ctx, in nft_queue_sreg_init()
178 nft_queue_select_ops(const struct nft_ctx *ctx, in nft_queue_select_ops()
Dnft_fwd_netdev.c41 static int nft_fwd_netdev_init(const struct nft_ctx *ctx, in nft_fwd_netdev_init()
143 static int nft_fwd_neigh_init(const struct nft_ctx *ctx, in nft_fwd_neigh_init()
212 nft_fwd_select_ops(const struct nft_ctx *ctx, in nft_fwd_select_ops()
Dnft_numgen.c53 static int nft_ng_inc_init(const struct nft_ctx *ctx, in nft_ng_inc_init()
125 static int nft_ng_random_init(const struct nft_ctx *ctx, in nft_ng_random_init()
175 nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_ng_select_ops()
Dnft_ct.c387 static int nft_ct_get_init(const struct nft_ctx *ctx, in nft_ct_get_init()
521 static void __nft_ct_set_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_set_destroy()
539 static int nft_ct_set_init(const struct nft_ctx *ctx, in nft_ct_set_init()
621 static void nft_ct_get_destroy(const struct nft_ctx *ctx, in nft_ct_get_destroy()
627 static void nft_ct_set_destroy(const struct nft_ctx *ctx, in nft_ct_set_destroy()
731 nft_ct_select_ops(const struct nft_ctx *ctx, in nft_ct_select_ops()
860 static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, in nft_ct_timeout_obj_init()
916 static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, in nft_ct_timeout_obj_destroy()
976 static int nft_ct_helper_obj_init(const struct nft_ctx *ctx, in nft_ct_helper_obj_init()
1049 static void nft_ct_helper_obj_destroy(const struct nft_ctx *ctx, in nft_ct_helper_obj_destroy()
[all …]
Dnft_dynset.c128 static int nft_dynset_init(const struct nft_ctx *ctx, in nft_dynset_init()
256 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate()
265 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate()
273 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
Dnft_hash.c69 static int nft_jhash_init(const struct nft_ctx *ctx, in nft_jhash_init()
116 static int nft_symhash_init(const struct nft_ctx *ctx, in nft_symhash_init()
207 nft_hash_select_ops(const struct nft_ctx *ctx, in nft_hash_select_ops()
Dnft_tunnel.c72 static int nft_tunnel_get_init(const struct nft_ctx *ctx, in nft_tunnel_get_init()
162 static int nft_tunnel_obj_ip_init(const struct nft_ctx *ctx, in nft_tunnel_obj_ip_init()
191 static int nft_tunnel_obj_ip6_init(const struct nft_ctx *ctx, in nft_tunnel_obj_ip6_init()
305 static int nft_tunnel_obj_opts_init(const struct nft_ctx *ctx, in nft_tunnel_obj_opts_init()
341 static int nft_tunnel_obj_init(const struct nft_ctx *ctx, in nft_tunnel_obj_init()
551 static void nft_tunnel_obj_destroy(const struct nft_ctx *ctx, in nft_tunnel_obj_destroy()

123