Home
last modified time | relevance | path

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

/external/usrsctp/usrsctplib/
Duser_socketvar.h194 } 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 …]
Duser_socket.c153 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/
Dsctputil.h317 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); \
Dsctp_constants.h1032 SOCKBUF_UNLOCK(&((so)->so_snd)); \
1042 SOCKBUF_UNLOCK(&((so)->so_snd)); \
Dsctp_output.c7869 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 …]
Dsctp_usrreq.c684 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);
Dsctp_os_userspace.h1005 #define SCTP_SB_LIMIT_SND(so) so->so_snd.sb_hiwat
Dsctputil.c411 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;
Dsctp_indata.c4183 SOCKBUF_LOCK(&stcb->sctp_socket->so_snd);
4911 SOCKBUF_LOCK(&stcb->sctp_socket->so_snd);
Dsctp_input.c1159 stcb->sctp_socket->so_snd.sb_cc = 0; in sctp_handle_shutdown_ack()
/external/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c744 SCTP_SB_CLEAR(so->so_snd);
796 if (so->so_snd.sb_hiwat == 0 || so->so_rcv.sb_hiwat == 0) {