Home
last modified time | relevance | path

Searched refs:xt_net (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.6.21/net/netfilter/
Dxt_TPROXY.c89 return tproxy_tg4(xt_net(par), skb, tgi->laddr, tgi->lport, in tproxy_tg4_v0()
98 return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport, in tproxy_tg4_v1()
128 sk = nf_tproxy_get_sock_v6(xt_net(par), skb, thoff, tproto, in tproxy_tg6_v1()
141 xt_net(par), in tproxy_tg6_v1()
149 sk = nf_tproxy_get_sock_v6(xt_net(par), skb, thoff, in tproxy_tg6_v1()
Dxt_socket.c55 if (sk && !net_eq(xt_net(par), sock_net(sk))) in socket_match()
59 sk = nf_sk_lookup_slow_v4(xt_net(par), skb, xt_in(par)); in socket_match()
116 if (sk && !net_eq(xt_net(par), sock_net(sk))) in socket_mt6_v1_v2_v3()
120 sk = nf_sk_lookup_slow_v6(xt_net(par), skb, xt_in(par)); in socket_mt6_v1_v2_v3()
Dxt_cgroup.c106 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v0()
120 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v1()
138 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v2()
Dx_tables.c1218 struct xt_pernet *xt_net = net_generic(net, xt_pernet_id); in xt_find_table() local
1222 list_for_each_entry(t, &xt_net->tables[af], list) { in xt_find_table()
1237 struct xt_pernet *xt_net = net_generic(net, xt_pernet_id); in xt_find_table_lock() local
1243 list_for_each_entry(t, &xt_net->tables[af], list) in xt_find_table_lock()
1270 list_for_each_entry(t, &xt_net->tables[af], list) in xt_find_table_lock()
1455 struct xt_pernet *xt_net = net_generic(net, xt_pernet_id); in xt_register_table() local
1469 list_for_each_entry(t, &xt_net->tables[table->af], list) { in xt_register_table()
1488 list_add(&table->list, &xt_net->tables[table->af]); in xt_register_table()
1522 struct xt_pernet *xt_net; in xt_table_seq_start() local
1524 xt_net = net_generic(net, xt_pernet_id); in xt_table_seq_start()
[all …]
Dxt_TEE.c42 nf_dup_ipv4(xt_net(par), skb, xt_hooknum(par), &info->gw.in, oif); in tee_tg4()
54 nf_dup_ipv6(xt_net(par), skb, xt_hooknum(par), &info->gw.in6, oif); in tee_tg6()
Dxt_osf.c31 xt_out(p), p->matchinfo, xt_net(p), nf_osf_fingers); in xt_osf_match_packet()
Dxt_addrtype.c113 struct net *net = xt_net(par); in addrtype_mt_v0()
131 struct net *net = xt_net(par); in addrtype_mt_v1()
Dxt_nfacct.c28 overquota = nfnl_acct_overquota(xt_net(par), info->nfacct); in nfacct_mt()
Dxt_NFLOG.c24 struct net *net = xt_net(par); in nflog_tg()
Dxt_LOG.c32 struct net *net = xt_net(par); in log_tg()
Dxt_physdev.c62 physdev = nf_bridge_get_physindev(skb, xt_net(par)); in physdev_mt()
Dxt_connlimit.c32 struct net *net = xt_net(par); in connlimit_mt()
Dxt_ipvs.c52 struct netns_ipvs *ipvs = net_ipvs(xt_net(par)); in ipvs_mt()
Dxt_owner.c68 struct net *net = xt_net(par); in owner_mt()
Dxt_TCPMSS.c103 struct net *net = xt_net(par); in tcpmss_mangle_packet()
/linux-6.6.21/net/ipv4/netfilter/
Dipt_rpfilter.c81 flow.flowi4_uid = sock_net_uid(xt_net(par), NULL); in rpfilter_mt()
83 return rpfilter_lookup_reverse(xt_net(par), &flow, xt_in(par), info->flags) ^ invert; in rpfilter_mt()
Dipt_REJECT.c59 nf_send_reset(xt_net(par), par->state->sk, skb, hook); in reject_tg()
Dipt_SYNPROXY.c16 struct net *net = xt_net(par); in synproxy_tg4()
/linux-6.6.21/net/bridge/netfilter/
Debt_nflog.c27 struct net *net = xt_net(par); in ebt_nflog_tg()
Debt_log.c183 struct net *net = xt_net(par); in ebt_log_tg()
/linux-6.6.21/net/ipv6/netfilter/
Dip6t_REJECT.c38 struct net *net = xt_net(par); in reject_tg6()
Dip6t_SYNPROXY.c16 struct net *net = xt_net(par); in synproxy_tg6()
Dip6t_rpfilter.c105 return rpfilter_lookup_reverse6(xt_net(par), skb, xt_in(par), in rpfilter_mt()
/linux-6.6.21/net/netfilter/ipset/
Dip_set_hash_netiface.c180 const char *eiface = SRCDIR ? get_physindev_name(skb, xt_net(par)) : in hash_netiface4_kadt()
398 const char *eiface = SRCDIR ? get_physindev_name(skb, xt_net(par)) : in hash_netiface6_kadt()
/linux-6.6.21/include/linux/netfilter/
Dx_tables.h44 static inline struct net *xt_net(const struct xt_action_param *par) in xt_net() function

12