Lines Matching refs:sknode
68 struct sock *sknode; in pn_find_sock_by_sa() local
75 sk_for_each_rcu(sknode, hlist) { in pn_find_sock_by_sa()
76 struct pn_sock *pn = pn_sk(sknode); in pn_find_sock_by_sa()
79 if (!net_eq(sock_net(sknode), net)) in pn_find_sock_by_sa()
94 rval = sknode; in pn_find_sock_by_sa()
95 sock_hold(sknode); in pn_find_sock_by_sa()
111 struct sock *sknode; in pn_deliver_sock_broadcast() local
113 sk_for_each(sknode, hlist) { in pn_deliver_sock_broadcast()
116 if (!net_eq(sock_net(sknode), net)) in pn_deliver_sock_broadcast()
118 if (!sock_flag(sknode, SOCK_BROADCAST)) in pn_deliver_sock_broadcast()
123 sock_hold(sknode); in pn_deliver_sock_broadcast()
124 sk_receive_skb(sknode, clone, 0); in pn_deliver_sock_broadcast()
520 struct sock *sknode; in pn_sock_get_idx() local
524 sk_for_each_rcu(sknode, hlist) { in pn_sock_get_idx()
525 if (!net_eq(net, sock_net(sknode))) in pn_sock_get_idx()
528 return sknode; in pn_sock_get_idx()