Searched refs:TCP_SEQ_BETWEEN (Results 1 – 2 of 2) sorted by relevance
/third_party/lwip/src/core/ |
D | tcp_in.c | 756 if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, pcb->rcv_nxt + pcb->rcv_wnd)) { 812 } else if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, 926 if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { 1229 } else if (TCP_SEQ_BETWEEN(ackno, pcb->lastack + 1, pcb->snd_nxt)) { 1405 if (TCP_SEQ_BETWEEN(pcb->rcv_nxt, seqno + 1, seqno + tcplen - 1)) { 1458 if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, 1721 if (TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno + 1, next->tcphdr->seqno - 1)) { 1882 if (!TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, pcb->rcv_nxt + pcb->rcv_wnd - 1)) { 1990 } else if (TCP_SEQ_BETWEEN(pcb->ts_lastacksent, seqno, seqno + tcplen)) {
|
/third_party/lwip/src/include/lwip/priv/ |
D | tcp_priv.h | 115 #define TCP_SEQ_BETWEEN(a,b,c) ((c)-(b) >= (a)-(b)) 117 #define TCP_SEQ_BETWEEN(a,b,c) (TCP_SEQ_GEQ(a,b) && TCP_SEQ_LEQ(a,c)) macro
|