Home
last modified time | relevance | path

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

1234567

/linux/net/phonet/
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()
528 if (!net_eq(net, sock_net(sknode))) in pn_sock_get_idx()
545 while (sk && !net_eq(net, sock_net(sk))); in pn_sock_get_next()
618 if (!net_eq(net, &init_net)) in pn_find_sock_by_res()
635 if (!net_eq(sock_net(sk), &init_net)) in pn_sock_bind_res()
699 if (!net_eq(net, &init_net)) in pn_res_get_idx()
717 BUG_ON(!net_eq(net, &init_net)); in pn_res_get_next()
/linux/net/mptcp/
A Dtoken.c256 !net_eq(sock_net(sk), net)) in mptcp_token_get_sock()
263 !net_eq(sock_net(sk), net)) { in mptcp_token_get_sock()
312 if (!net_eq(sock_net(sk), net)) in mptcp_token_iter_next()
321 if (!net_eq(sock_net(sk), net)) { in mptcp_token_iter_next()
A Dctrl.c120 if (!net_eq(net, &init_net)) { in mptcp_pernet_new_table()
141 if (!net_eq(net, &init_net)) in mptcp_pernet_new_table()
/linux/net/netfilter/
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()
A Dnft_socket.c44 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_sock_get_eval_cgroupv2()
66 if (sk && !net_eq(nft_net(pkt), sock_net(sk))) in nft_socket_eval()
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()
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()
A Dnf_log.c462 if (!net_eq(net, &init_net)) { in netfilter_log_sysctl_init()
499 if (!net_eq(net, &init_net)) in netfilter_log_sysctl_init()
514 if (!net_eq(net, &init_net)) in netfilter_log_sysctl_exit()
A Dnf_conntrack_broadcast.c31 if (skb->sk == NULL || !net_eq(nf_ct_net(ct), sock_net(skb->sk))) in nf_conntrack_broadcast_help()
/linux/net/ipv4/
A Dxfrm4_policy.c177 if (!net_eq(net, &init_net)) { in xfrm4_net_sysctl_init()
193 if (!net_eq(net, &init_net)) in xfrm4_net_sysctl_init()
208 if (!net_eq(net, &init_net)) in xfrm4_net_sysctl_exit()
A Dtcp_metrics.c222 net_eq(tm_net(tm), net)) in __tcp_get_metrics()
264 net_eq(tm_net(tm), net)) in __tcp_get_metrics_req()
759 if (!net_eq(tm_net(tm), net)) in tcp_metrics_nl_dump()
855 net_eq(tm_net(tm), net)) { in tcp_metrics_nl_cmd_get()
889 match = net ? net_eq(tm_net(tm), net) : in tcp_metrics_flush_all()
932 net_eq(tm_net(tm), net)) { in tcp_metrics_nl_cmd_del()
994 if (!net_eq(net, &init_net)) in tcp_net_metrics_init()
/linux/net/ipv6/
A Dxfrm6_policy.c204 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()
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()
761 if (net_eq(fl->fl_net, net)) in ip6fl_get_first()
776 if (net_eq(fl->fl_net, net)) in ip6fl_get_next()
783 if (net_eq(fl->fl_net, net)) in ip6fl_get_next()
A Dreassembly.c455 if (!net_eq(net, &init_net)) { in ip6_frags_ns_sysctl_register()
475 if (!net_eq(net, &init_net)) in ip6_frags_ns_sysctl_register()
487 if (!net_eq(net, &init_net)) in ip6_frags_ns_sysctl_unregister()
/linux/net/vmw_vsock/
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()
/linux/net/netfilter/ipvs/
A Dip_vs_lblc.c557 if (!net_eq(net, &init_net)) { in __ip_vs_lblc_init()
576 if (!net_eq(net, &init_net)) in __ip_vs_lblc_init()
590 if (!net_eq(net, &init_net)) in __ip_vs_lblc_exit()
/linux/net/netlink/
A Ddiag.c133 if (!net_eq(sock_net(sk), net)) in __netlink_diag_dump()
159 if (!net_eq(sock_net(sk), net)) in __netlink_diag_dump()
/linux/net/ieee802154/6lowpan/
A Dreassembly.c364 if (!net_eq(net, &init_net)) { in lowpan_frags_ns_sysctl_register()
389 if (!net_eq(net, &init_net)) in lowpan_frags_ns_sysctl_register()
403 if (!net_eq(net, &init_net)) in lowpan_frags_ns_sysctl_unregister()
/linux/include/net/
A Dnet_namespace.h268 int net_eq(const struct net *net1, const struct net *net2) in net_eq() function
297 int net_eq(const struct net *net1, const struct net *net2) in net_eq() function
A Dinet_hashtables.h315 net_eq(sock_net(__sk), (__net)))
326 net_eq(sock_net(__sk), (__net)))
/linux/net/ipv6/netfilter/
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()
/linux/drivers/net/wan/
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()
/linux/net/unix/
A Ddiag.c214 if (!net_eq(sock_net(sk), net)) in unix_diag_dump()
274 if (!net_eq(sock_net(sk), net)) in unix_diag_get_exact()
/linux/drivers/net/
A Dbareudp.c128 !net_eq(bareudp->net, in bareudp_udp_encap_recv()
286 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp_xmit_skb()
336 !net_eq(bareudp->net, dev_net(bareudp->dev)), in bareudp_xmit_skb()
349 bool xnet = !net_eq(bareudp->net, dev_net(bareudp->dev)); in bareudp6_xmit_skb()
/linux/drivers/net/hamradio/
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()

Completed in 37 milliseconds

1234567