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

/external/qemu/slirp/
H A Dtcp_subr.c283 sbfree(&so->so_snd);
679 struct sbuf *so_snd = &so->so_snd;
685 memcpy(so_snd->sb_wptr, "Permission denied\n", 18);
686 so_snd->sb_wptr += 18;
687 so_snd->sb_cc += 18;
745 so_snd->sb_wptr[0] = 0;
746 so_snd->sb_wptr++;
747 so_snd->sb_cc++;
763 struct sbuf *so_snd
[all...]
H A 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);
365 * m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len);
376 if (off + len == so->so_snd.sb_cc)
H A Dsocket.h52 struct sbuf so_snd; /* Send buffer */ member in struct:socket
H A Dtcp_input.c410 sbreserve(&so->so_snd, TCP_SNDSPACE);
521 sbdrop(&so->so_snd, acked);
540 * There's room in so_snd, sowwakup will read()
543 /* if (so->so_snd.sb_flags & SB_NOTIFY)
548 * put data into so_snd. Since we don't so sowwakeup,
551 if (so->so_snd.sb_cc)
1196 if (acked > so->so_snd.sb_cc) {
1197 tp->snd_wnd -= so->so_snd.sb_cc;
1198 sbdrop(&so->so_snd, (int )so->so_snd
[all...]
H A Dsocket.c91 struct sbuf *sb = &so->so_snd;
158 struct sbuf *sb = &so->so_snd;
218 struct sbuf *sb = &so->so_snd;
281 tp->snd_up = tp->snd_una + so->so_snd.sb_cc;
613 /* Don't tcp_attach... we don't need so_snd nor so_rcv */
678 * Data has been freed in so_snd
H A Ddebug.c318 so->so_rcv.sb_cc, so->so_snd.sb_cc);
332 so->so_rcv.sb_cc, so->so_snd.sb_cc);
H A Dslirp.c314 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))
938 slirp_sbuf_save(f, &so->so_snd);
1046 if (slirp_sbuf_load(f, &so->so_snd) < 0)
/external/qemu/slirp-android/
H A 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);
365 * m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len);
376 if (off + len == so->so_snd.sb_cc)
H A Dsocket.h53 struct sbuf so_snd; /* Send buffer */ member in struct:socket
H A Dtcp_input.c415 sbreserve(&so->so_snd, TCP_SNDSPACE);
526 sbdrop(&so->so_snd, acked);
545 * There's room in so_snd, sowwakup will read()
548 /* if (so->so_snd.sb_flags & SB_NOTIFY)
553 * put data into so_snd. Since we don't so sowwakeup,
556 if (so->so_snd.sb_cc)
1202 if (acked > so->so_snd.sb_cc) {
1203 tp->snd_wnd -= so->so_snd.sb_cc;
1204 sbdrop(&so->so_snd, (int )so->so_snd
[all...]
H A Dsocket.c99 struct sbuf *sb = &so->so_snd;
166 struct sbuf *sb = &so->so_snd;
226 struct sbuf *sb = &so->so_snd;
289 tp->snd_up = tp->snd_una + so->so_snd.sb_cc;
635 /* Don't tcp_attach... we don't need so_snd nor so_rcv */
712 * Data has been freed in so_snd
H A Ddebug.c290 so->so_rcv.sb_cc, so->so_snd.sb_cc);
304 so->so_rcv.sb_cc, so->so_snd.sb_cc);
H A Dslirp.c380 if (CONN_CANFRCV(so) && (so->so_snd.sb_cc < (so->so_snd.sb_datalen/2))) {
1248 if (!CONN_CANFRCV(so) || so->so_snd.sb_cc >= (so->so_snd.sb_datalen/2))
1341 slirp_sbuf_save(f, &so->so_snd);
1449 if (slirp_sbuf_load(f, &so->so_snd) < 0)
H A Dtcp_subr.c285 sbfree(&so->so_snd);
1088 struct sbuf *sb = &so->so_snd;

Completed in 123 milliseconds