Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |