15 #ifndef __included_tcp_timer_h__ 16 #define __included_tcp_timer_h__ 26 tc->timers[timer_id] = tw_timer_start_16t_2w_512sl (tw, tc->c_c_index,
34 tc->pending_timers &= ~(1 << timer_id);
38 tw_timer_stop_16t_2w_512sl (tw, tc->timers[timer_id]);
48 tw_timer_update_16t_2w_512sl (tw, tc->timers[timer_id], interval);
50 tc->timers[timer_id] = tw_timer_start_16t_2w_512sl (tw, tc->c_c_index,
57 ASSERT (tc->snd_una != tc->snd_una_max);
89 if (
seq_leq (tc->snd_una, tc->snd_congestion + tc->burst_acked))
106 if (tc->snd_una == tc->snd_nxt)
109 if (tc->snd_wnd < tc->snd_mss)
#define TCP_TIMER_HANDLE_INVALID
static void tcp_persist_timer_set(tcp_timer_wheel_t *tw, tcp_connection_t *tc)
struct _tcp_connection tcp_connection_t
static void tcp_persist_timer_reset(tcp_timer_wheel_t *tw, tcp_connection_t *tc)
#define seq_leq(_s1, _s2)
static void tcp_retransmit_timer_force_update(tcp_timer_wheel_t *tw, tcp_connection_t *tc)
static void tcp_timer_reset(tcp_timer_wheel_t *tw, tcp_connection_t *tc, u8 timer_id)
static void tcp_retransmit_timer_update(tcp_timer_wheel_t *tw, tcp_connection_t *tc)
static void tcp_timer_set(tcp_timer_wheel_t *tw, tcp_connection_t *tc, u8 timer_id, u32 interval)
enum _tcp_timers tcp_timers_e
static void tcp_retransmit_timer_reset(tcp_timer_wheel_t *tw, tcp_connection_t *tc)
static void tcp_retransmit_timer_set(tcp_timer_wheel_t *tw, tcp_connection_t *tc)
tw_timer_wheel_16t_2w_512sl_t tcp_timer_wheel_t
static_always_inline uword vlib_get_thread_index(void)
#define TCP_TO_TIMER_TICK
Factor for converting ticks to timer ticks.
static void tcp_timer_update(tcp_timer_wheel_t *tw, tcp_connection_t *tc, u8 timer_id, u32 interval)
static u8 tcp_timer_is_active(tcp_connection_t *tc, tcp_timers_e timer)
static void tcp_persist_timer_update(tcp_timer_wheel_t *tw, tcp_connection_t *tc)