Searched refs:so_rcv (Results 1 – 16 of 16) sorted by relevance
/external/qemu/slirp/ |
D | tcp_subr.c | 118 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 …]
|
D | sbuf.c | 93 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()
|
D | tcp_input.c | 411 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()
|
D | tcp_output.c | 164 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)
|
D | socket.h | 51 struct sbuf so_rcv; /* Receive buffer */ member
|
D | debug.c | 318 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()
|
D | socket.c | 294 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()
|
D | slirp.c | 305 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/ |
D | tcp_subr.c | 120 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 …]
|
D | sbuf.c | 93 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()
|
D | tcp_input.c | 416 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()
|
D | tcp_output.c | 164 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)
|
D | debug.c | 290 so->so_rcv.sb_cc, so->so_snd.sb_cc); 304 so->so_rcv.sb_cc, so->so_snd.sb_cc);
|
D | socket.h | 52 struct sbuf so_rcv; /* Receive buffer */ member
|
D | socket.c | 302 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()
|
D | slirp.c | 363 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()
|