Lines Matching defs:seg_seq
1314 uint32_t seg_seq;
1753 seg_seq = ntohl(tcpha->tha_seq);
1754 eager->tcp_irs = seg_seq;
1755 eager->tcp_rack = seg_seq;
1756 eager->tcp_rnxt = seg_seq + 1;
2260 uint32_t seg_seq;
2319 seg_seq = ntohl(tcpha->tha_seq);
2338 tcp_time_wait_processing(tcp, mp, seg_seq, seg_ack,
2386 if (SEQ_GT(seg_seq, tcp->tcp_rnxt)) {
2472 tcp->tcp_irs = seg_seq;
2473 tcp->tcp_rack = seg_seq;
2474 tcp->tcp_rnxt = seg_seq + 1;
2543 tcp->tcp_swl1 = seg_seq;
2662 seg_seq++;
2785 (seg_len > 0 && SEQ_GT(seg_seq + seg_len, tcp->tcp_rnxt))) {
2820 gap = seg_seq - tcp->tcp_rnxt;
2824 * and what we got for seg_seq. A positive value for gap means
2829 if (seg_seq == tcp->tcp_irs && (flags & TH_SYN) &&
2832 seg_seq++;
2864 if (SEQ_GEQ(seg_seq + seg_len - gap, tcp->tcp_rack) &&
2881 "flags 0x%x, seg_seq %u, seg_ack %u, "
2883 gap, rgap, flags, seg_seq, seg_ack,
2924 /* Fix seg_seq, and chew the gap off the front. */
2925 seg_seq = tcp->tcp_rnxt;
3008 (!tcp->tcp_urp_last_valid || SEQ_GT(urp + seg_seq,
3045 tcp->tcp_urp_last = urp + seg_seq;
3053 if (tcp->tcp_rwnd == 0 && seg_seq == tcp->tcp_rnxt) {
3116 SEQ_LEQ(seg_seq, tcp->tcp_rack)) {
3121 if (seg_seq != tcp->tcp_rnxt || tcp->tcp_reass_head) {
3131 tcp->tcp_ofo_fin_seq = seg_seq + seg_len;
3139 seg_seq, seg_seq + seg_len,
3147 mp = tcp_reass(tcp, mp, seg_seq);
3155 seg_seq = tcp->tcp_rnxt;
3162 seg_seq + seg_len == tcp->tcp_ofo_fin_seq) {
3213 seg_seq + seg_len == tcp->tcp_ofo_fin_seq) {
3248 * be already rejected. Note that we allow seg_seq to be
3251 ASSERT(SEQ_GEQ(seg_seq, tcp->tcp_rnxt) &&
3252 SEQ_LEQ(seg_seq, tcp->tcp_rnxt + tcp->tcp_rwnd));
3261 tcp_xmit_ctl("TH_SYN", tcp, seg_ack, seg_seq + 1,
3270 * byte was at seg_seq - 1, in which case we ignore the urgent flag.
3274 SEQ_GT(urp + seg_seq, tcp->tcp_urp_last)) {
3339 seg_seq, urp, tcp->tcp_urp_last,
3344 tcp->tcp_urp_last = urp + seg_seq;
3742 tcp->tcp_swl1 = seg_seq;
4391 SEQ_LT(tcp->tcp_swl1, seg_seq) ||
4392 (tcp->tcp_swl1 == seg_seq && new_swnd > tcp->tcp_swnd)) {
4406 tcp->tcp_swl1 = seg_seq;
5419 uint32_t seg_seq;
5465 seg_seq = ntohl(tcpha->tha_seq);
5487 if (seg_seq == tcp->tcp_iss) {
5556 uint32_t seg_seq;
5587 seg_seq = ntohl(tcpha->tha_seq);
5601 (seg_seq == tcp->tcp_iss)) {
5613 (seg_seq == tcp->tcp_iss)) {