Home
last modified time | relevance | path

Searched refs:SCTP_BASE_SYSCTL (Results 1 – 21 of 21) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_sysctl.c66 SCTP_BASE_SYSCTL(sctp_sendspace) = SCTPCTL_MAXDGRAM_DEFAULT; in sctp_init_sysctls()
67 SCTP_BASE_SYSCTL(sctp_recvspace) = SCTPCTL_RECVSPACE_DEFAULT; in sctp_init_sysctls()
68 SCTP_BASE_SYSCTL(sctp_auto_asconf) = SCTPCTL_AUTOASCONF_DEFAULT; in sctp_init_sysctls()
69 SCTP_BASE_SYSCTL(sctp_multiple_asconfs) = SCTPCTL_MULTIPLEASCONFS_DEFAULT; in sctp_init_sysctls()
70 SCTP_BASE_SYSCTL(sctp_ecn_enable) = SCTPCTL_ECN_ENABLE_DEFAULT; in sctp_init_sysctls()
71 SCTP_BASE_SYSCTL(sctp_pr_enable) = SCTPCTL_PR_ENABLE_DEFAULT; in sctp_init_sysctls()
72 SCTP_BASE_SYSCTL(sctp_auth_enable) = SCTPCTL_AUTH_ENABLE_DEFAULT; in sctp_init_sysctls()
73 SCTP_BASE_SYSCTL(sctp_asconf_enable) = SCTPCTL_ASCONF_ENABLE_DEFAULT; in sctp_init_sysctls()
74 SCTP_BASE_SYSCTL(sctp_reconfig_enable) = SCTPCTL_RECONFIG_ENABLE_DEFAULT; in sctp_init_sysctls()
75 SCTP_BASE_SYSCTL(sctp_nrsack_enable) = SCTPCTL_NRSACK_ENABLE_DEFAULT; in sctp_init_sysctls()
[all …]
Dsctp_cc_functions.c81 cwnd_in_mtu = SCTP_BASE_SYSCTL(sctp_initial_cwnd); in sctp_set_initial_cc_param()
109 if (SCTP_BASE_SYSCTL(sctp_logging_level) & in sctp_set_initial_cc_param()
204 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_CWND_MONITOR_ENABLE) { in sctp_cwnd_update_after_fr()
675 bw_shift = SCTP_BASE_SYSCTL(sctp_rttvar_bw); in cc_bw_limit()
737 rtt_offset = net->cc_mod.rtcc.lbw_rtt >> SCTP_BASE_SYSCTL(sctp_rttvar_rtt); in cc_bw_limit()
834 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_CWND_LOGGING_ENABLE) { in sctp_cwnd_update_after_sack_common()
924 (uint64_t)SCTP_BASE_SYSCTL(sctp_L2_abc_variable) * in sctp_cwnd_update_after_sack_common()
944 (uint64_t)SCTP_BASE_SYSCTL(sctp_L2_abc_variable) * in sctp_cwnd_update_after_sack_common()
962 (uint64_t)SCTP_BASE_SYSCTL(sctp_L2_abc_variable)) >> in sctp_cwnd_update_after_sack_common()
979 if (incr > net->mtu * SCTP_BASE_SYSCTL(sctp_L2_abc_variable)) { in sctp_cwnd_update_after_sack_common()
[all …]
Dsctp_process_lock.h175 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
180 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
211 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
241 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
344 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
349 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
366 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
371 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
416 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
429 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
[all …]
Dsctp_indata.c316 if (SCTP_BASE_SYSCTL(sctp_do_drain) == 0) { in sctp_mark_non_revokable()
425 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_STR_LOGGING_ENABLE) { in sctp_place_control_in_stream()
538 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_STR_LOGGING_ENABLE) { in sctp_queue_data_to_stream()
588 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_STR_LOGGING_ENABLE) { in sctp_queue_data_to_stream()
640 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_STR_LOGGING_ENABLE) { in sctp_queue_data_to_stream()
1780 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MAP_LOGGING_ENABLE) { in sctp_process_a_data_chunk()
1957 asoc->cnt_msg_on_sb) >= SCTP_BASE_SYSCTL(sctp_max_chunks_on_queue)) || in sctp_process_a_data_chunk()
1994 asoc->cnt_msg_on_sb) >= SCTP_BASE_SYSCTL(sctp_max_chunks_on_queue)) { in sctp_process_a_data_chunk()
2077 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) { in sctp_process_a_data_chunk()
2179 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_STR_LOGGING_ENABLE) { in sctp_process_a_data_chunk()
[all …]
Dsctp_timer.c133 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_threshold_management()
143 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_threshold_management()
164 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_threshold_management()
514 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) {
539 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) {
586 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) {
598 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) {
658 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) {
670 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FLIGHT_LOGGING_ENABLE) {
680 stcb->asoc.peers_rwnd += SCTP_BASE_SYSCTL(sctp_peer_chunk_oh);
[all …]
Dsctp_pcb.c2826 inp->sctp_cmt_on_off = SCTP_BASE_SYSCTL(sctp_cmt_on_off);
2827 inp->ecn_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_ecn_enable);
2828 inp->prsctp_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_pr_enable);
2829 inp->auth_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_auth_enable);
2830 inp->asconf_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_asconf_enable);
2831 inp->reconfig_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_reconfig_enable);
2832 inp->nrsack_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_nrsack_enable);
2833 inp->pktdrop_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_pktdrop_enable);
2890 if (SCTP_BASE_SYSCTL(sctp_default_frag_interleave) == SCTP_FRAG_LEVEL_1) {
2893 } else if (SCTP_BASE_SYSCTL(sctp_default_frag_interleave) == SCTP_FRAG_LEVEL_2) {
[all …]
Dsctp_output.c3967 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) {
3979 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) {
4329 if (htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port)) == 0) {
4336 udp->uh_sport = htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port));
4424 if (!(SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback) &&
4434 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LAST_PACKET_TRACING)
4439 if ((SCTP_BASE_SYSCTL(sctp_output_unlocked)) && (so_locked)) {
4449 if ((SCTP_BASE_SYSCTL(sctp_output_unlocked)) && (so_locked)) {
4818 if (htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port)) == 0) {
4825 udp->uh_sport = htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port));
[all …]
Dsctputil.c2078 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_timeout_handler()
3118 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_RTTVAR_LOGGING_ENABLE) { in sctp_calculate_rto()
3127 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_RTTVAR_LOGGING_ENABLE) { in sctp_calculate_rto()
3847 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) { in sctp_notify_partial_delivery_indication()
3851 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) { in sctp_notify_partial_delivery_indication()
4848 if ((SCTP_BASE_SYSCTL(sctp_blackhole) == 0) ||
4849 ((SCTP_BASE_SYSCTL(sctp_blackhole) == 1) &&
5155 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) {
5159 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) {
5181 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_SB_LOGGING_ENABLE) {
[all …]
Dsctp_input.c176 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_handle_init()
204 if (SCTP_BASE_SYSCTL(sctp_blackhole) == 0) { in sctp_handle_init()
205 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_handle_init()
324 if (SCTP_BASE_SYSCTL(sctp_logging_level) & (SCTP_CWND_MONITOR_ENABLE|SCTP_CWND_LOGGING_ENABLE)) { in sctp_process_init()
399 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MAP_LOGGING_ENABLE) { in sctp_process_init()
533 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_process_init_ack()
565 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_process_init_ack()
601 (stcb->asoc.chunks_on_out_queue <= SCTP_BASE_SYSCTL(sctp_max_chunks_on_queue))) || in sctp_process_init_ack()
713 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_handle_heartbeat_ack()
937 (cnt_hb_sent < SCTP_BASE_SYSCTL(sctp_hb_maxburst))) { in sctp_start_net_timers()
[all …]
Dsctp_bsd_addr.c504 if (SCTP_BASE_SYSCTL(sctp_ignore_vmware_interfaces) && sctp_is_vmware_interface(ifn)) {
798 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) {
817 mbuf_threshold = SCTP_BASE_SYSCTL(sctp_mbuf_threshold_count);
840 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) {
Dsctp_ss_functions.c222 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_default_select()
383 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_rrp_packet_done()
554 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_prio_select()
714 ((SCTP_BASE_SYSCTL(sctp_cmt_on_off) > 0) || in sctp_ss_fb_select()
715 (SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0 && in sctp_ss_fb_select()
938 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_fcfs_select()
Dsctp_os_userspace.h579 #define SCTP_BASE_SYSCTL(__m) system_base_info.sctpsysctl.__m macro
594 if (SCTP_BASE_SYSCTL(sctp_debug_on) & level) { \
602 if (SCTP_BASE_SYSCTL(sctp_debug_on) & level ) { \
Dsctp_var.h156 if (((_stcb)->asoc.free_chunk_cnt > SCTP_BASE_SYSCTL(sctp_asoc_free_resc_limit)) || \
157 (SCTP_BASE_INFO(ipi_free_chunks) > SCTP_BASE_SYSCTL(sctp_system_free_resc_limit))) { \
Dsctp_peeloff.c277 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) { in sctp_get_peeloff()
Dsctp_asconf.c249 if (zero_address && SCTP_BASE_SYSCTL(sctp_nat_friendly)) { in sctp_process_asconf_add_ip()
418 if (zero_address && SCTP_BASE_SYSCTL(sctp_nat_friendly)) { in sctp_process_asconf_delete_ip()
545 if (zero_address && SCTP_BASE_SYSCTL(sctp_nat_friendly)) { in sctp_process_asconf_set_primary()
756 (cnt < SCTP_BASE_SYSCTL(sctp_hb_maxburst)), error); in sctp_handle_asconf()
1355 if (SCTP_BASE_SYSCTL(sctp_debug_on) & SCTP_DEBUG_ASCONF2) { in sctp_asconf_queue_mgmt()
1450 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_asconf_queue_add()
Dsctp_usrreq.c95 SCTP_BASE_SYSCTL(sctp_udp_tunneling_port) = port; in sctp_init()
99 SCTP_BASE_SYSCTL(sctp_sendspace) = sb_max_adj; in sctp_init()
102 SCTP_BASE_SYSCTL(sctp_max_chunks_on_queue) = (nmbclusters / 8); in sctp_init()
108 SCTP_BASE_SYSCTL(sctp_sendspace) = min(sb_max_adj, in sctp_init()
116 SCTP_BASE_SYSCTL(sctp_recvspace) = SCTP_BASE_SYSCTL(sctp_sendspace); in sctp_init()
229 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FLIGHT_LOGGING_ENABLE) { in sctp_pathmtu_adjustment()
672 error = SCTP_SORESERVE(so, SCTP_BASE_SYSCTL(sctp_sendspace), SCTP_BASE_SYSCTL(sctp_recvspace));
749 error = SCTP_SORESERVE(so, SCTP_BASE_SYSCTL(sctp_sendspace), SCTP_BASE_SYSCTL(sctp_recvspace));
4486 if ((SCTP_BASE_SYSCTL(sctp_auto_asconf) == 0) &&
4629 if (SCTP_BASE_SYSCTL(sctp_cmt_on_off)) {
[all …]
Dsctp_auth.c52 #define SCTP_AUTH_DEBUG (SCTP_BASE_SYSCTL(sctp_debug_on) & SCTP_DEBUG_AUTH1)
53 #define SCTP_AUTH_DEBUG2 (SCTP_BASE_SYSCTL(sctp_debug_on) & SCTP_DEBUG_AUTH2)
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c409 if (SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback) && in recv_function_raw()
597 if (SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback) && in recv_function_raw6()
803 if (SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback) && in recv_function_udp()
991 if (SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback) && in recv_function_udp6()
1219 addr_ipv4.sin_port = htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port));
1365 addr_ipv6.sin6_port = htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port));
Duser_socket.c3409 SCTP_BASE_SYSCTL(__field) = value; \
3426 SCTP_BASE_SYSCTL(__field) = value; \
3510 return SCTP_BASE_SYSCTL(__field); \
Duser_mbuf.c305 mbuf_threshold = SCTP_BASE_SYSCTL(sctp_mbuf_threshold_count); in m_getm2()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c163 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) {
168 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LAST_PACKET_TRACING) {
269 if (SCTP_BASE_SYSCTL(sctp_no_csum_on_loopback) &&
758 error = SCTP_SORESERVE(so, SCTP_BASE_SYSCTL(sctp_sendspace), SCTP_BASE_SYSCTL(sctp_recvspace));