Searched refs:sknode (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/net/phonet/ |
D | socket.c | 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() [all …]
|
D | pep.c | 629 struct sock *sknode; in pep_find_pipe() local 632 sk_for_each(sknode, hlist) { in pep_find_pipe() 633 struct pep_sock *pnnode = pep_sk(sknode); in pep_find_pipe() 640 if (sknode->sk_state == TCP_CLOSE_WAIT) in pep_find_pipe() 643 sock_hold(sknode); in pep_find_pipe() 644 return sknode; in pep_find_pipe() 657 struct sock *sknode; in pep_do_rcv() local 673 sknode = pep_find_pipe(&pn->hlist, &dst, pipe_handle); in pep_do_rcv() 674 if (sknode) in pep_do_rcv() 675 return sk_receive_skb(sknode, skb, 1); in pep_do_rcv()
|