函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Compute Earliest Departure Time for some control packets* like ACK or RST for TIME_WAIT or non ESTABLISHED sockets.

函数原型:static inline u64 tcp_transmit_time(const struct sock *sk)

返回类型:u64

参数:

类型参数名称
const struct sock *sk
2306  如果static_branch_unlikely( & tcp_tx_delay_enabled)则
2307  delay等于如果sk_state恒等于TCP_TIME_WAITtw_tx_delay否则 delay (in usec) added to TX packets
2310  返回:tcp_clock_ns()加delayNSEC_PER_USEC
2312  返回:0