Lines Matching refs:so_state
212 #define CONN_CANFSEND(so) (((so)->so_state & (SS_FCANTSENDMORE|SS_ISFCONNECTED)) == SS_ISFCONNECTED)
213 #define CONN_CANFRCV(so) (((so)->so_state & (SS_FCANTRCVMORE|SS_ISFCONNECTED)) == SS_ISFCONNECTED)
280 if (so->so_state & SS_NOFDREF || so->s == -1)
286 if (so->so_state & SS_FACCEPTCONN) {
295 if (so->so_state & SS_ISFCONNECTING) {
348 if ((so->so_state & SS_ISFCONNECTED) && so->so_queued <= 4) {
432 if (so->so_state & SS_NOFDREF || so->s == -1)
449 if (so->so_state & SS_FACCEPTCONN) {
467 if (so->so_state & SS_ISFCONNECTING) {
469 so->so_state &= ~SS_ISFCONNECTING;
479 so->so_state = SS_NOFDREF;
481 /* else so->so_state &= ~SS_ISFCONNECTING; */
503 if (so->so_state & SS_ISFCONNECTING) {
513 so->so_state = SS_NOFDREF;
524 so->so_state = SS_NOFDREF;
526 so->so_state &= ~SS_ISFCONNECTING;
842 if (!so || so->so_state & SS_NOFDREF)
936 qemu_put_be32(f, so->so_state);
1043 so->so_state = qemu_get_be32(f);