Home
last modified time | relevance | path

Searched refs:th_seq (Results 1 – 14 of 14) sorted by relevance

/mirbsd/src/sys/netinet/
Dtcp_input.c244 if (tiqe != NULL && th->th_seq == tp->rcv_nxt) {
251 if (tiqe == NULL || th->th_seq != tp->rcv_nxt) {
265 if (SEQ_GT(q->ipqe_tcp->th_seq, th->th_seq))
278 i = phdr->th_seq + phdr->th_reseqlen - th->th_seq;
289 th->th_seq += i;
301 int i = (th->th_seq + *tlen) - qhdr->th_seq;
306 qhdr->th_seq += i;
335 if (q == NULL || q->ipqe_tcp->th_seq != tp->rcv_nxt)
352 } while (q != NULL && q->ipqe_tcp->th_seq == tp->rcv_nxt);
633 NTOHL(th->th_seq);
[all …]
Dtcp_subr.c316 th->th_seq = 0;
426 th->th_seq = htonl(seq);
720 u_int32_t th_seq; member
793 seq = ntohl(th.th_seq);
848 seq = ntohl(th->th_seq);
906 seq = ntohl(th->th_seq);
Dtcpip.h52 #define ti_seq ti_t.th_seq
Dtcp.h52 tcp_seq th_seq; /* sequence number */ member
Dtcp_debug.c183 seq = th->th_seq;
Dtcp_output.c844 th->th_seq = htonl(tp->snd_nxt);
846 th->th_seq = htonl(tp->snd_max);
857 th->th_seq = htonl(p->rxmit);
/mirbsd/src/usr.sbin/ppp/ppp/
Dslcompress.c314 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq); in sl_compress_tcp()
516 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp()
521 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp()
538 DECODEL(th->th_seq) in sl_uncompress_tcp()
548 cs->cs_ip.ip_id, (u_long)ntohl(th->th_seq)); in sl_uncompress_tcp()
Dalias.c1114 sptr = (u_short *) &tc->th_seq; in TcpAliasOut()
1117 tc->th_seq = htonl(ntohl(tc->th_seq) + delta); in TcpAliasOut()
1118 sptr = (u_short *) &tc->th_seq; in TcpAliasOut()
Dalias_db.c2123 seq = tc->th_seq; in GetDeltaSeqOut()
2179 x.ack_old = htonl(ntohl(tc->th_seq) + dlen); in AddSeq()
2180 x.ack_new = htonl(ntohl(tc->th_seq) + dlen + delta); in AddSeq()
Dip.c833 (u_long)ntohl(th->th_seq), (u_long)ntohl(th->th_ack), len, nb); in PacketCheck()
/mirbsd/src/sys/net/
Dslcompress.c321 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq);
562 th->th_seq = htonl(ntohl(th->th_seq) + i);
567 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
582 DECODEL(th->th_seq)
Dpf.c1345 th->th_seq = htonl(seq); in pf_send_tcp()
2503 u_int32_t ack = ntohl(th->th_seq) + pd->p_len; in pf_test_tcp()
2611 s->src.seqlo = ntohl(th->th_seq); in pf_test_tcp()
2618 pf_change_a(&th->th_seq, &th->th_sum, in pf_test_tcp()
2701 th->th_sport, s->src.seqhi, ntohl(th->th_seq) + 1, in pf_test_tcp()
3633 if (ntohl(th->th_seq) != (*state)->src.seqlo) in pf_test_state_tcp()
3637 (*state)->src.seqhi, ntohl(th->th_seq) + 1, in pf_test_state_tcp()
3643 (ntohl(th->th_seq) != (*state)->src.seqlo + 1)) in pf_test_state_tcp()
3661 (ntohl(th->th_seq) != (*state)->src.seqlo + 1)) in pf_test_state_tcp()
3677 (*state)->dst.seqlo = ntohl(th->th_seq); in pf_test_state_tcp()
[all …]
/mirbsd/src/sys/netinet6/
Dtcpipv6.h59 #define ti6_seq ti6_t.th_seq
/mirbsd/src/usr.sbin/trpt/
Dtrpt.c355 seq = th->th_seq; in tcp_trace()