Lines Matching refs:so_state
143 so->so_state |= (SS_ISBOUND | SS_ISCONNECTED |
144 (pso->so_state & SS_ASYNC));
185 if (!(lso->so_state & SS_ACCEPTCONN)) {
227 if ((so->so_state & SS_ISBOUND) || name == NULL || namelen == 0) {
240 if (so->so_state & SS_CANTSENDMORE) {
256 so->so_state |= SS_ISBOUND;
288 if (so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED |
298 if (so->so_state & SS_ACCEPTCONN) {
310 so->so_state |= (SS_ACCEPTCONN | SS_ISBOUND);
339 if (so->so_state & (SS_ACCEPTCONN|SS_ISCONNECTED|SS_ISCONNECTING)) {
340 if (so->so_state & SS_ISCONNECTED) {
342 } else if (so->so_state & SS_ISCONNECTING) {
365 if (so->so_state & (SS_ISDISCONNECTING|SS_CANTRCVMORE|
399 so->so_state |= SS_ISBOUND;
403 so->so_state &= ~SS_ISCONNECTING;
427 if (!(so->so_state & (SS_ISCONNECTED|SS_ISCONNECTING|
460 if (!(so->so_state & SS_CANTRCVMORE)) {
502 if (so->so_state & SS_CANTSENDMORE) {
518 if (!(so->so_state & (SS_ISCONNECTING | SS_ISCONNECTED))) {
520 so->so_state));
541 if (!accept && !(so->so_state & SS_ISCONNECTED)) {
560 if (!(so->so_state & SS_ISBOUND)) {
598 state_change = so->so_state;
620 state_change = so->so_state & ~state_change;
623 so->so_state |= SS_ISDISCONNECTING;
708 value = (so->so_state & SS_ACCEPTCONN) ?
804 if (so->so_state & SS_CANTSENDMORE) {
972 so->so_state |= SS_NDELAY;
974 so->so_state &= ~SS_NDELAY;
988 so->so_state |= SS_ASYNC;
991 so->so_state &= ~SS_ASYNC;
1052 if (so->so_state & SS_ACCEPTCONN) {
1078 int so_state;
1080 so_state = so->so_state;
1084 if (!(so_state & SS_ISCONNECTED) && (so->so_type == SOCK_STREAM)) {
1122 if ((so_state & SS_CANTRCVMORE) || (so->so_acceptq_len > 0)) {
1201 ASSERT(lso->so_state & SS_ACCEPTCONN);
1245 ASSERT(!(so->so_state & SS_ACCEPTCONN));
1356 so->so_state &= ~(SS_ISCONNECTING|SS_ISCONNECTED|SS_ISDISCONNECTING);