Lines Matching refs:SCTP_BASE_SYSCTL

2312 	inp->sctp_cmt_on_off = SCTP_BASE_SYSCTL(sctp_cmt_on_off);  in sctp_inpcb_alloc()
2313 inp->ecn_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_ecn_enable); in sctp_inpcb_alloc()
2314 inp->prsctp_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_pr_enable); in sctp_inpcb_alloc()
2315 inp->auth_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_auth_enable); in sctp_inpcb_alloc()
2316 inp->asconf_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_asconf_enable); in sctp_inpcb_alloc()
2317 inp->reconfig_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_reconfig_enable); in sctp_inpcb_alloc()
2318 inp->nrsack_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_nrsack_enable); in sctp_inpcb_alloc()
2319 inp->pktdrop_supported = (uint8_t)SCTP_BASE_SYSCTL(sctp_pktdrop_enable); in sctp_inpcb_alloc()
2363 if (SCTP_BASE_SYSCTL(sctp_default_frag_interleave) == SCTP_FRAG_LEVEL_1) { in sctp_inpcb_alloc()
2366 } else if (SCTP_BASE_SYSCTL(sctp_default_frag_interleave) == SCTP_FRAG_LEVEL_2) { in sctp_inpcb_alloc()
2369 } else if (SCTP_BASE_SYSCTL(sctp_default_frag_interleave) == SCTP_FRAG_LEVEL_0) { in sctp_inpcb_alloc()
2373 inp->sctp_tcbhash = SCTP_HASH_INIT(SCTP_BASE_SYSCTL(sctp_pcbtblsize), in sctp_inpcb_alloc()
2417 …m->sctp_timeoutticks[SCTP_TIMER_RECV] = sctp_msecs_to_ticks(SCTP_BASE_SYSCTL(sctp_delayed_sack_tim… in sctp_inpcb_alloc()
2418 …m->sctp_timeoutticks[SCTP_TIMER_HEARTBEAT] = sctp_msecs_to_ticks(SCTP_BASE_SYSCTL(sctp_heartbeat_i… in sctp_inpcb_alloc()
2419 …m->sctp_timeoutticks[SCTP_TIMER_PMTU] = sctp_secs_to_ticks(SCTP_BASE_SYSCTL(sctp_pmtu_raise_time_d… in sctp_inpcb_alloc()
2420 …m->sctp_timeoutticks[SCTP_TIMER_MAXSHUTDOWN] = sctp_secs_to_ticks(SCTP_BASE_SYSCTL(sctp_shutdown_g… in sctp_inpcb_alloc()
2421 …m->sctp_timeoutticks[SCTP_TIMER_SIGNATURE] = sctp_secs_to_ticks(SCTP_BASE_SYSCTL(sctp_secret_lifet… in sctp_inpcb_alloc()
2423 m->sctp_maxrto = SCTP_BASE_SYSCTL(sctp_rto_max_default); in sctp_inpcb_alloc()
2424 m->sctp_minrto = SCTP_BASE_SYSCTL(sctp_rto_min_default); in sctp_inpcb_alloc()
2425 m->initial_rto = SCTP_BASE_SYSCTL(sctp_rto_initial_default); in sctp_inpcb_alloc()
2426 m->initial_init_rto_max = SCTP_BASE_SYSCTL(sctp_init_rto_max_default); in sctp_inpcb_alloc()
2427 m->sctp_sack_freq = SCTP_BASE_SYSCTL(sctp_sack_freq_default); in sctp_inpcb_alloc()
2428 m->max_init_times = SCTP_BASE_SYSCTL(sctp_init_rtx_max_default); in sctp_inpcb_alloc()
2429 m->max_send_times = SCTP_BASE_SYSCTL(sctp_assoc_rtx_max_default); in sctp_inpcb_alloc()
2430 m->def_net_failure = SCTP_BASE_SYSCTL(sctp_path_rtx_max_default); in sctp_inpcb_alloc()
2431 m->def_net_pf_threshold = SCTP_BASE_SYSCTL(sctp_path_pf_threshold); in sctp_inpcb_alloc()
2434 m->max_burst = SCTP_BASE_SYSCTL(sctp_max_burst_default); in sctp_inpcb_alloc()
2435 m->fr_max_burst = SCTP_BASE_SYSCTL(sctp_fr_max_burst_default); in sctp_inpcb_alloc()
2437 m->sctp_default_cc_module = SCTP_BASE_SYSCTL(sctp_default_cc_module); in sctp_inpcb_alloc()
2438 m->sctp_default_ss_module = SCTP_BASE_SYSCTL(sctp_default_ss_module); in sctp_inpcb_alloc()
2439 m->max_open_streams_intome = SCTP_BASE_SYSCTL(sctp_nr_incoming_streams_default); in sctp_inpcb_alloc()
2441 m->pre_open_stream_count = SCTP_BASE_SYSCTL(sctp_nr_outgoing_streams_default); in sctp_inpcb_alloc()
2469 m->def_cookie_life = sctp_msecs_to_ticks(SCTP_BASE_SYSCTL(sctp_valid_cookie_life_default)); in sctp_inpcb_alloc()
2977 if (SCTP_BASE_SYSCTL(sctp_auto_asconf) == 0) { in sctp_inpcb_bind_locked()
2984 if (SCTP_BASE_SYSCTL(sctp_multiple_asconfs) == 0) { in sctp_inpcb_bind_locked()
2993 if (SCTP_BASE_SYSCTL(sctp_mobility_base) == 0) { in sctp_inpcb_bind_locked()
3004 if (SCTP_BASE_SYSCTL(sctp_mobility_fasthandoff) == 0) { in sctp_inpcb_bind_locked()
4473 time = now.tv_sec + SCTP_BASE_SYSCTL(sctp_vtag_time_wait); in sctp_add_vtag_to_timewait()
5565 if (SCTP_BASE_SYSCTL(var_name) < prefix##_MIN || \
5566 SCTP_BASE_SYSCTL(var_name) > prefix##_MAX) \
5567 SCTP_BASE_SYSCTL(var_name) = prefix##_DEFAULT
5586 memset(&SCTP_BASE_SYSCTL(sctp_log), 0, sizeof(struct sctp_log)); in sctp_pcb_init()
5607 TUNABLE_INT_FETCH("net.inet.sctp.tcbhashsize", &SCTP_BASE_SYSCTL(sctp_hashtblsize)); in sctp_pcb_init()
5608 TUNABLE_INT_FETCH("net.inet.sctp.pcbhashsize", &SCTP_BASE_SYSCTL(sctp_pcbtblsize)); in sctp_pcb_init()
5609 TUNABLE_INT_FETCH("net.inet.sctp.chunkscale", &SCTP_BASE_SYSCTL(sctp_chunkscale)); in sctp_pcb_init()
5613 SCTP_BASE_INFO(sctp_asochash) = SCTP_HASH_INIT((SCTP_BASE_SYSCTL(sctp_hashtblsize) * 31), in sctp_pcb_init()
5615 SCTP_BASE_INFO(sctp_ephash) = SCTP_HASH_INIT(SCTP_BASE_SYSCTL(sctp_hashtblsize), in sctp_pcb_init()
5617 SCTP_BASE_INFO(sctp_tcpephash) = SCTP_HASH_INIT(SCTP_BASE_SYSCTL(sctp_hashtblsize), in sctp_pcb_init()
5619 SCTP_BASE_INFO(hashtblsize) = SCTP_BASE_SYSCTL(sctp_hashtblsize); in sctp_pcb_init()
5646 (sctp_max_number_of_assoc * SCTP_BASE_SYSCTL(sctp_chunkscale))); in sctp_pcb_init()
5650 (sctp_max_number_of_assoc * SCTP_BASE_SYSCTL(sctp_chunkscale))); in sctp_pcb_init()
5654 (sctp_max_number_of_assoc * SCTP_BASE_SYSCTL(sctp_chunkscale))); in sctp_pcb_init()
5658 (sctp_max_number_of_assoc * SCTP_BASE_SYSCTL(sctp_chunkscale))); in sctp_pcb_init()
5662 (sctp_max_number_of_assoc * SCTP_BASE_SYSCTL(sctp_chunkscale))); in sctp_pcb_init()
6081 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_load_addresses_from_init()
6181 op_err = sctp_generate_cause(SCTP_BASE_SYSCTL(sctp_diag_info_code), in sctp_load_addresses_from_init()
6859 if (SCTP_BASE_SYSCTL(sctp_do_drain) == 0) { in sctp_drain()