/external/qemu/slirp/ |
tcp_subr.c | 118 win = sbspace(&tp->t_socket->so_rcv); 282 sbfree(&so->so_rcv); 498 * (TCP_MAXWIN << tp->request_r_scale) < so->so_rcv.sb_hiwat) 634 struct sbuf *so_rcv = &so->so_rcv; local 636 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); 637 so_rcv->sb_wptr += m->m_len; 638 so_rcv->sb_rptr += m->m_len; 641 if (sscanf(so_rcv->sb_data, "%u%*[ ,]%u", &n1, &n2) == 2) { 657 so_rcv->sb_cc = snprintf(so_rcv->sb_data [all...] |
sbuf.c | 93 sbappendsb(&so->so_rcv, m); 103 if (!so->so_rcv.sb_cc) 113 sbappendsb(&so->so_rcv, m); 121 sbappendsb(&so->so_rcv, m);
|
socket.h | 51 struct sbuf so_rcv; /* Receive buffer */ member in struct:socket
|
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)
|
debug.c | 318 so->so_rcv.sb_cc, so->so_snd.sb_cc); 332 so->so_rcv.sb_cc, so->so_snd.sb_cc);
|
tcp_input.c | 411 sbreserve(&so->so_rcv, TCP_RCVSPACE); 558 ti->ti_len <= sbspace(&so->so_rcv)) { 603 win = sbspace(&so->so_rcv); [all...] |
socket.c | 294 struct sbuf *sb = &so->so_rcv; 346 * Write data from so_rcv to so's socket, 353 struct sbuf *sb = &so->so_rcv; 613 /* Don't tcp_attach... we don't need so_snd nor so_rcv */ 665 * Data is available in so_rcv 764 if (so->so_rcv.sb_cc)
|
slirp.c | 305 if (CONN_CANFSEND(so) && so->so_rcv.sb_cc) { 937 slirp_sbuf_save(f, &so->so_rcv); 1044 if (slirp_sbuf_load(f, &so->so_rcv) < 0)
|
/external/qemu/slirp-android/ |
sbuf.c | 93 sbappendsb(&so->so_rcv, m); 103 if (!so->so_rcv.sb_cc) 113 sbappendsb(&so->so_rcv, m); 121 sbappendsb(&so->so_rcv, m);
|
tcp_subr.c | 120 win = sbspace(&tp->t_socket->so_rcv); 284 sbfree(&so->so_rcv); 654 * (TCP_MAXWIN << tp->request_r_scale) < so->so_rcv.sb_hiwat) 788 struct sbuf *so_rcv = &so->so_rcv; local 790 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len); 791 so_rcv->sb_wptr += m->m_len; 792 so_rcv->sb_rptr += m->m_len; 795 if (sscanf(so_rcv->sb_data, "%u%*[ ,]%u", &n1, &n2) == 2) { 808 so_rcv->sb_cc = snprintf(so_rcv->sb_data [all...] |
socket.h | 52 struct sbuf so_rcv; /* Receive buffer */ member in struct:socket
|
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)
|
debug.c | 290 so->so_rcv.sb_cc, so->so_snd.sb_cc); 304 so->so_rcv.sb_cc, so->so_snd.sb_cc);
|
tcp_input.c | 416 sbreserve(&so->so_rcv, TCP_RCVSPACE); 563 ti->ti_len <= sbspace(&so->so_rcv)) { 608 win = sbspace(&so->so_rcv); [all...] |
socket.c | 302 struct sbuf *sb = &so->so_rcv; 354 * Write data from so_rcv to so's socket, 361 struct sbuf *sb = &so->so_rcv; 635 /* Don't tcp_attach... we don't need so_snd nor so_rcv */ 699 * Data is available in so_rcv 798 if (so->so_rcv.sb_cc)
|
slirp.c | 371 if (CONN_CANFSEND(so) && so->so_rcv.sb_cc) { [all...] |