函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tcp_inq

函数原型:static inline int tcp_inq(struct sock *sk)

返回类型:int

参数:

类型参数名称
struct sock *sk
2087  tp等于tcp_sk(sk)
2090  如果1左移sk_state位按位与TCPF_SYN_SENT按位或TCPF_SYN_RECV的值则
2091  answ等于0
2092  否则如果sock_flag(sk, SOCK_URGINLINE)或非 Saved octet of OOB data and control flags The next routines deal with comparing 32 bit unsigned ints* and worry about wraparound (automatic with unsigned arithmetic).或非The next routines deal with comparing 32 bit unsigned ints* and worry about wraparound (automatic with unsigned arithmetic).
2097  answ等于 What we want to receive next Head of yet unread data
2100  如果answsock_flag(sk, SOCK_DONE)则answ自减
2102  否则
2103  answ等于 Seq of received urgent pointer Head of yet unread data
2106  返回:answ