Home
last modified time | relevance | path

Searched refs:nft_net (Results 1 – 11 of 11) sorted by relevance

/linux/net/netfilter/
H A Dnf_tables_offload.c409 struct nftables_pernet *nft_net; in nft_indr_block_cleanup() local
415 nft_net = nft_pernet(net); in nft_indr_block_cleanup()
416 mutex_lock(&nft_net->commit_mutex); in nft_indr_block_cleanup()
420 mutex_unlock(&nft_net->commit_mutex); in nft_indr_block_cleanup()
519 struct nftables_pernet *nft_net = nft_pernet(net); in nft_flow_rule_offload_abort() local
522 list_for_each_entry_continue_reverse(trans, &nft_net->commit_list, list) { in nft_flow_rule_offload_abort()
568 struct nftables_pernet *nft_net = nft_pernet(net); in nft_flow_rule_offload_commit() local
573 list_for_each_entry(trans, &nft_net->commit_list, list) { in nft_flow_rule_offload_commit()
628 static struct nft_chain *__nft_offload_get_chain(const struct nftables_pernet *nft_net, in __nft_offload_get_chain() argument
636 list_for_each_entry(table, &nft_net->tables, list) { in __nft_offload_get_chain()
[all …]
H A Dnf_tables_api.c228 struct nftables_pernet *nft_net; in __nft_set_trans_bind() local
235 nft_net = nft_pernet(net); in __nft_set_trans_bind()
236 list_for_each_entry_reverse(trans, &nft_net->commit_list, list) { in __nft_set_trans_bind()
263 struct nftables_pernet *nft_net; in __nft_chain_trans_bind() local
270 nft_net = nft_pernet(net); in __nft_chain_trans_bind()
271 list_for_each_entry_reverse(trans, &nft_net->commit_list, list) { in __nft_chain_trans_bind()
497 static bool nft_trans_collapse_set_elem(struct nftables_pernet *nft_net, in nft_trans_collapse_set_elem() argument
526 &nft_net->commit_list); in nft_trans_collapse_set_elem()
536 list_add_tail(&new_trans->nft_trans.list, &nft_net->commit_list); in nft_trans_collapse_set_elem()
541 static bool nft_trans_try_collapse(struct nftables_pernet *nft_net, in nft_trans_try_collapse() argument
567 struct nftables_pernet *nft_net = nft_pernet(net); nft_trans_commit_list_add_tail() local
597 struct nftables_pernet *nft_net = nft_pernet(net); nft_trans_commit_list_add_elem() local
983 struct nftables_pernet *nft_net; nft_table_lookup() local
1010 struct nftables_pernet *nft_net; nft_table_lookup_byhandle() local
1073 struct nftables_pernet *nft_net; nft_request_module() local
1216 struct nftables_pernet *nft_net; nf_tables_table_notify() local
1250 struct nftables_pernet *nft_net; nf_tables_dump_tables() local
1409 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nft_table_pending_update() local
1574 struct nftables_pernet *nft_net = nft_pernet(info->net); nf_tables_newtable() local
1744 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nft_flush() local
1873 struct nftables_pernet *nft_net = nft_pernet(net); lockdep_commit_lock_is_held() local
2163 struct nftables_pernet *nft_net; nf_tables_chain_notify() local
2201 struct nftables_pernet *nft_net; nf_tables_dump_chains() local
2552 struct nftables_pernet *nft_net = nft_pernet(net); nft_chain_parse_hook() local
2901 struct nftables_pernet *nft_net; nf_tables_updchain() local
3034 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nf_tables_updchain() local
3093 struct nftables_pernet *nft_net = nft_pernet(net); nft_chain_lookup_byid() local
3110 struct nftables_pernet *nft_net = nft_pernet(info->net); nf_tables_newchain() local
3830 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nf_tables_rule_notify() local
3946 struct nftables_pernet *nft_net; nf_tables_dump_rules() local
4313 struct nftables_pernet *nft_net = nft_pernet(info->net); nf_tables_newrule() local
4552 struct nftables_pernet *nft_net = nft_pernet(net); nft_rule_lookup_byid() local
4676 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nft_select_set_ops() local
4811 struct nftables_pernet *nft_net = nft_pernet(net); nft_set_lookup_byid() local
5094 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nf_tables_set_notify() local
5130 struct nftables_pernet *nft_net; nf_tables_dump_sets() local
6295 struct nftables_pernet *nft_net; nf_tables_dump_set() local
6683 struct nftables_pernet *nft_net; nf_tables_setelem_notify() local
8483 struct nftables_pernet *nft_net; nf_tables_dump_obj() local
8723 struct nftables_pernet *nft_net = nft_pernet(net); __nft_obj_notify() local
9107 struct nftables_pernet *nft_net; nft_flowtable_update() local
9529 struct nftables_pernet *nft_net; nf_tables_dump_flowtable() local
9674 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nf_tables_flowtable_notify() local
9822 struct nftables_pernet *nft_net = nft_pernet(dev_net(dev)); __nf_tables_flowtable_event() local
9840 struct nftables_pernet *nft_net; nf_tables_flowtable_event() local
10118 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_validate() local
10261 struct nftables_pernet *nft_net = container_of(w, struct nftables_pernet, destroy_work); nf_tables_trans_destroy_work() local
10282 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_trans_destroy_flush_work() local
10365 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_commit_chain_prepare_cancel() local
10502 struct nftables_pernet *nft_net; nft_trans_gc_work_done() local
10694 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_module_autoload_cleanup() local
10707 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_commit_release() local
10741 struct nftables_pernet *nft_net = nft_pernet(net); nft_commit_notify() local
10865 nft_gc_seq_begin(struct nftables_pernet * nft_net) nft_gc_seq_begin() argument
10876 nft_gc_seq_end(struct nftables_pernet * nft_net,unsigned int gc_seq) nft_gc_seq_end() argument
10883 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_commit() local
11198 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_module_autoload() local
11266 struct nftables_pernet *nft_net = nft_pernet(net); __nf_tables_abort() local
11477 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_abort() local
11509 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_valid_genid() local
12001 struct nftables_pernet *nft_net = nft_pernet(net); __nft_release_hooks() local
12065 struct nftables_pernet *nft_net = nft_pernet(net); __nft_release_tables() local
12082 struct nftables_pernet *nft_net; nft_rcv_nl_event() local
12136 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_init_net() local
12156 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_pre_exit_net() local
12165 struct nftables_pernet *nft_net = nft_pernet(net); nf_tables_exit_net() local
[all...]
H A Dnft_chain_filter.c377 struct nftables_pernet *nft_net; in __nf_tables_netdev_event() local
381 nft_net = nft_pernet(dev_net(dev)); in __nf_tables_netdev_event()
382 list_for_each_entry(table, &nft_net->tables, list) { in __nf_tables_netdev_event()
407 struct nftables_pernet *nft_net; in nf_tables_netdev_event() local
415 nft_net = nft_pernet(dev_net(dev)); in nf_tables_netdev_event()
416 mutex_lock(&nft_net->commit_mutex); in nf_tables_netdev_event()
428 mutex_unlock(&nft_net->commit_mutex); in nf_tables_netdev_event()
H A Dnft_tproxy.c49 sk = nf_tproxy_get_sock_v4(nft_net(pkt), skb, iph->protocol, in nft_tproxy_eval_v4()
66 sk = nf_tproxy_handle_time_wait4(nft_net(pkt), skb, taddr, tport, sk); in nft_tproxy_eval_v4()
71 sk = nf_tproxy_get_sock_v4(nft_net(pkt), skb, iph->protocol, in nft_tproxy_eval_v4()
117 sk = nf_tproxy_get_sock_v6(nft_net(pkt), skb, thoff, l4proto, in nft_tproxy_eval_v6()
135 nft_net(pkt), in nft_tproxy_eval_v6()
143 sk = nf_tproxy_get_sock_v6(nft_net(pkt), skb, thoff, in nft_tproxy_eval_v6()
H A Dnft_synproxy.c52 struct net *net = nft_net(pkt); in nft_synproxy_eval_v4()
83 struct net *net = nft_net(pkt); in nft_synproxy_eval_v6()
H A Dnft_rt.c42 nf_route(nft_net(pkt), &dst, &fl, false, nft_pf(pkt)); in get_tcpmss()
H A Dnft_dynset.c176 struct nftables_pernet *nft_net = nft_pernet(ctx->net); in nft_dynset_init()
183 lockdep_assert_held(&nft_net->commit_mutex); in nft_dynset_init()
175 struct nftables_pernet *nft_net = nft_pernet(ctx->net); nft_dynset_init() local
H A Dnft_meta.c141 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_meta_get_eval_skugid()
176 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_meta_get_eval_cgroup()
312 dev = sdif ? dev_get_by_index_rcu(nft_net(pkt), sdif) : NULL; in nft_meta_get_eval_sdifname()
H A Dnft_lookup.c101 const struct net *net = nft_net(pkt); in nft_lookup_eval()
H A Dnf_flow_table_path.c300 nf_route(nft_net(pkt), &other_dst, &fl, false, nft_pf(pkt)); in nft_flow_route()
H A Dnft_ct.c262 ct = nf_ct_tmpl_alloc(nft_net(pkt), &zone, GFP_ATOMIC); in nft_ct_set_zone_eval()