Home
last modified time | relevance | path

Searched refs:so_rcv (Results 1 – 16 of 16) sorted by relevance

/external/qemu/slirp/
Dtcp_subr.c118 win = sbspace(&tp->t_socket->so_rcv); in tcp_respond()
282 sbfree(&so->so_rcv); in tcp_close()
634 struct sbuf *so_rcv = &so->so_rcv; in tcp_emu() local
636 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); in tcp_emu()
637 so_rcv->sb_wptr += m->m_len; in tcp_emu()
638 so_rcv->sb_rptr += m->m_len; in tcp_emu()
641 if (sscanf(so_rcv->sb_data, "%u%*[ ,]%u", &n1, &n2) == 2) { in tcp_emu()
657 so_rcv->sb_cc = snprintf(so_rcv->sb_data, in tcp_emu()
658 so_rcv->sb_datalen, in tcp_emu()
660 so_rcv->sb_rptr = so_rcv->sb_data; in tcp_emu()
[all …]
Dsbuf.c93 sbappendsb(&so->so_rcv, m); in sbappend()
103 if (!so->so_rcv.sb_cc) in sbappend()
113 sbappendsb(&so->so_rcv, m); in sbappend()
121 sbappendsb(&so->so_rcv, m); in sbappend()
Dtcp_input.c411 sbreserve(&so->so_rcv, TCP_RCVSPACE); in tcp_input()
558 ti->ti_len <= sbspace(&so->so_rcv)) { in tcp_input()
603 win = sbspace(&so->so_rcv); in tcp_input()
1311 if (ti->ti_urp + so->so_rcv.sb_cc > so->so_rcv.sb_datalen) { in tcp_input()
1332 so->so_urgc = so->so_rcv.sb_cc + in tcp_input()
1363 len = so->so_rcv.sb_datalen - (tp->rcv_adv - tp->rcv_nxt); in tcp_input()
1718 sbreserve(&so->so_rcv, TCP_RCVSPACE + ((TCP_RCVSPACE % mss) ? in tcp_mss()
Dtcp_output.c164 win = sbspace(&so->so_rcv);
208 if (2 * adv >= (long) so->so_rcv.sb_datalen)
437 if (win < (long)(so->so_rcv.sb_datalen / 4) && win < (long)tp->t_maxseg)
Dsocket.h51 struct sbuf so_rcv; /* Receive buffer */ member
Ddebug.c318 so->so_rcv.sb_cc, so->so_snd.sb_cc); in sockstats()
332 so->so_rcv.sb_cc, so->so_snd.sb_cc); in sockstats()
Dsocket.c294 struct sbuf *sb = &so->so_rcv; in sosendoob()
353 struct sbuf *sb = &so->so_rcv; in sowrite()
764 if (so->so_rcv.sb_cc) in sofwdrain()
Dslirp.c305 if (CONN_CANFSEND(so) && so->so_rcv.sb_cc) { in slirp_select_fill()
937 slirp_sbuf_save(f, &so->so_rcv); in slirp_socket_save()
1044 if (slirp_sbuf_load(f, &so->so_rcv) < 0) in slirp_socket_load()
/external/qemu/slirp-android/
Dtcp_subr.c120 win = sbspace(&tp->t_socket->so_rcv); in tcp_respond()
284 sbfree(&so->so_rcv); in tcp_close()
664 struct sbuf *so_rcv = &so->so_rcv; in tcp_emu() local
666 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); in tcp_emu()
667 so_rcv->sb_wptr += m->m_len; in tcp_emu()
668 so_rcv->sb_rptr += m->m_len; in tcp_emu()
671 if (sscanf(so_rcv->sb_data, "%u%*[ ,]%u", &n1, &n2) == 2) { in tcp_emu()
684 so_rcv->sb_cc = snprintf(so_rcv->sb_data, in tcp_emu()
685 so_rcv->sb_datalen, in tcp_emu()
687 so_rcv->sb_rptr = so_rcv->sb_data; in tcp_emu()
[all …]
Dsbuf.c93 sbappendsb(&so->so_rcv, m); in sbappend()
103 if (!so->so_rcv.sb_cc) in sbappend()
113 sbappendsb(&so->so_rcv, m); in sbappend()
121 sbappendsb(&so->so_rcv, m); in sbappend()
Dtcp_input.c416 sbreserve(&so->so_rcv, TCP_RCVSPACE); in tcp_input()
563 ti->ti_len <= sbspace(&so->so_rcv)) { in tcp_input()
608 win = sbspace(&so->so_rcv); in tcp_input()
1317 if (ti->ti_urp + so->so_rcv.sb_cc > so->so_rcv.sb_datalen) { in tcp_input()
1338 so->so_urgc = so->so_rcv.sb_cc + in tcp_input()
1369 len = so->so_rcv.sb_datalen - (tp->rcv_adv - tp->rcv_nxt); in tcp_input()
1724 sbreserve(&so->so_rcv, TCP_RCVSPACE + ((TCP_RCVSPACE % mss) ? in tcp_mss()
Dtcp_output.c164 win = sbspace(&so->so_rcv);
208 if (2 * adv >= (long) so->so_rcv.sb_datalen)
437 if (win < (long)(so->so_rcv.sb_datalen / 4) && win < (long)tp->t_maxseg)
Ddebug.c290 so->so_rcv.sb_cc, so->so_snd.sb_cc);
304 so->so_rcv.sb_cc, so->so_snd.sb_cc);
Dsocket.h52 struct sbuf so_rcv; /* Receive buffer */ member
Dsocket.c302 struct sbuf *sb = &so->so_rcv; in sosendoob()
361 struct sbuf *sb = &so->so_rcv; in sowrite()
777 if (so->so_rcv.sb_cc) in sofwdrain()
Dslirp.c363 if (CONN_CANFSEND(so) && so->so_rcv.sb_cc) { in slirp_select_fill()
1032 slirp_sbuf_save(f, &so->so_rcv); in slirp_socket_save()
1139 if (slirp_sbuf_load(f, &so->so_rcv) < 0) in slirp_socket_load()