Searched refs:so_snd (Results 1 – 11 of 11) sorted by relevance
/external/usrsctp/usrsctplib/ |
D | user_socketvar.h | 194 } so_rcv, so_snd; member 404 } so_rcv, so_snd; member 443 ((sbspace(&(so)->so_snd) >= (so)->so_snd.sb_lowat && \ 446 ((so)->so_snd.sb_state & SBS_CANTSENDMORE) || \ 530 SOCKBUF_LOCK_ASSERT(&(so)->so_snd); \ 531 if (sb_notify(&(so)->so_snd)) \ 532 sowakeup((so), &(so)->so_snd); \ 534 SOCKBUF_UNLOCK(&(so)->so_snd); \ 538 SOCKBUF_LOCK(&(so)->so_snd); \ 775 ((sbspace(&(so)->so_snd) >= (so)->so_snd.sb_lowat && \ [all …]
|
D | user_socket.c | 153 SOCKBUF_LOCK_ASSERT(&so->so_snd); in socantsendmore_locked() 154 so->so_snd.sb_state |= SBS_CANTSENDMORE; in socantsendmore_locked() 161 SOCKBUF_LOCK(&so->so_snd); in socantsendmore() 225 SOCKBUF_LOCK_INIT(&so->so_snd, "so_snd"); in soalloc() 227 SOCKBUF_COND_INIT(&so->so_snd); in soalloc() 244 SOCKBUF_COND_DESTROY(&so->so_snd); in sodealloc() 249 SOCKBUF_LOCK_DESTROY(&so->so_snd); in sodealloc() 373 SOCKBUF_LOCK(&so->so_snd); in soisdisconnecting() 374 so->so_snd.sb_state |= SBS_CANTSENDMORE; in soisdisconnecting() 495 if (soreserve(so, head->so_snd.sb_hiwat, head->so_rcv.sb_hiwat)) { in sonewconn() [all …]
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctputil.h | 317 if (stcb->sctp_socket->so_snd.sb_cc >= tp1->book_size) { \ 318 atomic_subtract_int(&((stcb)->sctp_socket->so_snd.sb_cc), tp1->book_size); \ 320 stcb->sctp_socket->so_snd.sb_cc = 0; \ 338 if (stcb->sctp_socket->so_snd.sb_cc >= sp->length) { \ 339 atomic_subtract_int(&stcb->sctp_socket->so_snd.sb_cc,sp->length); \ 341 stcb->sctp_socket->so_snd.sb_cc = 0; \ 353 atomic_add_int(&stcb->sctp_socket->so_snd.sb_cc,sz); \
|
D | sctp_constants.h | 1032 SOCKBUF_UNLOCK(&((so)->so_snd)); \ 1042 SOCKBUF_UNLOCK(&((so)->so_snd)); \
|
D | sctp_output.c | 7869 atomic_subtract_int(&stcb->sctp_socket->so_snd.sb_cc, sp->length); 14257 SOCKBUF_LOCK(&so->so_snd); 14275 error = sbwait(&so->so_snd); 14285 SOCKBUF_UNLOCK(&so->so_snd); 14293 SOCKBUF_UNLOCK(&so->so_snd); 14303 SOCKBUF_UNLOCK(&so->so_snd); 14311 error = sblock(&so->so_snd, SBLOCKWAIT(flags)); 14622 SOCKBUF_LOCK(&so->so_snd); 14659 sbunlock(&so->so_snd, 1); 14661 error = sbwait(&so->so_snd); [all …]
|
D | sctp_usrreq.c | 684 SCTP_SB_CLEAR(so->so_snd); 738 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) { 815 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) { 911 SCTP_SB_CLEAR(so->so_snd); 981 SCTP_SB_CLEAR(so->so_snd); 1324 so->so_snd.sb_cc = 0; 1325 so->so_snd.sb_mbcnt = 0; 1326 so->so_snd.sb_mb = NULL; 8604 SOCKBUF_LOCK(&inp->sctp_socket->so_snd); 8618 SOCKBUF_UNLOCK(&inp->sctp_socket->so_snd);
|
D | sctp_os_userspace.h | 1005 #define SCTP_SB_LIMIT_SND(so) so->so_snd.sb_hiwat
|
D | sctputil.c | 411 sctp_clog.x.lock.socksndbuf_lock = mtx_owned(&(inp->sctp_socket->so_snd.sb_mtx)); in sctp_log_lock() 565 sctp_clog.x.wake.sbflags = (uint8_t)((so->so_snd.sb_flags & 0x00ff)); in sctp_wakeup_log() 5552 if (stcb->sctp_socket->so_snd.sb_cc >= tp1->book_size) { 5553 stcb->sctp_socket->so_snd.sb_cc -= tp1->book_size; 5555 stcb->sctp_socket->so_snd.sb_cc = 0;
|
D | sctp_indata.c | 4183 SOCKBUF_LOCK(&stcb->sctp_socket->so_snd); 4911 SOCKBUF_LOCK(&stcb->sctp_socket->so_snd);
|
D | sctp_input.c | 1159 stcb->sctp_socket->so_snd.sb_cc = 0; in sctp_handle_shutdown_ack()
|
/external/usrsctp/usrsctplib/netinet6/ |
D | sctp6_usrreq.c | 744 SCTP_SB_CLEAR(so->so_snd); 796 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) {
|