Index: share/man/man4/sctp.4 =================================================================== --- share/man/man4/sctp.4 +++ share/man/man4/sctp.4 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 15, 2006 +.Dd September 7, 2015 .Dt SCTP 4 .Os .Sh NAME @@ -168,7 +168,7 @@ This extension allows a user on either side to reset the stream sequence numbers used by any or all streams. .El -.Pp +.Ss Socket Options .Tn SCTP supports a number of socket options which can be set with .Xr setsockopt 2 @@ -409,6 +409,164 @@ endpoint must also support the stream reset extension as well. .El +.Ss MIB Variables +The +.Tn SCTP +protocol implements a number of variables in the +.Va net.inet.sctp +branch of the +.Xr sysctl 3 +MIB. +.Bl -tag -width ".Va default_frag_interleave" +.It getcred +Get the ucred of a SCTP connection +.It assoclist +List of active SCTP associations +.It stats +SCTP statistics (struct sctp_stat) +.It diag_info_code +Diagnostic information error cause code +.It blackhole +Enable SCTP blackholing. See +.Xr blackhole 4 +for more details. +.It use_dcccecn +Enable for RTCC CC datacenter ECN +.It rttvar_steady_step +How many the sames it takes to try step down of cwnd +.It rttvar_eqret +What to return when rtt and bw are unchanged +.It rttvar_rtt +Shift amount for rtt smoothing on rtt calc +.It rttvar_bw +Shift amount for bw smoothing on rtt calc +.It initial_cwnd +Initial congestion window in MTUs +.It buffer_splitting +Enable send/receive buffer splitting. +.It vtag_time_wait +Vtag time wait time in seconds, 0 disables it. +.It nat_friendly_init +Enable sending of the nat-friendly SCTP option on INITs. +.It enable_sack_immediately +Enable sending of the SACK-IMMEDIATELY-bit. +.It udp_tunneling_port +Set the SCTP/UDP tunneling port +.It mobility_fasthandoff +Enable SCTP fast handoff +.It mobility_base +Enable SCTP base mobility +.It default_frag_interleave +Default fragment interleave level +.It default_ss_module +Default stream scheduling module +.It default_cc_module +Default congestion control module +.It log_level +Ltrace/KTR trace logging level +.It max_retran_chunk +Maximum times an unlucky chunk can be retran'd before assoc abort +.It min_residual +Minimum residual data chunk in second part of split +.It strict_data_order +Enforce strict data ordering, abort if control inside data +.It abort_at_limit +When one-2-one hits qlimit abort +.It hb_max_burst +Confirmation Heartbeat max burst +.It do_sctp_drain +Should SCTP respond to the drain calls +.It max_chained_mbufs +Default max number of small mbufs on a chain +.It abc_l_var +SCTP ABC max increase per SACK (L) +.It nat_friendly +SCTP NAT friendly operation +.It cwnd_maxburst +Use a CWND adjusting maxburst +.It cmt_use_dac +CMT DAC on/off flag +.It cmt_on_off +CMT settings +.It outgoing_streams +Default number of outgoing streams +.It incoming_streams +Default number of incoming streams +.It add_more_on_output +When space-wise is it worthwhile to try to add more to a socket send buffer +.It path_pf_threshold +Default potentially failed threshold +.It path_rtx_max +Default maximum of retransmissions per path +.It assoc_rtx_max +Default maximum number of retransmissions per association +.It init_rtx_max +Default maximum number of retransmission for INIT chunks +.It valid_cookie_life +Default cookie lifetime in seconds +.It init_rto_max +Default maximum retransmission timeout during association setup in ms +.It rto_initial +Default initial retransmission timeout in ms +.It rto_min +Default minimum retransmission timeout in ms +.It rto_max +Default maximum retransmission timeout in ms +.It secret_lifetime +Default secret lifetime in seconds +.It shutdown_guard_time +Shutdown guard timer in seconds (0 means 5 times RTO.Max) +.It pmtu_raise_time +Default PMTU raise timer in seconds +.It heartbeat_interval +Default heartbeat interval in ms +.It asoc_resource +Max number of cached resources in an asoc +.It sys_resource +Max number of cached resources in the system +.It sack_freq +Default SACK frequency +.It delayed_sack_time +Default delayed SACK timer in ms +.It chunkscale +Tunable for Scaling of number of chunks and messages +.It min_split_point +Minimum size when splitting a chunk +.It pcbhashsize +Tunable for PCB hash table sizes +.It tcbhashsize +Tunable for TCB hash table sizes +.It maxchunks +Default max chunks on queue per asoc +.It fr_maxburst +Default fr max burst for sctp endpoints +.It maxburst +Default max burst for sctp endpoints +.It peer_chkoh +Amount to debit peers rwnd per chunk sent +.It strict_sacks +Enable SCTP Strict SACK checking +.It pktdrop_enable +Enable SCTP PKTDROP +.It nrsack_enable +Enable SCTP NR-SACK +.It reconfig_enable +Enable SCTP RE-CONFIG +.It asconf_enable +Enable SCTP ASCONF +.It auth_enable +Enable SCTP AUTH function +.It pr_enable +Enable PR-SCTP +.It ecn_enable +Enable SCTP ECN +.It auto_asconf +Enable SCTP Auto-ASCONF +.It recvspace +Maximum incoming SCTP buffer size +.It sendspace +Maximum outgoing SCTP buffer size +.El .Sh SEE ALSO .Xr accept 2 , .Xr bind 2 , @@ -418,4 +576,5 @@ .Xr sctp_connectx 3 , .Xr sctp_opt_info 3 , .Xr sctp_recvmsg 3 , -.Xr sctp_sendmsg 3 +.Xr sctp_sendmsg 3 , +.Xr blackhole 4