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

Function tcp_rack_partialack

freebsd/netinet/tcp_stacks/rack.c:3936–3953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3934}
3935
3936static void
3937tcp_rack_partialack(struct tcpcb *tp, struct tcphdr *th)
3938{
3939 struct tcp_rack *rack;
3940
3941 rack = (struct tcp_rack *)tp->t_fb_ptr;
3942 INP_WLOCK_ASSERT(tp->t_inpcb);
3943 /*
3944 * If we are doing PRR and have enough
3945 * room to send <or> we are pacing and prr
3946 * is disabled we will want to see if we
3947 * can send data (by setting r_wanted_output to
3948 * true).
3949 */
3950 if ((rack->r_ctl.rc_prr_sndcnt > 0) ||
3951 rack->rack_no_prr)
3952 rack->r_wanted_output = 1;
3953}
3954
3955static void
3956rack_post_recovery(struct tcpcb *tp, struct tcphdr *th)

Callers 1

rack_process_ackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected