Lines Matching refs:so_state
195 so->so_state |= (SS_ISBOUND | SS_ISCONNECTED |
196 (pso->so_state & SS_ASYNC));
241 if ((so->so_state & SS_ACCEPTCONN) == 0)
269 if (so->so_state & SS_CANTSENDMORE) {
284 so->so_state |= SS_ISBOUND;
317 if (so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED |
332 if (so->so_state & SS_ACCEPTCONN) {
341 so->so_state |= (SS_ACCEPTCONN|SS_ISBOUND);
373 if (so->so_state & (SS_ACCEPTCONN|SS_ISCONNECTED|SS_ISCONNECTING)) {
374 if (so->so_state & SS_ISCONNECTED) {
376 } else if (so->so_state & SS_ISCONNECTING) {
399 if (so->so_state & (SS_ISDISCONNECTING|SS_CANTRCVMORE|
502 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING|
517 ss->ss_assoccnt == 0 && !(so->so_state & SS_ACCEPTCONN)) {
779 so->so_state |= SS_ISDISCONNECTING;
800 if (so->so_state & SS_CANTSENDMORE) {
814 if (so->so_state & SS_CLOSING) {
848 if (!(so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED))) {
859 if ((so->so_state & SS_ACCEPTCONN) ||
907 if ((error == EPIPE) && (so->so_state & SS_CANTSENDMORE)) {
1057 if (so->so_state & SS_CLOSING) {
1166 state_change = so->so_state;
1184 state_change = so->so_state & ~state_change;
1198 so->so_state |= SS_ISDISCONNECTING;
1457 so->so_state |= SS_NDELAY;
1459 so->so_state &= ~SS_NDELAY;
1473 so->so_state |= SS_ASYNC;
1476 so->so_state &= ~SS_ASYNC;
1508 intval = (so->so_state & SS_ACCEPTCONN) ? 0 :
1533 } else if ((so->so_state & SS_ISCONNECTED) == 0) {
1945 ASSERT(lso->so_state & SS_ACCEPTCONN);