/external/qemu/slirp/ |
tcp_subr.c | 283 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 = &so->so_snd [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 && 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)
|
socket.h | 52 struct sbuf so_snd; /* Send buffer */ member in struct:socket
|
tcp_input.c | 410 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) [all...] |
socket.c | 91 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
|
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 | 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)) 938 slirp_sbuf_save(f, &so->so_snd); 1046 if (slirp_sbuf_load(f, &so->so_snd) < 0)
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctputil.h | 304 if (stcb->sctp_socket->so_snd.sb_cc >= tp1->book_size) { \ 305 atomic_subtract_int(&((stcb)->sctp_socket->so_snd.sb_cc), tp1->book_size); \ 307 stcb->sctp_socket->so_snd.sb_cc = 0; \ 325 if (stcb->sctp_socket->so_snd.sb_cc >= sp->length) { \ 326 atomic_subtract_int(&stcb->sctp_socket->so_snd.sb_cc,sp->length); \ 328 stcb->sctp_socket->so_snd.sb_cc = 0; \ 340 atomic_add_int(&stcb->sctp_socket->so_snd.sb_cc,sz); \
|
sctp_constants.h | [all...] |
sctp_os_userspace.h | 1001 #define SCTP_SB_LIMIT_SND(so) so->so_snd.sb_hiwat [all...] |
sctp_usrreq.c | 701 SCTP_SB_CLEAR(so->so_snd); 757 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) { 863 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) { 953 SCTP_SB_CLEAR(so->so_snd); 1020 SCTP_SB_CLEAR(so->so_snd); [all...] |
sctp_output.c | [all...] |
sctputil.c | 390 sctp_clog.x.lock.socksndbuf_lock = mtx_owned(&(inp->sctp_socket->so_snd.sb_mtx)); 542 sctp_clog.x.wake.sbflags = (uint8_t)((so->so_snd.sb_flags & 0x00ff)); [all...] |
sctp_indata.c | [all...] |
sctp_input.c | [all...] |
/external/qemu/slirp-android/ |
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); 365 * m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len); 376 if (off + len == so->so_snd.sb_cc)
|
socket.h | 53 struct sbuf so_snd; /* Send buffer */ member in struct:socket
|
tcp_input.c | 415 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) [all...] |
socket.c | 99 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
|
debug.c | 290 so->so_rcv.sb_cc, so->so_snd.sb_cc); 304 so->so_rcv.sb_cc, so->so_snd.sb_cc);
|
slirp.c | 380 if (CONN_CANFRCV(so) && (so->so_snd.sb_cc < (so->so_snd.sb_datalen/2))) { [all...] |
tcp_subr.c | 285 sbfree(&so->so_snd); 1088 struct sbuf *sb = &so->so_snd;
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
user_socketvar.h | 119 * (d) locked by SOCKBUF_LOCK(&so->so_snd). 192 } so_rcv, so_snd; member in struct:socket 377 } so_rcv, so_snd; member in struct:xsocket 395 * How much space is there in a socket buffer (so->so_snd or so->so_rcv)? 416 ((sbspace(&(so)->so_snd) >= (so)->so_snd.sb_lowat && \ 419 ((so)->so_snd.sb_state & SBS_CANTSENDMORE) || \ 503 SOCKBUF_LOCK_ASSERT(&(so)->so_snd); \ 504 if (sb_notify(&(so)->so_snd)) \ 505 sowakeup((so), &(so)->so_snd); \ [all...] |
user_socket.c | 111 SOCKBUF_LOCK_ASSERT(&so->so_snd); 112 so->so_snd.sb_state |= SBS_CANTSENDMORE; 119 SOCKBUF_LOCK(&so->so_snd); 183 SOCKBUF_LOCK_INIT(&so->so_snd, "so_snd"); 185 SOCKBUF_COND_INIT(&so->so_snd); 202 SOCKBUF_COND_DESTROY(&so->so_snd); 207 SOCKBUF_LOCK_DESTROY(&so->so_snd); 339 SOCKBUF_LOCK(&so->so_snd); 340 so->so_snd.sb_state |= SBS_CANTSENDMORE [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
sctp6_usrreq.c | 744 SCTP_SB_CLEAR(so->so_snd); 796 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) { [all...] |