Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\tcp.h Create Date:2022-07-28 06:42:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:If cwnd > ssthresh, we may raise ssthresh to be half-way to cwnd.* The exception is cwnd reduction phase, when cwnd is decreasing towards* ssthresh.

Proto:static inline __u32 tcp_current_ssthresh(const struct sock *sk)

Type:__u32

Parameter:

TypeParameterName
const struct sock *sk
1212  tp = tcp_sk(sk)
1214  If tcp_in_cwnd_reduction(sk) Then Return Slow start size threshold
1216  Else Return max - return maximum of two values of the same or compatible types*@x: first value*@y: second value( Slow start size threshold , (( Sending congestion window >> 1) + ( Sending congestion window >> 2)))