/external/qemu/slirp/ |
sbuf.h | 11 #define sbflush(sb) sbdrop((sb),(sb)->sb_cc) 12 #define sbspace(sb) ((sb)->sb_datalen - (sb)->sb_cc) 15 u_int sb_cc; /* actual chars in buffer */ member in struct:sbuf
|
sbuf.c | 16 * return SB_DATALEN - sb->sb_cc; 33 if(num > sb->sb_cc) 34 num = sb->sb_cc; 35 sb->sb_cc -= num; 49 sb->sb_cc = 0; 57 sb->sb_cc = 0; 103 if (!so->so_rcv.sb_cc) 157 sb->sb_cc += n; 178 if (len > sb->sb_cc) len = sb->sb_cc; [all...] |
socket.c | 92 int len = sb->sb_datalen - sb->sb_cc; 98 len = sb->sb_datalen - sb->sb_cc; 208 sb->sb_cc += nn; 244 sb->sb_cc += size; 281 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; 301 DEBUG_ARG("sb->sb_cc = %d", sb->sb_cc); 337 sb->sb_cc -= n; 354 int len = sb->sb_cc; 362 if (sb->sb_cc == 0 [all...] |
tcp_subr.c | 657 so_rcv->sb_cc = snprintf(so_rcv->sb_data, 661 so_rcv->sb_wptr = so_rcv->sb_data + so_rcv->sb_cc; 687 so_snd->sb_cc += 18; 747 so_snd->sb_cc++; 771 so_snd->sb_cc += 18; 799 so_snd->sb_cc += 18; 866 so_snd->sb_cc++; 898 if (so_snd->sb_cc == 0) 921 while (num < so->so_rcv.sb_cc) { 946 so_snd->sb_cc += n [all...] |
tcp_output.c | 128 if (off < so->so_snd.sb_cc) 137 len = min(so->so_snd.sb_cc, win) - off; 161 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc)) 180 len + off >= so->so_snd.sb_cc) 252 if (so->so_snd.sb_cc && tp->t_timer[TCPT_REXMT] == 0 && 376 if (off + len == so->so_snd.sb_cc)
|
debug.c | 318 so->so_rcv.sb_cc, so->so_snd.sb_cc); 332 so->so_rcv.sb_cc, so->so_snd.sb_cc);
|
slirp.c | 305 if (CONN_CANFSEND(so) && so->so_rcv.sb_cc) { 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)) 917 qemu_put_be32(f, sbuf->sb_cc); 1009 uint32_t off, sb_cc, sb_datalen; local 1011 sb_cc = qemu_get_be32(f); 1019 sbuf->sb_cc = sb_cc;
|
tcp_input.c | 551 if (so->so_snd.sb_cc) [all...] |
/external/qemu/slirp-android/ |
sbuf.h | 11 #define sbflush(sb) sbdrop((sb),(sb)->sb_cc) 12 #define sbspace(sb) ((sb)->sb_datalen - (sb)->sb_cc) 15 u_int sb_cc; /* actual chars in buffer */ member in struct:sbuf
|
sbuf.c | 16 * return SB_DATALEN - sb->sb_cc; 33 if(num > sb->sb_cc) 34 num = sb->sb_cc; 35 sb->sb_cc -= num; 49 sb->sb_cc = 0; 57 sb->sb_cc = 0; 103 if (!so->so_rcv.sb_cc) 157 sb->sb_cc += n; 178 if (len > sb->sb_cc) len = sb->sb_cc; [all...] |
socket.c | 100 int len = sb->sb_datalen - sb->sb_cc; 106 len = sb->sb_datalen - sb->sb_cc; 216 sb->sb_cc += nn; 252 sb->sb_cc += size; 289 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; 309 DEBUG_ARG("sb->sb_cc = %d", sb->sb_cc); 345 sb->sb_cc -= n; 362 int len = sb->sb_cc; 370 if (sb->sb_cc == 0 [all...] |
tcp_output.c | 128 if (off < so->so_snd.sb_cc) 137 len = min(so->so_snd.sb_cc, win) - off; 161 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc)) 180 len + off >= so->so_snd.sb_cc) 252 if (so->so_snd.sb_cc && tp->t_timer[TCPT_REXMT] == 0 && 376 if (off + len == so->so_snd.sb_cc)
|
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_subr.c | 808 so_rcv->sb_cc = snprintf(so_rcv->sb_data, 812 so_rcv->sb_wptr = so_rcv->sb_data + so_rcv->sb_cc; 1102 sb->sb_cc = sprintf(sb->sb_wptr,"Error: Permission denied.\r\n"); 1103 sb->sb_wptr += sb->sb_cc; 1135 sb->sb_cc = snprintf(sb->sb_wptr, sb->sb_datalen - (sb->sb_wptr - sb->sb_data), 1137 sb->sb_wptr += sb->sb_cc; 1152 sb->sb_cc = sprintf(sb->sb_wptr,"Sorry, already connected.\r\n"); 1153 sb->sb_wptr += sb->sb_cc; 1159 sb->sb_cc = sprintf(sb->sb_wptr, "Slirp command-line ready (type \"help\" for help).\r\nSlirp> "); 1160 sb->sb_wptr += sb->sb_cc; [all...] |
slirp.c | 371 if (CONN_CANFSEND(so) && so->so_rcv.sb_cc) { 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_input.c | 556 if (so->so_snd.sb_cc) [all...] |