函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\tcp.h Create Date:2022-07-27 07:40:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline __u32 tcp_current_ssthresh(const struct sock *sk)

返回类型:__u32

参数:

类型参数名称
const struct sock *sk
1212  tp等于tcp_sk(sk)
1214  如果tcp_in_cwnd_reduction(sk)则返回: Slow start size threshold
1216  否则返回:两数取大( Slow start size threshold , (( Sending congestion window >> 1) + ( Sending congestion window >> 2)))