Function report |
Source Code:include\net\inet_connection_sock.h |
Create Date:2022-07-28 06:09:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Reset the retransmission timer
Proto:static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, unsigned long when, const unsigned long max_when)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct sock * | sk | |
const int | what | |
unsigned long | when | |
const unsigned long | max_when |
229 | If what == Retransmit timer || what == Zero window probe timer || what == Early retransmit timer || what == Tail loss probe timer || what == Reordering timer Then |
232 | icsk_pending = what |
233 | icsk_timeout = jiffies + when |
235 | Else if what == Delayed ack timer Then |
236 | ACK is pending |= ICSK_ACK_TIMER |
237 | Currently scheduled timeout = jiffies + when |
239 | Else |
240 | pr_debug("inet_csk BUG: unknown timer value\n") |
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 |