Lines Matching defs:left
101 static void tcp_add_sack(struct tcp_pcb *pcb, u32_t left, u32_t right);
891 /* If there's nothing left to acknowledge, stop the retransmit
1293 /* If there's nothing left to acknowledge, stop the retransmit
1654 pcb->rcv_sacks[0].left = seqno;
1672 /* This is the left edge of the lowest possible SACK range.
2043 * @param left the left side of the SACK (the first sequence number)
2047 tcp_add_sack(struct tcp_pcb *pcb, u32_t left, u32_t right)
2052 if ((pcb->flags & TF_SACK) == 0 || !TCP_SEQ_LT(left, right)) {
2061 /* We only want to use SACK at [i] if it doesn't overlap with left:right range.
2063 or if its left side is after the newly added SACK.
2065 if (TCP_SEQ_LEQ(pcb->rcv_sacks[i].right, left) || TCP_SEQ_LEQ(right, pcb->rcv_sacks[i].left)) {
2078 So let's just iterate from the back, and set each entry to the one to the left if it's valid,
2085 pcb->rcv_sacks[i].left = pcb->rcv_sacks[i].right = 0;
2092 pcb->rcv_sacks[0].left = left;
2121 /* NOTE: It is possible that its left side is < 'seq', in which case we should adjust it. */
2122 if (TCP_SEQ_LT(pcb->rcv_sacks[unused_idx].left, seq)) {
2123 pcb->rcv_sacks[unused_idx].left = seq;
2131 pcb->rcv_sacks[i].left = pcb->rcv_sacks[i].right = 0;
2155 /* We only want to use SACK at index [i] if its left side is < 'seq'. */
2156 if (TCP_SEQ_LT(pcb->rcv_sacks[i].left, seq)) {
2171 pcb->rcv_sacks[i].left = pcb->rcv_sacks[i].right = 0;