Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Compute the actual receive window we are currently advertising.* Rcv_nxt can be after the window if our peer push more data* than the offered window.

Proto:static inline u32 tcp_receive_window(const struct tcp_sock *tp)

Type:u32

Parameter:

TypeParameterName
const struct tcp_sock *tp
727  win = rcv_nxt on last window update sent + Current receiver window - What we want to receive next
729  If win < 0 Then win = 0
731  Return win