Home
last modified time | relevance | path

Searched refs:so_state (Results 1 – 15 of 15) sorted by relevance

/external/qemu/slirp-android/
Dsocket.c64 so->so_state = SS_NOFDREF; in socreate()
76 if (so->so_state & SS_PROXIFIED) in sofree()
416 so->so_state, errno)); in sowrite()
442 if ((so->so_state & SS_FWDRAIN) && sb->sb_cc == 0) in sowrite()
609 so->so_state = SS_ISFCONNECTED; /* So that it gets select()ed */ in sosendto()
648 so->so_state = (SS_FACCEPTCONN|flags); in solisten()
733 so->so_state &= ~(SS_NOFDREF|SS_ISFCONNECTED|SS_FCANTRCVMORE| in soisfconnecting()
735 so->so_state |= SS_ISFCONNECTING; /* Clobber other states */ in soisfconnecting()
741 so->so_state &= ~(SS_ISFCONNECTING|SS_FWDRAIN|SS_NOFDREF); in soisfconnected()
742 so->so_state |= SS_ISFCONNECTED; /* Clobber other states */ in soisfconnected()
[all …]
Dslirp.c272 #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) in slirp_select_fill()
346 if ((so->so_state & SS_PROXIFIED) != 0) in slirp_select_fill()
352 if (so->so_state & SS_FACCEPTCONN) { in slirp_select_fill()
361 if (so->so_state & SS_ISFCONNECTING) { in slirp_select_fill()
393 if ((so->so_state & SS_PROXIFIED) != 0) in slirp_select_fill()
417 if ((so->so_state & SS_ISFCONNECTED) && so->so_queued <= 4) { in slirp_select_fill()
506 if (so->so_state & SS_NOFDREF || so->s == -1) in slirp_select_poll()
513 if ((so->so_state & SS_PROXIFIED) != 0) in slirp_select_poll()
[all …]
Dtcp_input.c215 if (so->so_state & SS_FCANTSENDMORE) in tcp_reass()
438 if (so->so_state & SS_ISFCONNECTING) in tcp_input()
653 so->so_state |= SS_CTL; in tcp_input()
661 so->so_state |= SS_CTL; in tcp_input()
666 if(so->so_state & SS_CTL) goto cont_input; in tcp_input()
716 if (so->so_state & SS_NOFDREF) { in tcp_input()
906 if ((so->so_state & SS_NOFDREF) && in tcp_input()
1038 if (so->so_state & SS_CTL) { in tcp_input()
1043 so->so_state &= ~SS_CTL; /* success XXX */ in tcp_input()
1045 so->so_state = SS_NOFDREF; /* CTL_CMD */ in tcp_input()
[all …]
Dtcp_subr.c366 so->so_state &= ~SS_PROXIFIED; in tcp_proxy_event()
370 so->so_state &= ~(SS_ISFCONNECTING); in tcp_proxy_event()
373 so->so_state = SS_NOFDREF; in tcp_proxy_event()
539 so->so_state |= SS_PROXIFIED; in tcp_fconnect()
602 if (inso->so_state & SS_FACCEPTONCE) { in tcp_connect()
640 if (inso->so_state & SS_FACCEPTONCE) { in tcp_connect()
642 so->so_state = SS_NOFDREF; /* Don't select it yet, even though we have an FD */ in tcp_connect()
Dsocket.h42 int so_state; /* internal state flags SS_*, below */ member
Dip_icmp.c137 so->so_state = SS_ISFCONNECTED; in icmp_input()
Dudp.c521 so->so_state = SS_ISFCONNECTED; in udp_listen()
/external/qemu/slirp/
Dsocket.c59 so->so_state = SS_NOFDREF; in socreate()
408 so->so_state, errno)); in sowrite()
434 if ((so->so_state & SS_FWDRAIN) && sb->sb_cc == 0) in sowrite()
587 so->so_state = SS_ISFCONNECTED; /* So that it gets select()ed */ in sosendto()
626 so->so_state = (SS_FACCEPTCONN|flags); in solisten()
699 so->so_state &= ~(SS_NOFDREF|SS_ISFCONNECTED|SS_FCANTRCVMORE| in soisfconnecting()
701 so->so_state |= SS_ISFCONNECTING; /* Clobber other states */ in soisfconnecting()
707 so->so_state &= ~(SS_ISFCONNECTING|SS_FWDRAIN|SS_NOFDREF); in soisfconnected()
708 so->so_state |= SS_ISFCONNECTED; /* Clobber other states */ in soisfconnected()
714 if ((so->so_state & SS_NOFDREF) == 0) { in sofcantrcvmore()
[all …]
Dslirp.c212 #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) in slirp_select_fill()
286 if (so->so_state & SS_FACCEPTCONN) { in slirp_select_fill()
295 if (so->so_state & SS_ISFCONNECTING) { in slirp_select_fill()
348 if ((so->so_state & SS_ISFCONNECTED) && so->so_queued <= 4) { in slirp_select_fill()
432 if (so->so_state & SS_NOFDREF || so->s == -1) in slirp_select_poll()
449 if (so->so_state & SS_FACCEPTCONN) { in slirp_select_poll()
467 if (so->so_state & SS_ISFCONNECTING) { in slirp_select_poll()
469 so->so_state &= ~SS_ISFCONNECTING; in slirp_select_poll()
[all …]
Dtcp_input.c215 if (so->so_state & SS_FCANTSENDMORE) in tcp_reass()
433 if (so->so_state & SS_ISFCONNECTING) in tcp_input()
648 so->so_state |= SS_CTL; in tcp_input()
656 so->so_state |= SS_CTL; in tcp_input()
661 if(so->so_state & SS_CTL) goto cont_input; in tcp_input()
710 if (so->so_state & SS_NOFDREF) { in tcp_input()
900 if ((so->so_state & SS_NOFDREF) && in tcp_input()
1032 if (so->so_state & SS_CTL) { in tcp_input()
1037 so->so_state &= ~SS_CTL; /* success XXX */ in tcp_input()
1039 so->so_state = SS_NOFDREF; /* CTL_CMD */ in tcp_input()
[all …]
Dsocket.h41 int so_state; /* internal state flags SS_*, below */ member
Dtcp_subr.c446 if (inso->so_state & SS_FACCEPTONCE) { in tcp_connect()
484 if (inso->so_state & SS_FACCEPTONCE) { in tcp_connect()
486 so->so_state = SS_NOFDREF; /* Don't select it yet, even though we have an FD */ in tcp_connect()
Dip_icmp.c133 so->so_state = SS_ISFCONNECTED; in icmp_input()
Dudp.c667 so->so_state = SS_ISFCONNECTED; in udp_listen()
/external/strace/
Dstream.c1161 udata.servtype, udata.so_state); in internal_stream_ioctl()