Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Compute Earliest Departure Time for some control packets* like ACK or RST for TIME_WAIT or non ESTABLISHED sockets.

Proto:static inline u64 tcp_transmit_time(const struct sock *sk)

Type:u64

Parameter:

TypeParameterName
const struct sock *sk
2306  If static_branch_unlikely( & tcp_tx_delay_enabled) Then
2307  delay = If sk_state == TCP_TIME_WAIT Then tw_tx_delay Else delay (in usec) added to TX packets
2310  Return tcp_clock_ns() + delay * NSEC_PER_USEC
2312  Return 0