Lines Matching refs:so_state
272 #define CONN_CANFSEND(so) (((so)->so_state & (SS_FCANTSENDMORE|SS_ISFCONNECTED)) == SS_ISFCONNECTED)
273 #define CONN_CANFRCV(so) (((so)->so_state & (SS_FCANTRCVMORE|SS_ISFCONNECTED)) == SS_ISFCONNECTED)
340 if (so->so_state & SS_NOFDREF || so->s == -1)
346 if ((so->so_state & SS_PROXIFIED) != 0)
352 if (so->so_state & SS_FACCEPTCONN) {
361 if (so->so_state & SS_ISFCONNECTING) {
393 if ((so->so_state & SS_PROXIFIED) != 0)
417 if ((so->so_state & SS_ISFCONNECTED) && so->so_queued <= 4) {
506 if (so->so_state & SS_NOFDREF || so->s == -1)
513 if ((so->so_state & SS_PROXIFIED) != 0)
530 if (so->so_state & SS_FACCEPTCONN) {
548 if (so->so_state & SS_ISFCONNECTING) {
550 so->so_state &= ~SS_ISFCONNECTING;
560 so->so_state = SS_NOFDREF;
562 /* else so->so_state &= ~SS_ISFCONNECTING; */
584 if (so->so_state & SS_ISFCONNECTING) {
594 so->so_state = SS_NOFDREF;
605 so->so_state = SS_NOFDREF;
607 so->so_state &= ~SS_ISFCONNECTING;
623 if ((so->so_state & SS_PROXIFIED) != 0)
1245 if (!so || so->so_state & SS_NOFDREF)
1339 qemu_put_be32(f, so->so_state);
1446 so->so_state = qemu_get_be32(f);