Searched refs:rcv_sacks (Results 1 – 4 of 4) sorted by relevance
1618 memset(pcb->rcv_sacks, 0, sizeof(pcb->rcv_sacks));1655 pcb->rcv_sacks[0].left = seqno;1656 pcb->rcv_sacks[0].right = seqno + inseg.len;2066 if (TCP_SEQ_LEQ(pcb->rcv_sacks[i].right, left) || TCP_SEQ_LEQ(right, pcb->rcv_sacks[i].left)) {2069 pcb->rcv_sacks[unused_idx] = pcb->rcv_sacks[i];2086 pcb->rcv_sacks[i].left = pcb->rcv_sacks[i].right = 0;2088 pcb->rcv_sacks[i] = pcb->rcv_sacks[i - 1];2093 pcb->rcv_sacks[0].left = left;2094 pcb->rcv_sacks[0].right = right;2117 if (TCP_SEQ_GT(pcb->rcv_sacks[i].right, seq)) {[all …]
2396 memset(pcb->rcv_sacks, 0, sizeof(pcb->rcv_sacks)); in tcp_free_ooseq()
1207 *(opts++) = lwip_htonl(pcb->rcv_sacks[i].left); in tcp_build_sack_option()1208 *(opts++) = lwip_htonl(pcb->rcv_sacks[i].right); in tcp_build_sack_option()
290 struct tcp_sack_range rcv_sacks[LWIP_TCP_MAX_SACK_NUM]; member291 #define LWIP_TCP_SACK_VALID(pcb, idx) ((pcb)->rcv_sacks[idx].left != (pcb)->rcv_sacks[idx].right)