Home
last modified time | relevance | path

Searched refs:so_snd (Results 1 – 14 of 14) sorted by relevance

/external/qemu/slirp/
Dtcp_subr.c283 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 …]
Dtcp_output.c128 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)
Dtcp_input.c410 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()
Dslirp.c314 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()
Dsocket.c91 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()
Dsocket.h52 struct sbuf so_snd; /* Send buffer */ member
Ddebug.c318 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/
Dtcp_output.c128 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)
Dtcp_input.c415 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()
Dsocket.c99 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()
Dslirp.c372 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()
Ddebug.c290 so->so_rcv.sb_cc, so->so_snd.sb_cc);
304 so->so_rcv.sb_cc, so->so_snd.sb_cc);
Dsocket.h53 struct sbuf so_snd; /* Send buffer */ member
Dtcp_subr.c285 sbfree(&so->so_snd); in tcp_close()
964 struct sbuf *sb = &so->so_snd; in tcp_ctl()