Lines Matching refs:so_state
902 if (so->so_state & SS_ISDISCONNECTED) { in tcp_usr_accept()
934 if (so->so_state & SS_ISDISCONNECTED) { in tcp6_usr_accept()
1020 if (tp && !(so->so_state & SS_ISDISCONNECTED) && in tcp_usr_shutdown()
1320 if (so->so_state & SS_ISCONNECTING) { in tcp_usr_send()
1321 if (so->so_state & SS_NBIO) { in tcp_usr_send()
1370 (so->so_state & SS_RCVATMARK) == 0) || in tcp_usr_rcvoob()
1382 so->so_state &= ~SS_RCVATMARK; in tcp_usr_rcvoob()
2129 if ((so->so_state & SS_ISCONNECTED) == 0) { in tcp_lookup_peer_pid_locked()
3104 short nofd = so->so_state & SS_NOFDREF; /* XXX */ in tcp_attach()
3106 so->so_state &= ~SS_NOFDREF; /* don't free the socket yet */ in tcp_attach()
3112 so->so_state |= nofd; in tcp_attach()