1122 |
} else |
} else |
1123 |
/*if (TCP_SEQ_LT(prev->tcphdr->seqno, seqno) && |
/*if (TCP_SEQ_LT(prev->tcphdr->seqno, seqno) && |
1124 |
TCP_SEQ_LT(seqno, next->tcphdr->seqno)) {*/ |
TCP_SEQ_LT(seqno, next->tcphdr->seqno)) {*/ |
1125 |
if(TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno, next->tcphdr->seqno-1)){ |
if(TCP_SEQ_BETWEEN(seqno, prev->tcphdr->seqno+1, next->tcphdr->seqno-1)){ |
1126 |
/* The sequence number of the incoming segment is in |
/* The sequence number of the incoming segment is in |
1127 |
between the sequence numbers of the previous and |
between the sequence numbers of the previous and |
1128 |
the next segment on ->ooseq. We trim and insert the |
the next segment on ->ooseq. We trim and insert the |