Searched refs:SCTP_BASE_INFO (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/sys/netinet/ |
| H A D | sctp_lock_bsd.h | 89 rw_wunlock(&SCTP_BASE_INFO(ipi_ep_mtx)); \ 91 rw_destroy(&SCTP_BASE_INFO(ipi_ep_mtx)); \ 95 rw_rlock(&SCTP_BASE_INFO(ipi_ep_mtx)); \ 99 rw_wlock(&SCTP_BASE_INFO(ipi_ep_mtx)); \ 103 rw_runlock(&SCTP_BASE_INFO(ipi_ep_mtx)); \ 107 rw_wunlock(&SCTP_BASE_INFO(ipi_ep_mtx)); \ 174 rw_rlock(&SCTP_BASE_INFO(ipi_addr_mtx)); \ 178 rw_wlock(&SCTP_BASE_INFO(ipi_addr_mtx)); \ 429 mtx_init(&SCTP_BASE_INFO(wq_addr_mtx), \ 437 mtx_destroy(&SCTP_BASE_INFO(wq_addr_mtx)); \ [all …]
|
| H A D | sctp_pcb.c | 186 bucket = &SCTP_BASE_INFO(sctp_vrfhash)[(vrf_id & SCTP_BASE_INFO(hashvrfmark))]; in sctp_allocate_vrf() 203 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))]; in sctp_find_ifn() 221 bucket = &SCTP_BASE_INFO(sctp_vrfhash)[(vrf_id & SCTP_BASE_INFO(hashvrfmark))]; in sctp_find_vrf() 544 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))]; in sctp_add_addr_to_vrf() 1797 SCTP_BASE_INFO(hashmark))]; in sctp_isport_inuse() 1854 SCTP_BASE_INFO(hashmark))]; in sctp_swap_inpcb_for_listen() 5949 SCTP_HASH_FREE(SCTP_BASE_INFO(sctp_vrfhash), SCTP_BASE_INFO(hashvrfmark)); in sctp_pcb_finish() 5950 SCTP_HASH_FREE(SCTP_BASE_INFO(vrf_ifn_hash), SCTP_BASE_INFO(vrf_ifn_hashmark)); in sctp_pcb_finish() 5982 SCTP_HASH_FREE(SCTP_BASE_INFO(sctp_asochash), SCTP_BASE_INFO(hashasocmark)); in sctp_pcb_finish() 5984 SCTP_HASH_FREE(SCTP_BASE_INFO(sctp_ephash), SCTP_BASE_INFO(hashmark)); in sctp_pcb_finish() [all …]
|
| H A D | sctp_var.h | 105 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_readq), (_readq)); \ 110 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_readq), (_readq)); \ 116 (_readq) = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_readq), struct sctp_queued_to_read); \ 127 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_strmoq), (_strmoq)); \ 152 (SCTP_BASE_INFO(ipi_free_chunks) > SCTP_BASE_SYSCTL(sctp_system_free_resc_limit))) { \ 153 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), (_chk)); \ 158 atomic_add_int(&SCTP_BASE_INFO(ipi_free_chunks), 1); \ 161 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), (_chk)); \ 168 (_chk) = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_chunk), struct sctp_tmit_chunk); \ 177 atomic_subtract_int(&SCTP_BASE_INFO(ipi_free_chunks), 1); \ [all …]
|
| H A D | sctputil.c | 2508 tmr = &SCTP_BASE_INFO(addr_wq_timer); in sctp_timer_start() 2811 tmr = &SCTP_BASE_INFO(addr_wq_timer); in sctp_timer_stop() 7439 if (SCTP_BASE_INFO(udp4_tun_socket) != NULL) { in sctp_over_udp_stop() 7440 soclose(SCTP_BASE_INFO(udp4_tun_socket)); in sctp_over_udp_stop() 7441 SCTP_BASE_INFO(udp4_tun_socket) = NULL; in sctp_over_udp_stop() 7445 if (SCTP_BASE_INFO(udp6_tun_socket) != NULL) { in sctp_over_udp_stop() 7446 soclose(SCTP_BASE_INFO(udp6_tun_socket)); in sctp_over_udp_stop() 7447 SCTP_BASE_INFO(udp6_tun_socket) = NULL; in sctp_over_udp_stop() 7473 if (SCTP_BASE_INFO(udp4_tun_socket) != NULL) { in sctp_over_udp_start() 7479 if (SCTP_BASE_INFO(udp6_tun_socket) != NULL) { in sctp_over_udp_start() [all …]
|
| H A D | sctp_os_bsd.h | 145 #define SCTP_BASE_INFO(__m) V_system_base_info.sctppcbinfo.__m macro
|
| H A D | sctp_input.c | 695 …head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(stcb->asoc.my_vtag, SCTP_BASE_INFO(hashaso… in sctp_handle_nat_colliding_state() 715 …head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(stcb->asoc.my_vtag, SCTP_BASE_INFO(hashaso… in sctp_handle_nat_colliding_state() 1854 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); in sctp_process_cookie_existing() 1869 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_chunk), chk); in sctp_process_cookie_existing() 1881 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asconf_ack), aack); in sctp_process_cookie_existing() 1891 head = &SCTP_BASE_INFO(sctp_asochash)[SCTP_PCBHASH_ASOC(stcb->asoc.my_vtag, in sctp_process_cookie_existing() 1892 SCTP_BASE_INFO(hashasocmark))]; in sctp_process_cookie_existing()
|
| H A D | sctp_sysctl.c | 367 LIST_FOREACH(inp, &SCTP_BASE_INFO(listhead), sctp_list) { in sctp_sysctl_handle_assoclist() 398 LIST_FOREACH(inp, &SCTP_BASE_INFO(listhead), sctp_list) { in sctp_sysctl_handle_assoclist()
|
| H A D | sctp_asconf.c | 667 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_asconf_ack), ack); in sctp_handle_asconf() 809 ack = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_asconf_ack), in sctp_handle_asconf() 2277 SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_laddr), l); in sctp_asconf_iterator_end() 3220 wi = SCTP_ZONE_GET(SCTP_BASE_INFO(ipi_zone_laddr), struct sctp_laddr); in sctp_addr_mgmt_ep_sa()
|