Lines Matching refs:so_state
826 if (so->so_state & SS_ISDISCONNECTED) { in tcp_usr_accept()
858 if (so->so_state & SS_ISDISCONNECTED) { in tcp6_usr_accept()
944 if (tp && !(so->so_state & SS_ISDISCONNECTED) && in tcp_usr_shutdown()
1241 if (so->so_state & SS_ISCONNECTING) { in tcp_usr_send()
1242 if (so->so_state & SS_NBIO) { in tcp_usr_send()
1291 (so->so_state & SS_RCVATMARK) == 0) || in tcp_usr_rcvoob()
1303 so->so_state &= ~SS_RCVATMARK; in tcp_usr_rcvoob()
2034 if ((so->so_state & SS_ISCONNECTED) == 0) { in tcp_lookup_peer_pid_locked()
2982 int nofd = so->so_state & SS_NOFDREF; /* XXX */ in tcp_attach()
2984 so->so_state &= ~SS_NOFDREF; /* don't free the socket yet */ in tcp_attach()
2990 so->so_state |= nofd; in tcp_attach()