| /linux/include/net/netfilter/ |
| A D | nf_tables.h | 214 struct nft_ctx { struct 334 int (*fn)(const struct nft_ctx *ctx, 491 void (*walk)(const struct nft_ctx *ctx, 508 void (*destroy)(const struct nft_ctx *ctx, 951 int (*init)(const struct nft_ctx *ctx, 954 void (*activate)(const struct nft_ctx *ctx, 956 void (*deactivate)(const struct nft_ctx *ctx, 959 void (*destroy)(const struct nft_ctx *ctx, 966 int (*validate)(const struct nft_ctx *ctx, 1424 int (*init)(const struct nft_ctx *ctx, [all …]
|
| A D | nft_meta.h | 18 int nft_meta_get_init(const struct nft_ctx *ctx, 22 int nft_meta_set_init(const struct nft_ctx *ctx, 40 void nft_meta_set_destroy(const struct nft_ctx *ctx, 43 int nft_meta_set_validate(const struct nft_ctx *ctx,
|
| A D | nft_reject.h | 17 int nft_reject_validate(const struct nft_ctx *ctx, 20 int nft_reject_init(const struct nft_ctx *ctx,
|
| A 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/net/netfilter/ |
| A D | nft_immediate.c | 46 static int nft_immediate_init(const struct nft_ctx *ctx, in nft_immediate_init() 95 static void nft_immediate_activate(const struct nft_ctx *ctx, in nft_immediate_activate() 100 struct nft_ctx chain_ctx; in nft_immediate_activate() 128 static void nft_immediate_chain_deactivate(const struct nft_ctx *ctx, in nft_immediate_chain_deactivate() 132 struct nft_ctx chain_ctx; in nft_immediate_chain_deactivate() 142 static void nft_immediate_deactivate(const struct nft_ctx *ctx, in nft_immediate_deactivate() 186 static void nft_immediate_destroy(const struct nft_ctx *ctx, in nft_immediate_destroy() 192 struct nft_ctx chain_ctx; in nft_immediate_destroy() 246 static int nft_immediate_validate(const struct nft_ctx *ctx, in nft_immediate_validate() 250 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate()
|
| A D | nft_objref.c | 25 static int nft_objref_init(const struct nft_ctx *ctx, in nft_objref_init() 68 static void nft_objref_deactivate(const struct nft_ctx *ctx, in nft_objref_deactivate() 80 static void nft_objref_activate(const struct nft_ctx *ctx, in nft_objref_activate() 128 static int nft_objref_map_init(const struct nft_ctx *ctx, in nft_objref_map_init() 176 static void nft_objref_map_deactivate(const struct nft_ctx *ctx, in nft_objref_map_deactivate() 185 static void nft_objref_map_activate(const struct nft_ctx *ctx, in nft_objref_map_activate() 193 static void nft_objref_map_destroy(const struct nft_ctx *ctx, in nft_objref_map_destroy() 214 nft_objref_select_ops(const struct nft_ctx *ctx, in nft_objref_select_ops()
|
| A D | nft_limit.c | 146 static void nft_limit_destroy(const struct nft_ctx *ctx, in nft_limit_destroy() 195 static int nft_limit_pkts_init(const struct nft_ctx *ctx, in nft_limit_pkts_init() 218 static void nft_limit_pkts_destroy(const struct nft_ctx *ctx, in nft_limit_pkts_destroy() 260 static int nft_limit_bytes_init(const struct nft_ctx *ctx, in nft_limit_bytes_init() 277 static void nft_limit_bytes_destroy(const struct nft_ctx *ctx, in nft_limit_bytes_destroy() 306 nft_limit_select_ops(const struct nft_ctx *ctx, in nft_limit_select_ops() 340 static int nft_limit_obj_pkts_init(const struct nft_ctx *ctx, in nft_limit_obj_pkts_init() 364 static void nft_limit_obj_pkts_destroy(const struct nft_ctx *ctx, in nft_limit_obj_pkts_destroy() 393 static int nft_limit_obj_bytes_init(const struct nft_ctx *ctx, in nft_limit_obj_bytes_init() 411 static void nft_limit_obj_bytes_destroy(const struct nft_ctx *ctx, in nft_limit_obj_bytes_destroy() [all …]
|
| A D | nft_connlimit.c | 59 static int nft_connlimit_do_init(const struct nft_ctx *ctx, in nft_connlimit_do_init() 99 static void nft_connlimit_do_destroy(const struct nft_ctx *ctx, in nft_connlimit_do_destroy() 131 static int nft_connlimit_obj_init(const struct nft_ctx *ctx, in nft_connlimit_obj_init() 140 static void nft_connlimit_obj_destroy(const struct nft_ctx *ctx, in nft_connlimit_obj_destroy() 196 static int nft_connlimit_init(const struct nft_ctx *ctx, in nft_connlimit_init() 205 static void nft_connlimit_destroy(const struct nft_ctx *ctx, in nft_connlimit_destroy() 229 static void nft_connlimit_destroy_clone(const struct nft_ctx *ctx, in nft_connlimit_destroy_clone()
|
| A D | nft_masq.c | 29 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() 132 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy() 160 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy() 202 nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_inet_destroy()
|
| A D | nft_redir.c | 29 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() 135 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy() 163 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy() 192 nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_inet_destroy()
|
| A D | nft_synproxy.c | 152 static int nft_synproxy_do_init(const struct nft_ctx *ctx, in nft_synproxy_do_init() 207 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() 262 static int nft_synproxy_init(const struct nft_ctx *ctx, in nft_synproxy_init() 271 static void nft_synproxy_destroy(const struct nft_ctx *ctx, in nft_synproxy_destroy() 305 static int nft_synproxy_obj_init(const struct nft_ctx *ctx, in nft_synproxy_obj_init() 314 static void nft_synproxy_obj_destroy(const struct nft_ctx *ctx, in nft_synproxy_obj_destroy()
|
| A 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() 243 nft_target_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_target_init() 299 nft_target_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_target_destroy() 352 static int nft_target_validate(const struct nft_ctx *ctx, in nft_target_validate() 496 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init() 524 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init() 567 nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_match_destroy() 612 static int nft_match_validate(const struct nft_ctx *ctx, in nft_match_validate() 783 nft_match_select_ops(const struct nft_ctx *ctx, in nft_match_select_ops() [all …]
|
| A D | nft_meta.c | 466 int nft_meta_get_init(const struct nft_ctx *ctx, in nft_meta_get_init() 539 static int nft_meta_get_validate_sdif(const struct nft_ctx *ctx) in nft_meta_get_validate_sdif() 557 static int nft_meta_get_validate_xfrm(const struct nft_ctx *ctx) in nft_meta_get_validate_xfrm() 583 static int nft_meta_get_validate(const struct nft_ctx *ctx, in nft_meta_get_validate() 601 int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate() 630 int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init() 702 void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy() 811 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops() 833 static int nft_meta_inner_init(const struct nft_ctx *ctx, in nft_meta_inner_init() 945 static int nft_secmark_obj_init(const struct nft_ctx *ctx, in nft_secmark_obj_init() [all …]
|
| A D | nft_lookup.c | 97 static int nft_lookup_init(const struct nft_ctx *ctx, in nft_lookup_init() 162 static void nft_lookup_deactivate(const struct nft_ctx *ctx, in nft_lookup_deactivate() 171 static void nft_lookup_activate(const struct nft_ctx *ctx, in nft_lookup_activate() 179 static void nft_lookup_destroy(const struct nft_ctx *ctx, in nft_lookup_destroy() 208 static int nft_lookup_validate(const struct nft_ctx *ctx, in nft_lookup_validate()
|
| A D | nft_quota.c | 104 static void nft_quota_do_destroy(const struct nft_ctx *ctx, in nft_quota_do_destroy() 110 static int nft_quota_obj_init(const struct nft_ctx *ctx, in nft_quota_obj_init() 175 static void nft_quota_obj_destroy(const struct nft_ctx *ctx, in nft_quota_obj_destroy() 211 static int nft_quota_init(const struct nft_ctx *ctx, in nft_quota_init() 228 static void nft_quota_destroy(const struct nft_ctx *ctx, in nft_quota_destroy()
|
| A D | nft_queue.c | 71 static int nft_queue_validate(const struct nft_ctx *ctx, in nft_queue_validate() 102 static int nft_queue_init(const struct nft_ctx *ctx, in nft_queue_init() 131 static int nft_queue_sreg_init(const struct nft_ctx *ctx, in nft_queue_sreg_init() 208 nft_queue_select_ops(const struct nft_ctx *ctx, in nft_queue_select_ops()
|
| A D | nf_tables_api.c | 1439 struct nft_ctx ctx; in nf_tables_newtable() 1637 struct nft_ctx ctx; in nf_tables_deltable() 2853 struct nft_ctx ctx; in nf_tables_newchain() 3005 struct nft_ctx ctx; in nf_tables_delchain() 3949 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_setelem_validate() 4024 struct nft_ctx ctx; in nf_tables_newrule() 4271 struct nft_ctx ctx; in nf_tables_delrule() 4862 struct nft_ctx ctx; in nf_tables_getset() 5083 struct nft_ctx ctx; in nf_tables_newset() 5415 struct nft_ctx ctx; in nf_tables_delset() [all …]
|
| A D | nft_fwd_netdev.c | 46 static int nft_fwd_netdev_init(const struct nft_ctx *ctx, in nft_fwd_netdev_init() 155 static int nft_fwd_neigh_init(const struct nft_ctx *ctx, in nft_fwd_neigh_init() 206 static int nft_fwd_validate(const struct nft_ctx *ctx, in nft_fwd_validate() 237 nft_fwd_select_ops(const struct nft_ctx *ctx, in nft_fwd_select_ops()
|
| A D | nft_numgen.c | 52 static int nft_ng_inc_init(const struct nft_ctx *ctx, in nft_ng_inc_init() 124 static void nft_ng_inc_destroy(const struct nft_ctx *ctx, in nft_ng_inc_destroy() 152 static int nft_ng_random_init(const struct nft_ctx *ctx, in nft_ng_random_init() 212 nft_ng_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) in nft_ng_select_ops()
|
| A D | nft_counter.c | 87 static int nft_counter_obj_init(const struct nft_ctx *ctx, in nft_counter_obj_init() 101 static void nft_counter_obj_destroy(const struct nft_ctx *ctx, in nft_counter_obj_destroy() 221 static int nft_counter_init(const struct nft_ctx *ctx, in nft_counter_init() 230 static void nft_counter_destroy(const struct nft_ctx *ctx, in nft_counter_destroy()
|
| A D | nft_reject.c | 26 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()
|
| A D | nft_ct.c | 380 static int nft_ct_get_init(const struct nft_ctx *ctx, in nft_ct_get_init() 538 static int nft_ct_set_init(const struct nft_ctx *ctx, in nft_ct_set_init() 624 static void nft_ct_get_destroy(const struct nft_ctx *ctx, in nft_ct_get_destroy() 630 static void nft_ct_set_destroy(const struct nft_ctx *ctx, in nft_ct_set_destroy() 792 nft_ct_select_ops(const struct nft_ctx *ctx, in nft_ct_select_ops() 935 static int nft_ct_timeout_obj_init(const struct nft_ctx *ctx, in nft_ct_timeout_obj_init() 991 static void nft_ct_timeout_obj_destroy(const struct nft_ctx *ctx, in nft_ct_timeout_obj_destroy() 1051 static int nft_ct_helper_obj_init(const struct nft_ctx *ctx, in nft_ct_helper_obj_init() 1124 static void nft_ct_helper_obj_destroy(const struct nft_ctx *ctx, in nft_ct_helper_obj_destroy() 1240 static int nft_ct_expect_obj_init(const struct nft_ctx *ctx, in nft_ct_expect_obj_init() [all …]
|
| A D | nft_dynset.c | 127 nft_dynset_expr_alloc(const struct nft_ctx *ctx, const struct nft_set *set, in nft_dynset_expr_alloc() 162 static int nft_dynset_init(const struct nft_ctx *ctx, in nft_dynset_init() 338 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate() 347 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate() 355 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
|
| A D | nft_last.c | 25 static int nft_last_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_last_init() 97 static void nft_last_destroy(const struct nft_ctx *ctx, in nft_last_destroy()
|
| /linux/net/bridge/netfilter/ |
| A D | nft_meta_bridge.c | 72 static int nft_meta_bridge_get_init(const struct nft_ctx *ctx, in nft_meta_bridge_get_init() 127 static int nft_meta_bridge_set_init(const struct nft_ctx *ctx, in nft_meta_bridge_set_init() 170 static int nft_meta_bridge_set_validate(const struct nft_ctx *ctx, in nft_meta_bridge_set_validate() 199 nft_meta_bridge_select_ops(const struct nft_ctx *ctx, in nft_meta_bridge_select_ops()
|