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

Function tcp_clean_sackreport

freebsd/netinet/tcp_sack.c:432–441  ·  view source on GitHub ↗

* Delete all receiver-side SACK information. */

Source from the content-addressed store, hash-verified

430 * Delete all receiver-side SACK information.
431 */
432void
433tcp_clean_sackreport(struct tcpcb *tp)
434{
435 int i;
436
437 INP_WLOCK_ASSERT(tp->t_inpcb);
438 tp->rcv_numsacks = 0;
439 for (i = 0; i < MAX_SACK_BLKS; i++)
440 tp->sackblks[i].start = tp->sackblks[i].end=0;
441}
442
443/*
444 * Allocate struct sackhole.

Callers 4

tcp_do_segmentFunction · 0.85
tcp_drainFunction · 0.85
rack_do_fastnewdataFunction · 0.85
bbr_do_fastnewdataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected