Home
last modified time | relevance | path

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

1234567

/openbmc/linux/net/unix/
H A 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()
/openbmc/linux/net/netfilter/
H A Dnf_hooks_lwtunnel.c73 if (!net_eq(net, &init_net)) { in nf_lwtunnel_net_init()
90 if (!net_eq(net, &init_net)) in nf_lwtunnel_net_init()
102 if (!net_eq(net, &init_net)) in nf_lwtunnel_net_exit()
H A 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()
H A 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()
H A Dnf_conntrack_broadcast.c32 if (skb->sk == NULL || !net_eq(nf_ct_net(ct), sock_net(skb->sk))) in nf_conntrack_broadcast_help()
H A 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()
H A 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()
/openbmc/linux/net/smc/
H A 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()
/openbmc/linux/net/phonet/
H A 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()
/openbmc/linux/net/mptcp/
H A 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()
H A Dctrl.c190 if (!net_eq(net, &init_net)) { in mptcp_pernet_new_table()
214 if (!net_eq(net, &init_net)) in mptcp_pernet_new_table()
/openbmc/linux/net/ipv4/
H A Dxfrm4_policy.c160 if (!net_eq(net, &init_net)) { in xfrm4_net_sysctl_init()
177 if (!net_eq(net, &init_net)) in xfrm4_net_sysctl_init()
192 if (!net_eq(net, &init_net)) in xfrm4_net_sysctl_exit()
H A 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()
778 if (!net_eq(tm_net(tm), net)) in tcp_metrics_nl_dump()
874 net_eq(tm_net(tm), net)) { in tcp_metrics_nl_cmd_get()
910 match = net ? net_eq(tm_net(tm), net) : in tcp_metrics_flush_all()
954 net_eq(tm_net(tm), net)) { in tcp_metrics_nl_cmd_del()
/openbmc/linux/net/vmw_vsock/
H A 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()
/openbmc/linux/net/ipv6/
H A Dxfrm6_policy.c203 if (!net_eq(net, &init_net)) { in xfrm6_net_sysctl_init()
220 if (!net_eq(net, &init_net)) in xfrm6_net_sysctl_init()
235 if (!net_eq(net, &init_net)) in xfrm6_net_sysctl_exit()
H A 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()
H A 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()
/openbmc/linux/net/netlink/
H A 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()
/openbmc/linux/net/netfilter/ipvs/
H A 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()
/openbmc/linux/net/ieee802154/6lowpan/
H A 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()
/openbmc/linux/drivers/net/wan/
H A 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()
/openbmc/linux/net/ipv6/netfilter/
H A 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()
/openbmc/linux/include/net/
H A 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
/openbmc/linux/drivers/net/hamradio/
H A 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()
/openbmc/linux/net/core/
H A 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()

1234567