/openbmc/linux/net/netfilter/ |
H 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() 251 struct nft_ctx *pctx = (struct nft_ctx *)ctx; in nft_immediate_validate()
|
H 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()
|
H 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() 259 static int nft_limit_bytes_init(const struct nft_ctx *ctx, in nft_limit_bytes_init() 276 static void nft_limit_bytes_destroy(const struct nft_ctx *ctx, in nft_limit_bytes_destroy() 304 nft_limit_select_ops(const struct nft_ctx *ctx, in nft_limit_select_ops() 338 static int nft_limit_obj_pkts_init(const struct nft_ctx *ctx, in nft_limit_obj_pkts_init() 362 static void nft_limit_obj_pkts_destroy(const struct nft_ctx *ctx, in nft_limit_obj_pkts_destroy() 391 static int nft_limit_obj_bytes_init(const struct nft_ctx *ctx, in nft_limit_obj_bytes_init() 409 static void nft_limit_obj_bytes_destroy(const struct nft_ctx *ctx, in nft_limit_obj_bytes_destroy() [all …]
|
H 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()
|
H A D | nft_redir.c | 29 static int nft_redir_validate(const struct nft_ctx *ctx, in nft_redir_validate() 44 static int nft_redir_init(const struct nft_ctx *ctx, in nft_redir_init() 136 nft_redir_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv4_destroy() 164 nft_redir_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_ipv6_destroy() 193 nft_redir_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_redir_inet_destroy()
|
H A D | nft_masq.c | 29 static int nft_masq_validate(const struct nft_ctx *ctx, in nft_masq_validate() 43 static int nft_masq_init(const struct nft_ctx *ctx, in nft_masq_init() 133 nft_masq_ipv4_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv4_destroy() 161 nft_masq_ipv6_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_ipv6_destroy() 203 nft_masq_inet_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr) in nft_masq_inet_destroy()
|
H 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() 445 nft_match_set_mtchk_param(struct xt_mtchk_param *par, const struct nft_ctx *ctx, in nft_match_set_mtchk_param() 497 __nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_init() 525 nft_match_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_init() 532 nft_match_large_init(const struct nft_ctx *ctx, const struct nft_expr *expr, in nft_match_large_init() 550 __nft_match_destroy(const struct nft_ctx *ctx, const struct nft_expr *expr, in __nft_match_destroy() [all …]
|
H 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() 263 static int nft_synproxy_init(const struct nft_ctx *ctx, in nft_synproxy_init() 272 static void nft_synproxy_destroy(const struct nft_ctx *ctx, in nft_synproxy_destroy() 306 static int nft_synproxy_obj_init(const struct nft_ctx *ctx, in nft_synproxy_obj_init() 315 static void nft_synproxy_obj_destroy(const struct nft_ctx *ctx, in nft_synproxy_obj_destroy()
|
H 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() 602 int nft_meta_set_validate(const struct nft_ctx *ctx, in nft_meta_set_validate() 632 int nft_meta_set_init(const struct nft_ctx *ctx, in nft_meta_set_init() 704 void nft_meta_set_destroy(const struct nft_ctx *ctx, in nft_meta_set_destroy() 813 nft_meta_select_ops(const struct nft_ctx *ctx, in nft_meta_select_ops() 835 static int nft_meta_inner_init(const struct nft_ctx *ctx, in nft_meta_inner_init() 947 static int nft_secmark_obj_init(const struct nft_ctx *ctx, in nft_secmark_obj_init() [all …]
|
H 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()
|
H 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()
|
H A D | nft_queue.c | 71 static int nft_queue_validate(const struct nft_ctx *ctx, in nft_queue_validate() 103 static int nft_queue_init(const struct nft_ctx *ctx, in nft_queue_init() 132 static int nft_queue_sreg_init(const struct nft_ctx *ctx, in nft_queue_sreg_init() 209 nft_queue_select_ops(const struct nft_ctx *ctx, in nft_queue_select_ops()
|
H A D | nf_tables_api.c | 130 static void nft_ctx_init(struct nft_ctx *ctx, in nft_ctx_init() 151 static struct nft_trans *nft_trans_alloc_gfp(const struct nft_ctx *ctx, in nft_trans_alloc_gfp() 168 static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx, in nft_trans_alloc() 186 static void __nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set, in __nft_set_trans_bind() 211 static void nft_set_trans_bind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_bind() 216 static void nft_set_trans_unbind(const struct nft_ctx *ctx, struct nft_set *set) in nft_set_trans_unbind() 221 static void __nft_chain_trans_bind(const struct nft_ctx *ctx, in __nft_chain_trans_bind() 246 static void nft_chain_trans_bind(const struct nft_ctx *ctx, in nft_chain_trans_bind() 252 int nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_bind_chain() 272 void nf_tables_unbind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_unbind_chain() [all …]
|
H 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() 238 nft_fwd_select_ops(const struct nft_ctx *ctx, in nft_fwd_select_ops()
|
H 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()
|
H A D | nft_counter.c | 84 static int nft_counter_obj_init(const struct nft_ctx *ctx, in nft_counter_obj_init() 98 static void nft_counter_obj_destroy(const struct nft_ctx *ctx, in nft_counter_obj_destroy() 217 static int nft_counter_init(const struct nft_ctx *ctx, in nft_counter_init() 226 static void nft_counter_destroy(const struct nft_ctx *ctx, in nft_counter_destroy()
|
H A 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()
|
H A D | nft_ct.c | 380 static int nft_ct_get_init(const struct nft_ctx *ctx, in nft_ct_get_init() 517 static void __nft_ct_set_destroy(const struct nft_ctx *ctx, struct nft_ct *priv) in __nft_ct_set_destroy() 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() [all …]
|
H A 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() 339 static void nft_dynset_deactivate(const struct nft_ctx *ctx, in nft_dynset_deactivate() 348 static void nft_dynset_activate(const struct nft_ctx *ctx, in nft_dynset_activate() 356 static void nft_dynset_destroy(const struct nft_ctx *ctx, in nft_dynset_destroy()
|
H 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()
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_tables.h | 213 struct nft_ctx { struct 237 int nft_data_init(const struct nft_ctx *ctx, struct nft_data *data, argument 258 int nft_parse_register_store(const struct nft_ctx *ctx, 321 int (*fn)(const struct nft_ctx *ctx, 408 int nft_expr_inner_parse(const struct nft_ctx *ctx, const struct nlattr *nla, 411 void nft_expr_destroy(const struct nft_ctx *ctx, struct nft_expr *expr); 480 void (*walk)(const struct nft_ctx *ctx, 500 void (*destroy)(const struct nft_ctx *ctx, 666 void nf_tables_activate_set(const struct nft_ctx *ctx, struct nft_set *set); 667 void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set, [all …]
|
H 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,
|
H A D | nft_reject.h | 17 int nft_reject_validate(const struct nft_ctx *ctx, 21 int nft_reject_init(const struct nft_ctx *ctx,
|
H 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,
|
/openbmc/linux/net/bridge/netfilter/ |
H 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() 200 nft_meta_bridge_select_ops(const struct nft_ctx *ctx, in nft_meta_bridge_select_ops()
|