* Delete all receiver-side SACK information. */
| 430 | * Delete all receiver-side SACK information. |
| 431 | */ |
| 432 | void |
| 433 | tcp_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. |
no outgoing calls
no test coverage detected