| /Linux-v5.15/include/net/netfilter/ |
| D | nft_meta.h | 17 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,
|
| D | nf_tables.h | 177 struct nft_ctx { struct 195 int nft_data_init(const struct nft_ctx *ctx, argument 217 int nft_parse_register_store(const struct nft_ctx *ctx, 266 int (*fn)(const struct nft_ctx *ctx, 340 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr); 400 void (*walk)(const struct nft_ctx *ctx, 562 void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set, 565 int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set, 567 void nf_tables_destroy_set(const struct nft_ctx *ctx, struct nft_set *set); 731 struct nft_expr *nft_set_elem_expr_alloc(const struct nft_ctx *ctx, [all …]
|
| D | nft_reject.h | 17 int nft_reject_validate(const struct nft_ctx *ctx, 21 int nft_reject_init(const struct nft_ctx *ctx,
|
| D | nft_fib.h | 22 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.15/net/netfilter/ |
| D | nft_immediate.c | 32 static int nft_immediate_init(const struct nft_ctx *ctx, in nft_immediate_init() 81 static void nft_immediate_activate(const struct nft_ctx *ctx, in nft_immediate_activate() 89 static void nft_immediate_deactivate(const struct nft_ctx *ctx, in nft_immediate_deactivate() 101 static void nft_immediate_destroy(const struct nft_ctx *ctx, in nft_immediate_destroy() 107 struct nft_ctx chain_ctx; in nft_immediate_destroy() 148 static int nft_immediate_validate(const struct nft_ctx *ctx, in nft_immediate_validate() 153 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate()
|
| D | nft_objref.c | 25 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() 125 static int nft_objref_map_init(const struct nft_ctx *ctx, in nft_objref_map_init() 172 static void nft_objref_map_deactivate(const struct nft_ctx *ctx, in nft_objref_map_deactivate() 181 static void nft_objref_map_activate(const struct nft_ctx *ctx, in nft_objref_map_activate() 189 static void nft_objref_map_destroy(const struct nft_ctx *ctx, in nft_objref_map_destroy() 210 nft_objref_select_ops(const struct nft_ctx *ctx, in nft_objref_select_ops()
|
| D | nft_connlimit.c | 59 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()
|
| D | nft_lookup.c | 95 static int nft_lookup_init(const struct nft_ctx *ctx, in nft_lookup_init() 156 static void nft_lookup_deactivate(const struct nft_ctx *ctx, in nft_lookup_deactivate() 165 static void nft_lookup_activate(const struct nft_ctx *ctx, in nft_lookup_activate() 173 static void nft_lookup_destroy(const struct nft_ctx *ctx, in nft_lookup_destroy() 201 static int nft_lookup_validate_setelem(const struct nft_ctx *ctx, in nft_lookup_validate_setelem() 207 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_lookup_validate_setelem() 232 static int nft_lookup_validate(const struct nft_ctx *ctx, in nft_lookup_validate()
|
| D | nft_compat.c | 31 static int nft_compat_chain_validate_dependency(const struct nft_ctx *ctx, in nft_compat_chain_validate_dependency() 144 const struct nft_ctx *ctx, in nft_target_set_tgchk_param() 236 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init() 292 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy() 344 static int nft_target_validate(const struct nft_ctx *ctx, in nft_target_validate() 421 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, in nft_match_set_mtchk_param() 473 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init() 501 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init() 508 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_large_init() 526 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_destroy() [all …]
|
| D | nft_synproxy.c | 152 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()
|
| D | nft_masq.c | 28 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()
|
| D | nft_redir.c | 28 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()
|
| D | nft_limit.c | 147 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()
|
| D | nft_meta.c | 470 int nft_meta_get_init(const struct nft_ctx *ctx, in nft_meta_get_init() 543 static int nft_meta_get_validate_sdif(const struct nft_ctx *ctx) in nft_meta_get_validate_sdif() 561 static int nft_meta_get_validate_xfrm(const struct nft_ctx *ctx) in nft_meta_get_validate_xfrm() 587 static int nft_meta_get_validate(const struct nft_ctx *ctx, in nft_meta_get_validate() 606 int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate() 636 int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init() 706 void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy() 770 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops() 839 static int nft_secmark_obj_init(const struct nft_ctx *ctx, in nft_secmark_obj_init() 882 static void nft_secmark_obj_destroy(const struct nft_ctx *ctx, struct nft_object *obj) in nft_secmark_obj_destroy()
|
| D | nft_fwd_netdev.c | 44 static int nft_fwd_netdev_init(const struct nft_ctx *ctx, in nft_fwd_netdev_init() 147 static int nft_fwd_neigh_init(const struct nft_ctx *ctx, in nft_fwd_neigh_init() 197 static int nft_fwd_validate(const struct nft_ctx *ctx, in nft_fwd_validate() 225 nft_fwd_select_ops(const struct nft_ctx *ctx, in nft_fwd_select_ops()
|
| D | nf_tables_api.c | 126 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init() 147 static struct nft_trans *nft_trans_alloc_gfp(const struct nft_ctx *ctx, in nft_trans_alloc_gfp() 162 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc() 174 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind() 285 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add() 300 static int nft_deltable(struct nft_ctx *ctx) in nft_deltable() 312 static struct nft_trans *nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add() 333 static int nft_delchain(struct nft_ctx *ctx) in nft_delchain() 347 static void nft_rule_expr_activate(const struct nft_ctx *ctx, in nft_rule_expr_activate() 361 static void nft_rule_expr_deactivate(const struct nft_ctx *ctx, in nft_rule_expr_deactivate() [all …]
|
| D | nft_counter.c | 83 static int nft_counter_obj_init(const struct nft_ctx *ctx, in nft_counter_obj_init() 97 static void nft_counter_obj_destroy(const struct nft_ctx *ctx, in nft_counter_obj_destroy() 211 static int nft_counter_init(const struct nft_ctx *ctx, in nft_counter_init() 220 static void nft_counter_destroy(const struct nft_ctx *ctx, in nft_counter_destroy()
|
| D | nft_queue.c | 78 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()
|
| D | nft_reject.c | 26 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()
|
| D | nft_numgen.c | 53 static int nft_ng_inc_init(const struct nft_ctx *ctx, in nft_ng_inc_init() 124 static int nft_ng_random_init(const struct nft_ctx *ctx, in nft_ng_random_init() 172 nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_ng_select_ops()
|
| D | nft_ct.c | 386 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 …]
|
| D | nft_dynset.c | 125 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, in nft_dynset_expr_alloc() 160 static int nft_dynset_init(const struct nft_ctx *ctx, in nft_dynset_init() 340 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate() 349 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate() 357 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
|
| D | nft_hash.c | 69 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()
|
| D | nft_flow_offload.c | 348 static int nft_flow_offload_validate(const struct nft_ctx *ctx, in nft_flow_offload_validate() 362 static int nft_flow_offload_init(const struct nft_ctx *ctx, in nft_flow_offload_init() 384 static void nft_flow_offload_deactivate(const struct nft_ctx *ctx, in nft_flow_offload_deactivate() 393 static void nft_flow_offload_activate(const struct nft_ctx *ctx, in nft_flow_offload_activate() 401 static void nft_flow_offload_destroy(const struct nft_ctx *ctx, in nft_flow_offload_destroy()
|
| D | nft_fib.c | 28 int nft_fib_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_validate() 64 int nft_fib_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_fib_init()
|