Lines Matching defs:so
49 extern int soclose_locked(struct socket *so);
50 extern void soclose_wait_locked(struct socket *so);
51 extern int so_isdstlocal(struct socket *so);
134 * a reference so that it won't go away. We'll grab it
420 sogetaddr_locked(struct socket *so, struct sockaddr **psa, int peer)
424 if (so == NULL || psa == NULL)
428 error = peer ? so->so_proto->pr_usrreqs->pru_peeraddr(so, psa) :
429 so->so_proto->pr_usrreqs->pru_sockaddr(so, psa);
1126 socket_defunct(struct proc *p, socket_t so, int level)
1134 socket_lock(so, 1);
1143 (so->so_rcv.sb_flags & so->so_snd.sb_flags & SB_UNIX) != SB_UNIX) {
1144 socket_unlock(so, 1);
1147 retval = sosetdefunct(p, so, level, TRUE);
1149 retval = sodefunct(p, so, level);
1150 socket_unlock(so, 1);