函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Reset the retransmission timer

函数原型:static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, unsigned long when, const unsigned long max_when)

返回类型:void

参数:

类型参数名称
struct sock *sk
const intwhat
unsigned longwhen
const unsigned longmax_when
221  icsk等于inet_csk(sk)
223  如果when大于max_when
224  pr_debug("reset_xmit_timer: sk=%p %d when=0x%lx, caller=%p\n", sk, what, when, (void * )_THIS_IP_)
226  when等于max_when
229  如果what恒等于Retransmit timer what恒等于Zero window probe timer what恒等于Early retransmit timer what恒等于Tail loss probe timer what恒等于Reordering timer
232  icsk_pending等于what
233  icsk_timeout等于jiffieswhen
234  sk_reset_timer(sk, & icsk_retransmit_timer, icsk_timeout)
235  否则如果what恒等于Delayed ack timer
236  ACK is pending 或等于ICSK_ACK_TIMER
237  Currently scheduled timeout 等于jiffieswhen
238  sk_reset_timer(sk, & icsk_delack_timer, Currently scheduled timeout )
239  否则
240  pr_debug("inet_csk BUG: unknown timer value\n")
调用者
名称描述
tcp_reset_xmit_timer