Home
last modified time | relevance | path

Searched refs:net_eq (Results 1 – 25 of 157) sorted by relevance

1234567

/linux-6.6.21/net/unix/
Dsysctl_net_unix.c29 if (net_eq(net, &init_net)) { in unix_sysctl_register()
47 if (!net_eq(net, &init_net)) in unix_sysctl_register()
59 if (!net_eq(net, &init_net)) in unix_sysctl_unregister()
/linux-6.6.21/net/smc/
Dsmc_sysctl.c79 if (!net_eq(net, &init_net)) { in smc_sysctl_net_init()
104 if (!net_eq(net, &init_net)) in smc_sysctl_net_init()
116 if (!net_eq(net, &init_net)) in smc_sysctl_net_exit()
/linux-6.6.21/net/phonet/
Dsocket.c79 if (!net_eq(sock_net(sknode), net)) in pn_find_sock_by_sa()
116 if (!net_eq(sock_net(sknode), net)) in pn_deliver_sock_broadcast()
526 if (!net_eq(net, sock_net(sknode))) in pn_sock_get_idx()
543 while (sk && !net_eq(net, sock_net(sk))); in pn_sock_get_next()
616 if (!net_eq(net, &init_net)) in pn_find_sock_by_res()
633 if (!net_eq(sock_net(sk), &init_net)) in pn_sock_bind_res()
697 if (!net_eq(net, &init_net)) in pn_res_get_idx()
715 BUG_ON(!net_eq(net, &init_net)); in pn_res_get_next()
/linux-6.6.21/net/netfilter/
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()
Dxt_socket.c55 if (sk && !net_eq(xt_net(par), sock_net(sk))) in socket_match()
116 if (sk && !net_eq(xt_net(par), sock_net(sk))) in socket_mt6_v1_v2_v3()
Dnf_conntrack_expect.c115 net_eq(net, nf_ct_net(i->master)) && in nf_ct_exp_equal()
263 net_eq(nf_ct_net(a->master), nf_ct_net(b->master)) && in expect_clash()
272 net_eq(nf_ct_net(a->master), nf_ct_net(b->master)) && in expect_matches()
550 if (!net_eq(nf_ct_exp_net(exp), net)) in nf_ct_expect_iterate_net()
Dnf_conntrack_broadcast.c32 if (skb->sk == NULL || !net_eq(nf_ct_net(ct), sock_net(skb->sk))) in nf_conntrack_broadcast_help()
Dnf_log.c463 if (!net_eq(net, &init_net)) { in netfilter_log_sysctl_init()
501 if (!net_eq(net, &init_net)) in netfilter_log_sysctl_init()
516 if (!net_eq(net, &init_net)) in netfilter_log_sysctl_exit()
/linux-6.6.21/net/mptcp/
Dtoken.c260 !net_eq(sock_net(sk), net)) in mptcp_token_get_sock()
267 !net_eq(sock_net(sk), net)) { in mptcp_token_get_sock()
316 if (!net_eq(sock_net(sk), net)) in mptcp_token_iter_next()
325 if (!net_eq(sock_net(sk), net)) { in mptcp_token_iter_next()
Dctrl.c153 if (!net_eq(net, &init_net)) { in mptcp_pernet_new_table()
177 if (!net_eq(net, &init_net)) in mptcp_pernet_new_table()
/linux-6.6.21/net/ipv4/
Dxfrm4_policy.c164 if (!net_eq(net, &init_net)) { in xfrm4_net_sysctl_init()
181 if (!net_eq(net, &init_net)) in xfrm4_net_sysctl_init()
196 if (!net_eq(net, &init_net)) in xfrm4_net_sysctl_exit()
Dtcp_metrics.c242 net_eq(tm_net(tm), net)) in __tcp_get_metrics()
284 net_eq(tm_net(tm), net)) in __tcp_get_metrics_req()
777 if (!net_eq(tm_net(tm), net)) in tcp_metrics_nl_dump()
873 net_eq(tm_net(tm), net)) { in tcp_metrics_nl_cmd_get()
907 match = net ? net_eq(tm_net(tm), net) : in tcp_metrics_flush_all()
950 net_eq(tm_net(tm), net)) { in tcp_metrics_nl_cmd_del()
/linux-6.6.21/net/ipv6/
Dxfrm6_policy.c196 if (!net_eq(net, &init_net)) { in xfrm6_net_sysctl_init()
213 if (!net_eq(net, &init_net)) in xfrm6_net_sysctl_init()
228 if (!net_eq(net, &init_net)) in xfrm6_net_sysctl_exit()
Dip6_flowlabel.c79 if (fl->label == label && net_eq(fl->fl_net, net)) in __fl_lookup()
200 if (net_eq(fl->fl_net, net) && in ip6_fl_purge()
766 if (net_eq(fl->fl_net, net)) in ip6fl_get_first()
781 if (net_eq(fl->fl_net, net)) in ip6fl_get_next()
788 if (net_eq(fl->fl_net, net)) in ip6fl_get_next()
Dreassembly.c461 if (!net_eq(net, &init_net)) { in ip6_frags_ns_sysctl_register()
482 if (!net_eq(net, &init_net)) in ip6_frags_ns_sysctl_register()
494 if (!net_eq(net, &init_net)) in ip6_frags_ns_sysctl_unregister()
/linux-6.6.21/net/vmw_vsock/
Ddiag.c79 if (!net_eq(sock_net(sk), net)) in vsock_diag_dump()
113 if (!net_eq(sock_net(sk), net)) in vsock_diag_dump()
/linux-6.6.21/net/netlink/
Ddiag.c134 if (!net_eq(sock_net(sk), net)) in __netlink_diag_dump()
160 if (!net_eq(sock_net(sk), net)) in __netlink_diag_dump()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_lblc.c558 if (!net_eq(net, &init_net)) { in __ip_vs_lblc_init()
580 if (!net_eq(net, &init_net)) in __ip_vs_lblc_init()
594 if (!net_eq(net, &init_net)) in __ip_vs_lblc_exit()
/linux-6.6.21/net/ieee802154/6lowpan/
Dreassembly.c366 if (!net_eq(net, &init_net)) { in lowpan_frags_ns_sysctl_register()
394 if (!net_eq(net, &init_net)) in lowpan_frags_ns_sysctl_register()
408 if (!net_eq(net, &init_net)) in lowpan_frags_ns_sysctl_unregister()
/linux-6.6.21/net/ipv6/netfilter/
Dnf_conntrack_reasm.c75 if (!net_eq(net, &init_net)) { in nf_ct_frag6_sysctl_register()
99 if (!net_eq(net, &init_net)) in nf_ct_frag6_sysctl_register()
112 if (!net_eq(net, &init_net)) in nf_ct_frags6_sysctl_unregister()
/linux-6.6.21/drivers/net/wan/
Dhdlc.c58 if (!net_eq(dev_net(dev), &init_net)) { in hdlc_rcv()
102 if (!net_eq(dev_net(dev), &init_net)) in hdlc_device_event()
/linux-6.6.21/include/net/
Dnet_namespace.h284 int net_eq(const struct net *net1, const struct net *net2) in net_eq() function
313 int net_eq(const struct net *net1, const struct net *net2) in net_eq() function
/linux-6.6.21/drivers/net/
Dbareudp.c135 !net_eq(bareudp->net, in bareudp_udp_encap_recv()
294 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp_xmit_skb()
344 !net_eq(bareudp->net, dev_net(bareudp->dev)), in bareudp_xmit_skb()
357 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp6_xmit_skb()
/linux-6.6.21/net/core/
Dnet-procfs.c302 else if ((!pt->af_packet_net || net_eq(pt->af_packet_net, seq_file_net(seq))) && in ptype_seq_show()
303 (!pt->dev || net_eq(dev_net(pt->dev), seq_file_net(seq)))) { in ptype_seq_show()
/linux-6.6.21/drivers/net/hamradio/
Dbpqether.c177 if (!net_eq(dev_net(dev), &init_net)) in bpq_rcv()
533 if (!net_eq(dev_net(dev), &init_net)) in bpq_device_event()

1234567