Export the ssthresh value per SCTP path via the sysctl interface.
MFC after: 1 month
This commit is contained in:
parent
9efc2aa4a6
commit
29b9533b43
@ -511,6 +511,7 @@ sctp_sysctl_handle_assoclist(SYSCTL_HANDLER_ARGS)
|
||||
xraddr.mtu = net->mtu;
|
||||
xraddr.rtt = net->rtt / 1000;
|
||||
xraddr.heartbeat_interval = net->heart_beat_delay;
|
||||
xraddr.ssthresh = net->ssthresh;
|
||||
xraddr.start_time.tv_sec = (uint32_t) net->start_time.tv_sec;
|
||||
xraddr.start_time.tv_usec = (uint32_t) net->start_time.tv_usec;
|
||||
SCTP_INP_RUNLOCK(inp);
|
||||
|
@ -1228,7 +1228,8 @@ struct xsctp_raddr {
|
||||
struct sctp_timeval start_time; /* sctpAssocLocalRemEntry 8 */
|
||||
uint32_t rtt;
|
||||
uint32_t heartbeat_interval;
|
||||
uint32_t extra_padding[31]; /* future */
|
||||
uint32_t ssthresh;
|
||||
uint32_t extra_padding[30]; /* future */
|
||||
};
|
||||
|
||||
#define SCTP_MAX_LOGGING_SIZE 30000
|
||||
|
Loading…
x
Reference in New Issue
Block a user