函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tcp_sk

函数原型:static inline struct tcp_sock *tcp_sk(const struct sock *sk)

返回类型:struct tcp_sock

参数:

类型参数名称
const struct sock *sk
422  返回:sk
调用者
名称描述
tcp_passive_fastopen
tcp_clear_xmit_timers
tcp_fast_path_check
tcp_current_ssthreshIf cwnd > ssthresh, we may raise ssthresh to be half-way to cwnd.* The exception is cwnd reduction phase, when cwnd is decreasing towards* ssthresh.
tcp_is_cwnd_limitedWe follow the spirit of RFC2861 to validate cwnd but implement a more* flexible approach. The RFC suggests cwnd should not be raised unless* it was fully used previously. And that's exactly what we do in* congestion avoidance mode
tcp_pacing_delayReturn in jiffies the delay before one skb is sent.* If @skb is NULL, we look at EDT for next packet being sent on the socket.
tcp_check_probe_timer
tcp_slow_start_after_idle_check
tcp_fin_time
tcp_write_queue_emptyp_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)"
tcp_push_pending_frames
tcp_advance_highest_sack
tcp_highest_sack
tcp_highest_sack_reset
tcp_highest_sack_replaceCalled when old skb is about to be deleted and replaced by new skb
tcp_stream_memory_free@wake is one when sk_stream_write_space() calls us.* This sends EPOLLOUT only if notsent_bytes is half the limit.* This mimics the strategy used in sock_def_write_space().
tcp_rto_delta_usAt how many usecs into the future should the RTO fire?
tcp_inq
tcp_bpf_rtt
tcp_transmit_timeCompute Earliest Departure Time for some control packets* like ACK or RST for TIME_WAIT or non ESTABLISHED sockets.