Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dsctp_sysctl.c57 SCTP_BASE_SYSCTL(sctp_sendspace) = SCTPCTL_MAXDGRAM_DEFAULT; in sctp_init_sysctls()
58 SCTP_BASE_SYSCTL(sctp_recvspace) = SCTPCTL_RECVSPACE_DEFAULT; in sctp_init_sysctls()
131 SCTP_BASE_SYSCTL(sctp_debug_on) = SCTPCTL_DEBUG_DEFAULT; in sctp_init_sysctls()
571 old = SCTP_BASE_SYSCTL(sctp_udp_tunneling_port);
586 SCTP_BASE_SYSCTL(sctp_udp_tunneling_port) = new;
605 new = SCTP_BASE_SYSCTL(sctp_auth_enable);
619 SCTP_BASE_SYSCTL(sctp_auth_enable) = new;
631 new = SCTP_BASE_SYSCTL(sctp_asconf_enable);
645 SCTP_BASE_SYSCTL(sctp_asconf_enable) = new;
845 new = SCTP_BASE_SYSCTL(var_name); \
[all …]
H A Dsctp_cc_functions.c77 cwnd_in_mtu = SCTP_BASE_SYSCTL(sctp_initial_cwnd); in sctp_set_initial_cc_param()
103 if (SCTP_BASE_SYSCTL(sctp_logging_level) & in sctp_set_initial_cc_param()
618 bw_shift = SCTP_BASE_SYSCTL(sctp_rttvar_bw); in cc_bw_limit()
840 (uint64_t)SCTP_BASE_SYSCTL(sctp_L2_abc_variable) * in sctp_cwnd_update_after_sack_common()
863 (uint64_t)SCTP_BASE_SYSCTL(sctp_L2_abc_variable) * in sctp_cwnd_update_after_sack_common()
881 (uint64_t)SCTP_BASE_SYSCTL(sctp_L2_abc_variable)) >> in sctp_cwnd_update_after_sack_common()
898 if (incr > net->mtu * SCTP_BASE_SYSCTL(sctp_L2_abc_variable)) { in sctp_cwnd_update_after_sack_common()
899 incr = net->mtu * SCTP_BASE_SYSCTL(sctp_L2_abc_variable); in sctp_cwnd_update_after_sack_common()
1373 cwnd_in_mtu = SCTP_BASE_SYSCTL(sctp_initial_cwnd); in sctp_cwnd_new_rtcc_transmission_begins()
1428 net->cc_mod.rtcc.ret_from_eq = SCTP_BASE_SYSCTL(sctp_rttvar_eqret); in sctp_set_rtcc_initial_cc_param()
[all …]
H A Dsctp_indata.c291 if (SCTP_BASE_SYSCTL(sctp_do_drain) == 0) { in sctp_mark_non_revokable()
511 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_STR_LOGGING_ENABLE) { in sctp_queue_data_to_stream()
2183 if (SCTP_BASE_SYSCTL(sctp_do_drain) == 0) { in sctp_process_a_data_chunk()
2612 (SCTP_BASE_SYSCTL(sctp_cmt_use_dac)) && in sctp_sack_check()
3326 SCTP_BASE_SYSCTL(sctp_cmt_use_dac)) { in sctp_strike_gap_ack_chunks()
3431 SCTP_BASE_SYSCTL(sctp_cmt_use_dac)) { in sctp_strike_gap_ack_chunks()
3494 SCTP_BASE_SYSCTL(sctp_cmt_use_dac)) { in sctp_strike_gap_ack_chunks()
3555 SCTP_BASE_SYSCTL(sctp_cmt_use_dac)) { in sctp_strike_gap_ack_chunks()
3766 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOG_TRY_ADVANCE) { in sctp_try_advance_peer_ack_point()
5044 SCTP_BASE_SYSCTL(sctp_cmt_use_dac) && in sctp_handle_sack()
[all …]
H A Dsctp_os_bsd.h148 #define SCTP_BASE_SYSCTL(__m) V_system_base_info.sctpsysctl.__m macro
156 if (SCTP_BASE_SYSCTL(sctp_debug_on) & level ) { \
164 if (SCTP_BASE_SYSCTL(sctp_debug_on) & level ) { \
175 #define SCTP_LTRACE_CHK(a, b, c, d) if(SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LTRACE_CHUNK_ENA…
182 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LTRACE_ERROR_ENABLE) \
186 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LTRACE_ERROR_ENABLE) \
H A Dsctp_timer.c126 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_threshold_management()
136 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_threshold_management()
157 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_threshold_management()
523 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) { in sctp_mark_all_for_resend()
544 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) { in sctp_mark_all_for_resend()
591 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) { in sctp_mark_all_for_resend()
681 stcb->asoc.peers_rwnd += SCTP_BASE_SYSCTL(sctp_peer_chunk_oh); in sctp_mark_all_for_resend()
731 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) { in sctp_mark_all_for_resend()
823 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FR_LOGGING_ENABLE) { in sctp_t3rxt_timer()
826 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_CWND_LOGGING_ENABLE) { in sctp_t3rxt_timer()
[all …]
H A Dsctp_lock_bsd.h259 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
265 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
311 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
364 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) \
H A Dsctp_pcb.c2432 inp->sctp_cmt_on_off = SCTP_BASE_SYSCTL(sctp_cmt_on_off); in sctp_inpcb_alloc()
2541 m->sctp_maxrto = SCTP_BASE_SYSCTL(sctp_rto_max_default); in sctp_inpcb_alloc()
2542 m->sctp_minrto = SCTP_BASE_SYSCTL(sctp_rto_min_default); in sctp_inpcb_alloc()
2543 m->initial_rto = SCTP_BASE_SYSCTL(sctp_rto_initial_default); in sctp_inpcb_alloc()
2545 m->sctp_sack_freq = SCTP_BASE_SYSCTL(sctp_sack_freq_default); in sctp_inpcb_alloc()
2552 m->max_burst = SCTP_BASE_SYSCTL(sctp_max_burst_default); in sctp_inpcb_alloc()
3087 if (SCTP_BASE_SYSCTL(sctp_auto_asconf) == 0) { in sctp_inpcb_bind()
3094 if (SCTP_BASE_SYSCTL(sctp_multiple_asconfs) == 0) { in sctp_inpcb_bind()
3103 if (SCTP_BASE_SYSCTL(sctp_mobility_base) == 0) { in sctp_inpcb_bind()
3114 if (SCTP_BASE_SYSCTL(sctp_mobility_fasthandoff) == 0) { in sctp_inpcb_bind()
[all …]
H A Dsctp_output.c4717 if (SCTP_BASE_SYSCTL(sctp_inits_include_nat_friendly)) { in sctp_send_initiate()
7338 if (SCTP_BASE_SYSCTL(sctp_enable_sack_immediately) && in sctp_move_to_outqueue()
8628 if (SCTP_BASE_SYSCTL(sctp_enable_sack_immediately) && in sctp_med_chunk_output()
9547 if ((SCTP_BASE_SYSCTL(sctp_max_retran_chunk)) && in sctp_chunk_retransmission()
9846 SCTP_BASE_SYSCTL(sctp_peer_chunk_oh))); in sctp_chunk_retransmission()
10094 if (SCTP_BASE_SYSCTL(sctp_use_cwnd_based_maxburst)) { in sctp_chunk_output()
10172 SCTP_BASE_SYSCTL(sctp_use_cwnd_based_maxburst) || in sctp_chunk_output()
10175 if (SCTP_BASE_SYSCTL(sctp_use_cwnd_based_maxburst) == 0) { in sctp_chunk_output()
10605 SCTP_BASE_SYSCTL(sctp_cmt_use_dac)) { in sctp_send_sack()
11130 if (htons(SCTP_BASE_SYSCTL(sctp_udp_tunneling_port)) == 0) { in sctp_send_resp_msg()
[all …]
H A Dsctputil.c4540 if ((SCTP_BASE_SYSCTL(sctp_blackhole) == 0) || in sctp_handle_ootb()
4541 ((SCTP_BASE_SYSCTL(sctp_blackhole) == 1) && in sctp_handle_ootb()
7052 saveindex = SCTP_BASE_SYSCTL(sctp_log).index; in sctp_log_trace()
7063 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].subsys = subsys; in sctp_log_trace()
7064 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].params[0] = a; in sctp_log_trace()
7065 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].params[1] = b; in sctp_log_trace()
7066 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].params[2] = c; in sctp_log_trace()
7067 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].params[3] = d; in sctp_log_trace()
7068 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].params[4] = e; in sctp_log_trace()
7069 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].params[5] = f; in sctp_log_trace()
[all …]
H A Dsctp_input.c156 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_handle_init()
182 if (SCTP_BASE_SYSCTL(sctp_blackhole) == 0) { in sctp_handle_init()
183 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_handle_init()
374 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MAP_LOGGING_ENABLE) { in sctp_process_init()
504 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_process_init_ack()
534 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_process_init_ack()
640 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_handle_heartbeat_ack()
851 (cnt_hb_sent < SCTP_BASE_SYSCTL(sctp_hb_maxburst))) { in sctp_start_net_timers()
4951 (SCTP_BASE_SYSCTL(sctp_abort_if_one_2_one_hits_limit))) { in sctp_process_control()
5429 if ((SCTP_BASE_SYSCTL(sctp_blackhole) == 0) || in sctp_common_input_processing()
[all …]
H A Dsctp_ss_functions.c216 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_default_select()
375 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_rrp_packet_done()
545 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_prio_select()
708 ((SCTP_BASE_SYSCTL(sctp_cmt_on_off) > 0) || in sctp_ss_fb_select()
709 (SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0 && in sctp_ss_fb_select()
926 SCTP_BASE_SYSCTL(sctp_cmt_on_off) == 0) { in sctp_ss_fcfs_select()
H A Dsctp_var.h151 if (((_stcb)->asoc.free_chunk_cnt > SCTP_BASE_SYSCTL(sctp_asoc_free_resc_limit)) || \
152 (SCTP_BASE_INFO(ipi_free_chunks) > SCTP_BASE_SYSCTL(sctp_system_free_resc_limit))) { \
H A Dsctp_bsd_addr.c379 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) { in sctp_get_mbuf_for_msg()
H A Dsctp_asconf.c243 if (zero_address && SCTP_BASE_SYSCTL(sctp_nat_friendly)) { in sctp_process_asconf_add_ip()
408 if (zero_address && SCTP_BASE_SYSCTL(sctp_nat_friendly)) { in sctp_process_asconf_delete_ip()
531 if (zero_address && SCTP_BASE_SYSCTL(sctp_nat_friendly)) { in sctp_process_asconf_set_primary()
741 (cnt < SCTP_BASE_SYSCTL(sctp_hb_maxburst)), error); in sctp_handle_asconf()
1317 if (SCTP_BASE_SYSCTL(sctp_debug_on) & SCTP_DEBUG_ASCONF2) { in sctp_asconf_queue_mgmt()
1413 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_THRESHOLD_LOGGING) { in sctp_asconf_queue_add()
H A Dsctp_usrreq.c69 SCTP_BASE_SYSCTL(sctp_max_chunks_on_queue) = (nmbclusters / 8); in sctp_init()
75 SCTP_BASE_SYSCTL(sctp_sendspace) = min(sb_max_adj, in sctp_init()
82 SCTP_BASE_SYSCTL(sctp_recvspace) = SCTP_BASE_SYSCTL(sctp_sendspace); in sctp_init()
137 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_FLIGHT_LOGGING_ENABLE) { in sctp_pathmtu_adjustment()
474 error = SCTP_SORESERVE(so, SCTP_BASE_SYSCTL(sctp_sendspace), SCTP_BASE_SYSCTL(sctp_recvspace)); in sctp_attach()
3770 if ((SCTP_BASE_SYSCTL(sctp_auto_asconf) == 0) &&
3918 if (SCTP_BASE_SYSCTL(sctp_cmt_on_off)) {
7209 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LOCK_LOGGING_ENABLE) {
H A Dsctp_auth.c50 #define SCTP_AUTH_DEBUG (SCTP_BASE_SYSCTL(sctp_debug_on) & SCTP_DEBUG_AUTH1)
51 #define SCTP_AUTH_DEBUG2 (SCTP_BASE_SYSCTL(sctp_debug_on) & SCTP_DEBUG_AUTH2)
/f-stack/freebsd/netinet6/
H A Dsctp6_usrreq.c85 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) { in sctp6_input_with_port()
90 if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_LAST_PACKET_TRACING) { in sctp6_input_with_port()
525 error = SCTP_SORESERVE(so, SCTP_BASE_SYSCTL(sctp_sendspace), SCTP_BASE_SYSCTL(sctp_recvspace)); in sctp6_attach()