MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bbr_timeout_delack

Function bbr_timeout_delack

freebsd/netinet/tcp_stacks/bbr.c:4724–4736  ·  view source on GitHub ↗

* Delayed ack Timer, here we simply need to setup the * ACK_NOW flag and remove the DELACK flag. From there * the output routine will send the ack out. * * We only return 1, saying don't proceed, if all timers * are stopped (destroyed PCB?). */

Source from the content-addressed store, hash-verified

4722 * are stopped (destroyed PCB?).
4723 */
4724static int
4725bbr_timeout_delack(struct tcpcb *tp, struct tcp_bbr *bbr, uint32_t cts)
4726{
4727 if (bbr->rc_all_timers_stopped) {
4728 return (1);
4729 }
4730 bbr_log_to_event(bbr, cts, BBR_TO_FRM_DELACK);
4731 tp->t_flags &= ~TF_DELACK;
4732 tp->t_flags |= TF_ACKNOW;
4733 KMOD_TCPSTAT_INC(tcps_delack);
4734 bbr->r_ctl.rc_hpts_flags &= ~PACE_TMR_DELACK;
4735 return (0);
4736}
4737
4738/*
4739 * Here we send a KEEP-ALIVE like probe to the

Callers 1

bbr_process_timersFunction · 0.85

Calls 1

bbr_log_to_eventFunction · 0.85

Tested by

no test coverage detected