Home
last modified time | relevance | path

Searched refs:SCTP_BASE_INFO (Results 1 – 8 of 8) sorted by relevance

/freebsd-12.1/sys/netinet/
H A Dsctp_lock_bsd.h91 if(rw_wowned(&SCTP_BASE_INFO(ipi_ep_mtx))) { \
92 rw_wunlock(&SCTP_BASE_INFO(ipi_ep_mtx)); \
94 rw_destroy(&SCTP_BASE_INFO(ipi_ep_mtx)); \
160 if(rw_wowned(&SCTP_BASE_INFO(ipi_addr_mtx))) { \
161 rw_wunlock(&SCTP_BASE_INFO(ipi_addr_mtx)); \
163 rw_destroy(&SCTP_BASE_INFO(ipi_addr_mtx)); \
200 mtx_destroy(&SCTP_BASE_INFO(ipi_pktlog_mtx))
377 if(mtx_owned(&SCTP_BASE_INFO(wq_addr_mtx))) { \
380 mtx_destroy(&SCTP_BASE_INFO(wq_addr_mtx)); \
384 mtx_lock(&SCTP_BASE_INFO(wq_addr_mtx)); \
[all …]
H A Dsctp_pcb.c190 bucket = &SCTP_BASE_INFO(sctp_vrfhash)[(vrf_id & SCTP_BASE_INFO(hashvrfmark))]; in sctp_allocate_vrf()
207 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))]; in sctp_find_ifn()
226 bucket = &SCTP_BASE_INFO(sctp_vrfhash)[(vrf_id & SCTP_BASE_INFO(hashvrfmark))]; in sctp_find_vrf()
552 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))]; in sctp_add_addr_to_vrf()
1822 SCTP_BASE_INFO(hashmark))]; in sctp_isport_inuse()
1880 SCTP_BASE_INFO(hashmark))]; in sctp_swap_inpcb_for_listen()
6024 SCTP_HASH_FREE(SCTP_BASE_INFO(sctp_vrfhash), SCTP_BASE_INFO(hashvrfmark)); in sctp_pcb_finish()
6025 SCTP_HASH_FREE(SCTP_BASE_INFO(vrf_ifn_hash), SCTP_BASE_INFO(vrf_ifn_hashmark)); in sctp_pcb_finish()
6057 SCTP_HASH_FREE(SCTP_BASE_INFO(sctp_asochash), SCTP_BASE_INFO(hashasocmark)); in sctp_pcb_finish()
6059 SCTP_HASH_FREE(SCTP_BASE_INFO(sctp_ephash), SCTP_BASE_INFO(hashmark)); in sctp_pcb_finish()
[all …]
H A Dsctp_var.h106 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_readq), (_readq)); \
111 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_readq), (_readq)); \
117 (_readq) = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_readq), struct sctp_queued_to_read); \
128 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_strmoq), (_strmoq)); \
153 (SCTP_BASE_INFO(ipi_free_chunks) > SCTP_BASE_SYSCTL(sctp_system_free_resc_limit))) { \
154 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), (_chk)); \
159 atomic_add_int(&SCTP_BASE_INFO(ipi_free_chunks), 1); \
162 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), (_chk)); \
169 (_chk) = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_chunk), struct sctp_tmit_chunk); \
178 atomic_subtract_int(&SCTP_BASE_INFO(ipi_free_chunks), 1); \
[all …]
H A Dsctputil.c2010 tmr = &SCTP_BASE_INFO(addr_wq_timer); in sctp_timer_start()
2290 tmr = &SCTP_BASE_INFO(addr_wq_timer); in sctp_timer_stop()
7195 if (SCTP_BASE_INFO(udp4_tun_socket) != NULL) { in sctp_over_udp_stop()
7196 soclose(SCTP_BASE_INFO(udp4_tun_socket)); in sctp_over_udp_stop()
7197 SCTP_BASE_INFO(udp4_tun_socket) = NULL; in sctp_over_udp_stop()
7201 if (SCTP_BASE_INFO(udp6_tun_socket) != NULL) { in sctp_over_udp_stop()
7202 soclose(SCTP_BASE_INFO(udp6_tun_socket)); in sctp_over_udp_stop()
7203 SCTP_BASE_INFO(udp6_tun_socket) = NULL; in sctp_over_udp_stop()
7229 if (SCTP_BASE_INFO(udp4_tun_socket) != NULL) { in sctp_over_udp_start()
7235 if (SCTP_BASE_INFO(udp6_tun_socket) != NULL) { in sctp_over_udp_start()
[all …]
H A Dsctp_os_bsd.h143 #define SCTP_BASE_INFO(__m) V_system_base_info.sctppcbinfo.__m macro
H A Dsctp_sysctl.c370 LIST_FOREACH(inp, &SCTP_BASE_INFO(listhead), sctp_list) { in sctp_sysctl_handle_assoclist()
401 LIST_FOREACH(inp, &SCTP_BASE_INFO(listhead), sctp_list) { in sctp_sysctl_handle_assoclist()
H A Dsctp_asconf.c670 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asconf_ack), ack); in sctp_handle_asconf()
812 ack = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_asconf_ack), in sctp_handle_asconf()
2302 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_laddr), l); in sctp_asconf_iterator_end()
3251 wi = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_laddr), struct sctp_laddr); in sctp_addr_mgmt_ep_sa()
H A Dsctp_input.c731 …head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(stcb->asoc.my_vtag, SCTP_BASE_INFO(hashaso… in sctp_handle_nat_colliding_state()
751 …head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(stcb->asoc.my_vtag, SCTP_BASE_INFO(hashaso… in sctp_handle_nat_colliding_state()
2013 head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(stcb->asoc.my_vtag, in sctp_process_cookie_existing()
2014 SCTP_BASE_INFO(hashasocmark))]; in sctp_process_cookie_existing()