/external/qemu/slirp/ |
sbuf.h | 12 #define sbspace(sb) ((sb)->sb_datalen - (sb)->sb_cc) 16 u_int sb_datalen; /* Length of data */ member in struct:sbuf
|
sbuf.c | 16 * return SB_DATALEN - sb->sb_cc; 37 if(sb->sb_rptr >= sb->sb_data + sb->sb_datalen) 38 sb->sb_rptr -= sb->sb_datalen; 47 if (sb->sb_datalen != size) { 51 sb->sb_datalen = size; 53 sb->sb_datalen = 0; 59 sb->sb_datalen = size; 61 sb->sb_datalen = 0; 144 n = sb->sb_data + sb->sb_datalen - sb->sb_wptr; 159 if (sb->sb_wptr >= sb->sb_data + sb->sb_datalen) [all...] |
socket.c | 92 int len = sb->sb_datalen - sb->sb_cc; 98 len = sb->sb_datalen - sb->sb_cc; 115 iov[0].iov_len = (sb->sb_data + sb->sb_datalen) - sb->sb_wptr; 210 if (sb->sb_wptr >= (sb->sb_data + sb->sb_datalen)) 211 sb->sb_wptr -= sb->sb_datalen; 246 if (sb->sb_wptr >= (sb->sb_data + sb->sb_datalen)) 247 sb->sb_wptr -= sb->sb_datalen; 318 len = (sb->sb_data + sb->sb_datalen) - sb->sb_rptr; 339 if (sb->sb_rptr >= (sb->sb_data + sb->sb_datalen)) 340 sb->sb_rptr -= sb->sb_datalen; [all...] |
slirp.c | 314 if (CONN_CANFRCV(so) && (so->so_snd.sb_cc < (so->so_snd.sb_datalen/2))) { 845 if (!CONN_CANFRCV(so) || so->so_snd.sb_cc >= (so->so_snd.sb_datalen/2)) 918 qemu_put_be32(f, sbuf->sb_datalen); 923 qemu_put_buffer(f, (unsigned char*)sbuf->sb_data, sbuf->sb_datalen); 1009 uint32_t off, sb_cc, sb_datalen; local 1012 sb_datalen = qemu_get_be32(f); 1014 sbreserve(sbuf, sb_datalen); 1016 if (sbuf->sb_datalen != sb_datalen) 1025 qemu_get_buffer(f, (unsigned char*)sbuf->sb_data, sbuf->sb_datalen); [all...] |
tcp_output.c | 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)
|
misc.c | 587 (lprint_sb->sb_datalen - (strlen(format) + 100))) { 593 lprint_sb->sb_datalen + TCP_SNDSPACE); 600 lprint_sb->sb_datalen += TCP_SNDSPACE;
|
tcp_subr.c | 658 so_rcv->sb_datalen, 684 (m->m_len + so_rcv->sb_wptr) > (so_rcv->sb_data + so_rcv->sb_datalen)) { 768 (m->m_len + so_rcv->sb_wptr) > (so_rcv->sb_data + so_rcv->sb_datalen)) { [all...] |
tcp_input.c | [all...] |
/external/qemu/slirp-android/ |
sbuf.h | 12 #define sbspace(sb) ((sb)->sb_datalen - (sb)->sb_cc) 16 u_int sb_datalen; /* Length of data */ member in struct:sbuf
|
sbuf.c | 16 * return SB_DATALEN - sb->sb_cc; 37 if(sb->sb_rptr >= sb->sb_data + sb->sb_datalen) 38 sb->sb_rptr -= sb->sb_datalen; 47 if (sb->sb_datalen != size) { 51 sb->sb_datalen = size; 53 sb->sb_datalen = 0; 59 sb->sb_datalen = size; 61 sb->sb_datalen = 0; 144 n = sb->sb_data + sb->sb_datalen - sb->sb_wptr; 159 if (sb->sb_wptr >= sb->sb_data + sb->sb_datalen) [all...] |
socket.c | 100 int len = sb->sb_datalen - sb->sb_cc; 106 len = sb->sb_datalen - sb->sb_cc; 123 iov[0].iov_len = (sb->sb_data + sb->sb_datalen) - sb->sb_wptr; 218 if (sb->sb_wptr >= (sb->sb_data + sb->sb_datalen)) 219 sb->sb_wptr -= sb->sb_datalen; 254 if (sb->sb_wptr >= (sb->sb_data + sb->sb_datalen)) 255 sb->sb_wptr -= sb->sb_datalen; 326 len = (sb->sb_data + sb->sb_datalen) - sb->sb_rptr; 347 if (sb->sb_rptr >= (sb->sb_data + sb->sb_datalen)) 348 sb->sb_rptr -= sb->sb_datalen; [all...] |
slirp.c | 380 if (CONN_CANFRCV(so) && (so->so_snd.sb_cc < (so->so_snd.sb_datalen/2))) { 1412 uint32_t off, sb_cc, sb_datalen; local [all...] |
tcp_output.c | 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)
|
misc.c | 551 (lprint_sb->sb_datalen - (strlen(format) + 100))) { 557 lprint_sb->sb_datalen + TCP_SNDSPACE); 564 lprint_sb->sb_datalen += TCP_SNDSPACE;
|
tcp_subr.c | 809 so_rcv->sb_datalen, 1135 sb->sb_cc = snprintf(sb->sb_wptr, sb->sb_datalen - (sb->sb_wptr - sb->sb_data),
|
tcp_input.c | [all...] |