|
#define | SCTP_IPI_COUNT_INIT() |
|
#define | SCTP_WQ_ADDR_INIT() (void)pthread_mutex_init(&SCTP_BASE_INFO(wq_addr_mtx), NULL) |
|
#define | SCTP_WQ_ADDR_DESTROY() (void)pthread_mutex_destroy(&SCTP_BASE_INFO(wq_addr_mtx)) |
|
#define | SCTP_WQ_ADDR_LOCK() (void)pthread_mutex_lock(&SCTP_BASE_INFO(wq_addr_mtx)) |
|
#define | SCTP_WQ_ADDR_UNLOCK() (void)pthread_mutex_unlock(&SCTP_BASE_INFO(wq_addr_mtx)) |
|
#define | SCTP_INP_INFO_LOCK_INIT() (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_ep_mtx), NULL) |
|
#define | SCTP_INP_INFO_LOCK_DESTROY() (void)pthread_mutex_destroy(&SCTP_BASE_INFO(ipi_ep_mtx)) |
|
#define | SCTP_INP_INFO_RLOCK() (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) |
|
#define | SCTP_INP_INFO_TRYLOCK() (!(pthread_mutex_trylock(&SCTP_BASE_INFO(ipi_ep_mtx)))) |
|
#define | SCTP_INP_INFO_WLOCK() (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) |
|
#define | SCTP_INP_INFO_RUNLOCK() (void)pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_ep_mtx)) |
|
#define | SCTP_INP_INFO_WUNLOCK() (void)pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_ep_mtx)) |
|
#define | SCTP_IP_PKTLOG_INIT() (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_pktlog_mtx), NULL) |
|
#define | SCTP_IP_PKTLOG_DESTROY() (void)pthread_mutex_destroy(&SCTP_BASE_INFO(ipi_pktlog_mtx)) |
|
#define | SCTP_IP_PKTLOG_LOCK() (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_pktlog_mtx)) |
|
#define | SCTP_IP_PKTLOG_UNLOCK() (void)pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_pktlog_mtx)) |
|
#define | SCTP_INP_READ_INIT(_inp) (void)pthread_mutex_init(&(_inp)->inp_rdata_mtx, NULL) |
|
#define | SCTP_INP_READ_DESTROY(_inp) (void)pthread_mutex_destroy(&(_inp)->inp_rdata_mtx) |
|
#define | SCTP_INP_READ_LOCK(_inp) |
|
#define | SCTP_INP_READ_UNLOCK(_inp) (void)pthread_mutex_unlock(&(_inp)->inp_rdata_mtx) |
|
#define | SCTP_INP_LOCK_INIT(_inp) (void)pthread_mutex_init(&(_inp)->inp_mtx, NULL) |
|
#define | SCTP_ASOC_CREATE_LOCK_INIT(_inp) (void)pthread_mutex_init(&(_inp)->inp_create_mtx, NULL) |
|
#define | SCTP_INP_LOCK_DESTROY(_inp) (void)pthread_mutex_destroy(&(_inp)->inp_mtx) |
|
#define | SCTP_ASOC_CREATE_LOCK_DESTROY(_inp) (void)pthread_mutex_destroy(&(_inp)->inp_create_mtx) |
|
#define | SCTP_INP_RLOCK(_inp) |
|
#define | SCTP_INP_WLOCK(_inp) |
|
#define | SCTP_TCB_SEND_LOCK_INIT(_tcb) (void)pthread_mutex_init(&(_tcb)->tcb_send_mtx, NULL) |
|
#define | SCTP_TCB_SEND_LOCK_DESTROY(_tcb) (void)pthread_mutex_destroy(&(_tcb)->tcb_send_mtx) |
|
#define | SCTP_TCB_SEND_LOCK(_tcb) |
|
#define | SCTP_TCB_SEND_UNLOCK(_tcb) (void)pthread_mutex_unlock(&(_tcb)->tcb_send_mtx) |
|
#define | SCTP_INP_INCR_REF(_inp) atomic_add_int(&((_inp)->refcount), 1) |
|
#define | SCTP_INP_DECR_REF(_inp) atomic_add_int(&((_inp)->refcount), -1) |
|
#define | SCTP_ASOC_CREATE_LOCK(_inp) |
|
#define | SCTP_INP_RUNLOCK(_inp) (void)pthread_mutex_unlock(&(_inp)->inp_mtx) |
|
#define | SCTP_INP_WUNLOCK(_inp) (void)pthread_mutex_unlock(&(_inp)->inp_mtx) |
|
#define | SCTP_ASOC_CREATE_UNLOCK(_inp) (void)pthread_mutex_unlock(&(_inp)->inp_create_mtx) |
|
#define | SCTP_TCB_LOCK_INIT(_tcb) (void)pthread_mutex_init(&(_tcb)->tcb_mtx, NULL) |
|
#define | SCTP_TCB_LOCK_DESTROY(_tcb) (void)pthread_mutex_destroy(&(_tcb)->tcb_mtx) |
|
#define | SCTP_TCB_LOCK(_tcb) |
|
#define | SCTP_TCB_TRYLOCK(_tcb) (!(pthread_mutex_trylock(&(_tcb)->tcb_mtx))) |
|
#define | SCTP_TCB_UNLOCK(_tcb) (void)pthread_mutex_unlock(&(_tcb)->tcb_mtx) |
|
#define | SCTP_TCB_LOCK_ASSERT(_tcb) |
|
#define | SCTP_INP_LOCK_CONTENDED(_inp) (0) /* Don't know if this is possible */ |
|
#define | SCTP_INP_READ_CONTENDED(_inp) (0) /* Don't know if this is possible */ |
|
#define | SCTP_ASOC_CREATE_LOCK_CONTENDED(_inp) (0) /* Don't know if this is possible */ |
|
#define | SOCK_LOCK(_so) |
|
#define | SOCK_UNLOCK(_so) |
|
#define | SOCKBUF_LOCK(_so_buf) |
|
#define | SOCKBUF_UNLOCK(_so_buf) |
|
#define | SOCKBUF_LOCK_ASSERT(_so_buf) |
|
#define | SCTP_STATLOG_INIT_LOCK() |
|
#define | SCTP_STATLOG_LOCK() |
|
#define | SCTP_STATLOG_UNLOCK() |
|
#define | SCTP_STATLOG_DESTROY() |
|
#define | SCTP_IPI_ADDR_INIT() (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_addr_mtx), NULL) |
|
#define | SCTP_IPI_ADDR_DESTROY() (void)pthread_mutex_destroy(&SCTP_BASE_INFO(ipi_addr_mtx)) |
|
#define | SCTP_IPI_ADDR_RLOCK() |
|
#define | SCTP_IPI_ADDR_RUNLOCK() (void)pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_addr_mtx)) |
|
#define | SCTP_IPI_ADDR_WLOCK() |
|
#define | SCTP_IPI_ADDR_WUNLOCK() (void)pthread_mutex_unlock(&SCTP_BASE_INFO(ipi_addr_mtx)) |
|
#define | SCTP_ITERATOR_LOCK_INIT() (void)pthread_mutex_init(&sctp_it_ctl.it_mtx, NULL) |
|
#define | SCTP_ITERATOR_LOCK() |
|
#define | SCTP_ITERATOR_UNLOCK() (void)pthread_mutex_unlock(&sctp_it_ctl.it_mtx) |
|
#define | SCTP_ITERATOR_LOCK_DESTROY() (void)pthread_mutex_destroy(&sctp_it_ctl.it_mtx) |
|
#define | SCTP_IPI_ITERATOR_WQ_INIT() (void)pthread_mutex_init(&sctp_it_ctl.ipi_iterator_wq_mtx, NULL) |
|
#define | SCTP_IPI_ITERATOR_WQ_DESTROY() (void)pthread_mutex_destroy(&sctp_it_ctl.ipi_iterator_wq_mtx) |
|
#define | SCTP_IPI_ITERATOR_WQ_LOCK() |
|
#define | SCTP_IPI_ITERATOR_WQ_UNLOCK() (void)pthread_mutex_unlock(&sctp_it_ctl.ipi_iterator_wq_mtx) |
|
#define | SCTP_INCR_EP_COUNT() |
|
#define | SCTP_DECR_EP_COUNT() |
|
#define | SCTP_INCR_ASOC_COUNT() |
|
#define | SCTP_DECR_ASOC_COUNT() |
|
#define | SCTP_INCR_LADDR_COUNT() |
|
#define | SCTP_DECR_LADDR_COUNT() |
|
#define | SCTP_INCR_RADDR_COUNT() |
|
#define | SCTP_DECR_RADDR_COUNT() |
|
#define | SCTP_INCR_CHK_COUNT() |
|
#define | SCTP_DECR_CHK_COUNT() |
|
#define | SCTP_INCR_READQ_COUNT() |
|
#define | SCTP_DECR_READQ_COUNT() |
|
#define | SCTP_INCR_STRMOQ_COUNT() |
|
#define | SCTP_DECR_STRMOQ_COUNT() |
|