函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tcp_win_from_space

函数原型:static inline int tcp_win_from_space(const struct sock *sk, int space)

返回类型:int

参数:

类型参数名称
const struct sock *sk
intspace
1390  tcp_adv_win_scale等于sysctl_tcp_adv_win_scale
1392  返回:如果tcp_adv_win_scale小于等于0则space右移负tcp_adv_win_scale位否则spacespace右移tcp_adv_win_scale位的值
调用者
名称描述
tcp_spaceNote: caller must be prepared to deal with negative returns
tcp_full_space