Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tcp_clear_xmit_timers

Proto:static inline void tcp_clear_xmit_timers(struct sock *sk)

Type:void

Parameter:

TypeParameterName
struct sock *sk
611  If hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped == 1 Then Ungrab socket in the context, which assumes that socket refcntcannot hit zero, f.e. it is true in context of any socketcall.
614  If hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped == 1 Then Ungrab socket in the context, which assumes that socket refcntcannot hit zero, f.e. it is true in context of any socketcall.
617  inet_csk_clear_xmit_timers(sk)