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

Function rack_strike_dupack

freebsd/netinet/tcp_stacks/rack.c:8073–8089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8071}
8072
8073static void
8074rack_strike_dupack(struct tcp_rack *rack)
8075{
8076 struct rack_sendmap *rsm;
8077
8078 rsm = TAILQ_FIRST(&rack->r_ctl.rc_tmap);
8079 if (rsm && (rsm->r_dupack < 0xff)) {
8080 rsm->r_dupack++;
8081 if (rsm->r_dupack >= DUP_ACK_THRESHOLD) {
8082 rack->r_wanted_output = 1;
8083 rack->r_timer_override = 1;
8084 rack_log_retran_reason(rack, rsm, __LINE__, 1, 3);
8085 } else {
8086 rack_log_retran_reason(rack, rsm, __LINE__, 0, 3);
8087 }
8088 }
8089}
8090
8091static void
8092rack_check_bottom_drag(struct tcpcb *tp,

Callers 1

rack_process_ackFunction · 0.85

Calls 1

rack_log_retran_reasonFunction · 0.85

Tested by

no test coverage detected