Lines Matching refs:so_state
910 if (so->so_state & SS_ISDISCONNECTED) { in tcp_usr_accept()
940 if (so->so_state & SS_ISDISCONNECTED) { in tcp6_usr_accept()
1023 if (tp && !(so->so_state & SS_ISDISCONNECTED) && in tcp_usr_shutdown()
1319 if (so->so_state & SS_ISCONNECTING) { in tcp_usr_send()
1320 if (so->so_state & SS_NBIO) { in tcp_usr_send()
1369 (so->so_state & SS_RCVATMARK) == 0) || in tcp_usr_rcvoob()
1381 so->so_state &= ~SS_RCVATMARK; in tcp_usr_rcvoob()
2144 if ((so->so_state & SS_ISCONNECTED) == 0) { in tcp_lookup_peer_pid_locked()
3120 short nofd = so->so_state & SS_NOFDREF; /* XXX */ in tcp_attach()
3122 so->so_state &= ~SS_NOFDREF; /* don't free the socket yet */ in tcp_attach()
3128 so->so_state |= nofd; in tcp_attach()