Searched refs:so_snd (Results 1 – 14 of 14) sorted by relevance
/external/qemu/slirp/ |
D | tcp_subr.c | 283 sbfree(&so->so_snd); in tcp_close() 679 struct sbuf *so_snd = &so->so_snd; in tcp_emu() 685 memcpy(so_snd->sb_wptr, "Permission denied\n", 18); in tcp_emu() 686 so_snd->sb_wptr += 18; in tcp_emu() 687 so_snd->sb_cc += 18; in tcp_emu() 745 so_snd->sb_wptr[0] = 0; in tcp_emu() 746 so_snd->sb_wptr++; in tcp_emu() 747 so_snd->sb_cc++; in tcp_emu() 763 struct sbuf *so_snd = &so->so_snd; in tcp_emu() 769 memcpy(so_snd->sb_wptr, "Permission denied\n", 18); in tcp_emu() [all …]
|
D | 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 && 361 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 376 if (off + len == so->so_snd.sb_cc)
|
D | tcp_input.c | 410 sbreserve(&so->so_snd, TCP_SNDSPACE); in tcp_input() 521 sbdrop(&so->so_snd, acked); in tcp_input() 551 if (so->so_snd.sb_cc) in tcp_input() 1196 if (acked > so->so_snd.sb_cc) { in tcp_input() 1197 tp->snd_wnd -= so->so_snd.sb_cc; in tcp_input() 1198 sbdrop(&so->so_snd, (int )so->so_snd.sb_cc); in tcp_input() 1201 sbdrop(&so->so_snd, acked); in tcp_input() 1715 sbreserve(&so->so_snd, TCP_SNDSPACE + ((TCP_SNDSPACE % mss) ? in tcp_mss()
|
D | slirp.c | 314 if (CONN_CANFRCV(so) && (so->so_snd.sb_cc < (so->so_snd.sb_datalen/2))) { in slirp_select_fill() 845 if (!CONN_CANFRCV(so) || so->so_snd.sb_cc >= (so->so_snd.sb_datalen/2)) in slirp_socket_can_recv() 938 slirp_sbuf_save(f, &so->so_snd); in slirp_socket_save() 1046 if (slirp_sbuf_load(f, &so->so_snd) < 0) in slirp_socket_load()
|
D | socket.c | 91 struct sbuf *sb = &so->so_snd; in sopreprbuf() 158 struct sbuf *sb = &so->so_snd; in soread() 218 struct sbuf *sb = &so->so_snd; in soreadbuf() 281 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; in sorecvoob()
|
D | socket.h | 52 struct sbuf so_snd; /* Send 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()
|
/external/qemu/slirp-android/ |
D | 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 && 361 sbcopy(&so->so_snd, off, (int) len, mtod(m, caddr_t) + hdrlen); 376 if (off + len == so->so_snd.sb_cc)
|
D | tcp_input.c | 415 sbreserve(&so->so_snd, TCP_SNDSPACE); in tcp_input() 526 sbdrop(&so->so_snd, acked); in tcp_input() 556 if (so->so_snd.sb_cc) in tcp_input() 1202 if (acked > so->so_snd.sb_cc) { in tcp_input() 1203 tp->snd_wnd -= so->so_snd.sb_cc; in tcp_input() 1204 sbdrop(&so->so_snd, (int )so->so_snd.sb_cc); in tcp_input() 1207 sbdrop(&so->so_snd, acked); in tcp_input() 1721 sbreserve(&so->so_snd, TCP_SNDSPACE + ((TCP_SNDSPACE % mss) ? in tcp_mss()
|
D | socket.c | 99 struct sbuf *sb = &so->so_snd; in sopreprbuf() 166 struct sbuf *sb = &so->so_snd; in soread() 226 struct sbuf *sb = &so->so_snd; in soreadbuf() 289 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; in sorecvoob()
|
D | slirp.c | 372 if (CONN_CANFRCV(so) && (so->so_snd.sb_cc < (so->so_snd.sb_datalen/2))) { in slirp_select_fill() 940 if (!CONN_CANFRCV(so) || so->so_snd.sb_cc >= (so->so_snd.sb_datalen/2)) in slirp_socket_can_recv() 1033 slirp_sbuf_save(f, &so->so_snd); in slirp_socket_save() 1141 if (slirp_sbuf_load(f, &so->so_snd) < 0) in slirp_socket_load()
|
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 | 53 struct sbuf so_snd; /* Send buffer */ member
|
D | tcp_subr.c | 285 sbfree(&so->so_snd); in tcp_close() 964 struct sbuf *sb = &so->so_snd; in tcp_ctl()
|