| /Linux-v5.10/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 | 166 struct nft_ctx { struct 184 int nft_data_init(const struct nft_ctx *ctx, argument 207 int nft_validate_register_store(const struct nft_ctx *ctx, 256 int (*fn)(const struct nft_ctx *ctx, 365 void (*walk)(const struct nft_ctx *ctx, 505 void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set, 508 int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set, 510 void nf_tables_destroy_set(const struct nft_ctx *ctx, struct nft_set *set); 674 struct nft_expr *nft_set_elem_expr_alloc(const struct nft_ctx *ctx, 757 const struct nft_expr_ops *(*select_ops)(const struct nft_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.10/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_lookup.c | 60 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()
|
| 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() 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()
|
| 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_compat.c | 30 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 …]
|
| 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_flow_offload.c | 147 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()
|
| 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() 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()
|
| 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() 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()
|
| 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() 544 static int nft_meta_get_validate_sdif(const struct nft_ctx *ctx) in nft_meta_get_validate_sdif() 562 static int nft_meta_get_validate_xfrm(const struct nft_ctx *ctx) in nft_meta_get_validate_xfrm() 588 static int nft_meta_get_validate(const struct nft_ctx *ctx, in nft_meta_get_validate() 607 int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate() 637 int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init() 708 void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy() 772 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops() 841 static int nft_secmark_obj_init(const struct nft_ctx *ctx, in nft_secmark_obj_init() 884 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 | 87 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init() 108 static struct nft_trans *nft_trans_alloc_gfp(const struct nft_ctx *ctx, in nft_trans_alloc_gfp() 123 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc() 135 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind() 237 static int nft_trans_table_add(struct nft_ctx *ctx, int msg_type) in nft_trans_table_add() 252 static int nft_deltable(struct nft_ctx *ctx) in nft_deltable() 264 static struct nft_trans *nft_trans_chain_add(struct nft_ctx *ctx, int msg_type) in nft_trans_chain_add() 285 static int nft_delchain(struct nft_ctx *ctx) in nft_delchain() 299 static void nft_rule_expr_activate(const struct nft_ctx *ctx, in nft_rule_expr_activate() 313 static void nft_rule_expr_deactivate(const struct nft_ctx *ctx, in nft_rule_expr_deactivate() [all …]
|
| D | nft_counter.c | 82 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()
|
| 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_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_numgen.c | 53 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()
|
| D | nft_dynset.c | 105 static int nft_dynset_init(const struct nft_ctx *ctx, in nft_dynset_init() 229 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate() 238 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate() 246 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
|
| D | nft_ct.c | 385 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() 537 static int nft_ct_set_init(const struct nft_ctx *ctx, in nft_ct_set_init() 619 static void nft_ct_get_destroy(const struct nft_ctx *ctx, in nft_ct_get_destroy() 625 static void nft_ct_set_destroy(const struct nft_ctx *ctx, in nft_ct_set_destroy() 729 nft_ct_select_ops(const struct nft_ctx *ctx, in nft_ct_select_ops() 858 static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, in nft_ct_timeout_obj_init() 914 static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, in nft_ct_timeout_obj_destroy() 974 static int nft_ct_helper_obj_init(const struct nft_ctx *ctx, in nft_ct_helper_obj_init() 1047 static void nft_ct_helper_obj_destroy(const struct nft_ctx *ctx, in nft_ct_helper_obj_destroy() [all …]
|
| 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() 207 nft_hash_select_ops(const struct nft_ctx *ctx, in nft_hash_select_ops()
|
| 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()
|