Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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)"

Proto:static inline bool tcp_write_queue_empty(const struct sock *sk)

Type:bool

Parameter:

TypeParameterName
const struct sock *sk
1778  tp = tcp_sk(sk)
1780  Return Tail(+1) of data held in tcp send buffer == Next sequence we send