Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/include/net/netfilter/
H A Dnf_tables.h166 struct nft_ctx { struct
190 int nft_data_init(const struct nft_ctx *ctx, struct nft_data *data, argument
212 int nft_parse_register_store(const struct nft_ctx *ctx,
261 int (*fn)(const struct nft_ctx *ctx,
370 void (*walk)(const struct nft_ctx *ctx,
510 void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set,
513 int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set,
515 void nf_tables_destroy_set(const struct nft_ctx *ctx, struct nft_set *set);
679 struct nft_expr *nft_set_elem_expr_alloc(const struct nft_ctx *ctx,
762 const struct nft_expr_ops *(*select_ops)(const struct nft_ctx *,
[all …]
H A 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,
H A Dnft_reject.h17 int nft_reject_validate(const struct nft_ctx *ctx,
21 int nft_reject_init(const struct nft_ctx *ctx,
H A 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,
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnft_immediate.c46 static int nft_immediate_init(const struct nft_ctx *ctx, in nft_immediate_init()
97 static void nft_immediate_activate(const struct nft_ctx *ctx, in nft_immediate_activate()
105 static void nft_immediate_deactivate(const struct nft_ctx *ctx, in nft_immediate_deactivate()
117 static void nft_immediate_destroy(const struct nft_ctx *ctx, in nft_immediate_destroy()
123 struct nft_ctx chain_ctx; in nft_immediate_destroy()
164 static int nft_immediate_validate(const struct nft_ctx *ctx, in nft_immediate_validate()
169 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate()
H A Dnft_lookup.c60 static int nft_lookup_init(const struct nft_ctx *ctx, in nft_lookup_init()
121 static void nft_lookup_deactivate(const struct nft_ctx *ctx, in nft_lookup_deactivate()
130 static void nft_lookup_activate(const struct nft_ctx *ctx, in nft_lookup_activate()
138 static void nft_lookup_destroy(const struct nft_ctx *ctx, in nft_lookup_destroy()
166 static int nft_lookup_validate_setelem(const struct nft_ctx *ctx, in nft_lookup_validate_setelem()
172 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_lookup_validate_setelem()
197 static int nft_lookup_validate(const struct nft_ctx *ctx, in nft_lookup_validate()
H A 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()
H A 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()
H A 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()
228 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init()
270 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy()
322 static int nft_target_validate(const struct nft_ctx *ctx, in nft_target_validate()
398 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, in nft_match_set_mtchk_param()
450 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init()
478 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init()
485 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_large_init()
503 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_destroy()
[all …]
H A Dnft_synproxy.c152 static int nft_synproxy_do_init(const struct nft_ctx *ctx, in nft_synproxy_do_init()
208 static void nft_synproxy_do_destroy(const struct nft_ctx *ctx) in nft_synproxy_do_destroy()
252 static int nft_synproxy_validate(const struct nft_ctx *ctx, in nft_synproxy_validate()
260 static int nft_synproxy_init(const struct nft_ctx *ctx, in nft_synproxy_init()
269 static void nft_synproxy_destroy(const struct nft_ctx *ctx, in nft_synproxy_destroy()
301 static int nft_synproxy_obj_init(const struct nft_ctx *ctx, in nft_synproxy_obj_init()
310 static void nft_synproxy_obj_destroy(const struct nft_ctx *ctx, in nft_synproxy_obj_destroy()
H A Dnft_meta.c462 int nft_meta_get_init(const struct nft_ctx *ctx, in nft_meta_get_init()
534 static int nft_meta_get_validate_sdif(const struct nft_ctx *ctx) in nft_meta_get_validate_sdif()
552 static int nft_meta_get_validate_xfrm(const struct nft_ctx *ctx) in nft_meta_get_validate_xfrm()
578 static int nft_meta_get_validate(const struct nft_ctx *ctx, in nft_meta_get_validate()
597 int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate()
627 int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init()
697 void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy()
761 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops()
830 static int nft_secmark_obj_init(const struct nft_ctx *ctx, in nft_secmark_obj_init()
873 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
H A Dnft_flow_offload.c147 static int nft_flow_offload_validate(const struct nft_ctx *ctx, in nft_flow_offload_validate()
161 static int nft_flow_offload_init(const struct nft_ctx *ctx, in nft_flow_offload_init()
183 static void nft_flow_offload_deactivate(const struct nft_ctx *ctx, in nft_flow_offload_deactivate()
192 static void nft_flow_offload_activate(const struct nft_ctx *ctx, in nft_flow_offload_activate()
200 static void nft_flow_offload_destroy(const struct nft_ctx *ctx, in nft_flow_offload_destroy()
H A 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()
118 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy()
164 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy()
219 nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_inet_destroy()
H A 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()
123 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy()
172 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy()
214 nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_inet_destroy()
H A 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()
H A Dnf_tables_api.c122 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init()
143 static struct nft_trans *nft_trans_alloc_gfp(const struct nft_ctx *ctx, in nft_trans_alloc_gfp()
159 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc()
171 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind()
273 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add()
288 static int nft_deltable(struct nft_ctx *ctx) in nft_deltable()
300 static struct nft_trans *nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add()
321 static int nft_delchain(struct nft_ctx *ctx) in nft_delchain()
335 static void nft_rule_expr_activate(const struct nft_ctx *ctx, in nft_rule_expr_activate()
349 static void nft_rule_expr_deactivate(const struct nft_ctx *ctx, in nft_rule_expr_deactivate()
[all …]
H A Dnft_fwd_netdev.c44 static int nft_fwd_netdev_init(const struct nft_ctx *ctx, in nft_fwd_netdev_init()
152 static int nft_fwd_neigh_init(const struct nft_ctx *ctx, in nft_fwd_neigh_init()
202 static int nft_fwd_validate(const struct nft_ctx *ctx, in nft_fwd_validate()
231 nft_fwd_select_ops(const struct nft_ctx *ctx, in nft_fwd_select_ops()
H A 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()
H A Dnft_ct.c386 static int nft_ct_get_init(const struct nft_ctx *ctx, in nft_ct_get_init()
519 static void __nft_ct_set_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_set_destroy()
540 static int nft_ct_set_init(const struct nft_ctx *ctx, in nft_ct_set_init()
625 static void nft_ct_get_destroy(const struct nft_ctx *ctx, in nft_ct_get_destroy()
631 static void nft_ct_set_destroy(const struct nft_ctx *ctx, in nft_ct_set_destroy()
735 nft_ct_select_ops(const struct nft_ctx *ctx, in nft_ct_select_ops()
864 static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, in nft_ct_timeout_obj_init()
920 static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, in nft_ct_timeout_obj_destroy()
980 static int nft_ct_helper_obj_init(const struct nft_ctx *ctx, in nft_ct_helper_obj_init()
1053 static void nft_ct_helper_obj_destroy(const struct nft_ctx *ctx, in nft_ct_helper_obj_destroy()
[all …]
H A 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()
H A Dnft_dynset.c105 static int nft_dynset_init(const struct nft_ctx *ctx, in nft_dynset_init()
222 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate()
231 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate()
239 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
H A Dnft_numgen.c52 static int nft_ng_inc_init(const struct nft_ctx *ctx, in nft_ng_inc_init()
120 static int nft_ng_random_init(const struct nft_ctx *ctx, in nft_ng_random_init()
166 nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_ng_select_ops()
H A Dnft_reject.c26 int nft_reject_validate(const struct nft_ctx *ctx, in nft_reject_validate()
38 int nft_reject_init(const struct nft_ctx *ctx, in nft_reject_init()
H A 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()
206 nft_hash_select_ops(const struct nft_ctx *ctx, in nft_hash_select_ops()
H A Dnft_tunnel.c73 static int nft_tunnel_get_init(const struct nft_ctx *ctx, in nft_tunnel_get_init()
163 static int nft_tunnel_obj_ip_init(const struct nft_ctx *ctx, in nft_tunnel_obj_ip_init()
192 static int nft_tunnel_obj_ip6_init(const struct nft_ctx *ctx, in nft_tunnel_obj_ip6_init()
354 static int nft_tunnel_obj_opts_init(const struct nft_ctx *ctx, in nft_tunnel_obj_opts_init()
413 static int nft_tunnel_obj_init(const struct nft_ctx *ctx, in nft_tunnel_obj_init()
667 static void nft_tunnel_obj_destroy(const struct nft_ctx *ctx, in nft_tunnel_obj_destroy()

123