函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:p_write_queue_empty - test if any payload (or FIN) is available in write queue*@sk: socket* Since the write queue can have a temporary empty skb in it,* we must not use "return skb_queue_empty(&sk->sk_write_queue)"

函数原型:static inline bool tcp_write_queue_empty(const struct sock *sk)

返回类型:bool

参数:

类型参数名称
const struct sock *sk
1778  tp等于tcp_sk(sk)
1780  返回: Tail(+1) of data held in tcp send buffer 恒等于 Next sequence we send
调用者
名称描述
tcp_rtx_and_write_queues_empty