Home
last modified time | relevance | path

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

/openthread-3.6.0/third_party/tcplp/bsdtcp/
Dtcp_reass.c74 KASSERT(SEQ_GEQ(th->th_seq, tp->rcv_nxt), ("Adding past segment to the reassembly queue")); in tcp_reass()
75 offset = (size_t) (th->th_seq - tp->rcv_nxt); in tcp_reass()
162 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) &&
184 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) {
213 if (SEQ_GT(q->tqe_th->th_seq, th->th_seq))
226 i = p->tqe_th->th_seq + p->tqe_len - th->th_seq;
245 th->th_seq += i;
257 int i = (th->th_seq + *tlenp) - q->tqe_th->th_seq;
261 q->tqe_th->th_seq += i;
296 if (!q || q->tqe_th->th_seq != tp->rcv_nxt)
[all …]
Dtcp_timewait.c159 nth->th_seq = htonl(tp->snd_nxt); in tcp_twrespond()
361 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tp->rcv_nxt)) { in tcp_twcheck()
382 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck()
391 th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) in tcp_twcheck()
Dtcp_input.c420 tcp_respond(tp, instance, ip6, th, th->th_seq + tlen, (tcp_seq) 0, TH_RST | TH_ACK); in tcp_dropwithreset()
827 tp->irs = th->th_seq; in tcp_input()
830 tp->snd_wl1 = th->th_seq; in tcp_input()
842 tp->rcv_up = th->th_seq + 1; in tcp_input()
1211 th->th_seq == tp->rcv_nxt && in tcp_do_segment()
1227 SEQ_LEQ(th->th_seq, tp->last_ack_sent)) { in tcp_do_segment()
1362 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
1499 …} else if (!IS_FASTOPEN(tp->t_flags) && (thflags & TH_SYN) && !(thflags & TH_ACK) && (th->th_seq =… in tcp_do_segment()
1556 tp->irs = th->th_seq; in tcp_do_segment()
1641 th->th_seq++; in tcp_do_segment()
[all …]
Dtcp_subr.c253 th->th_seq = 0; in tcpip_fillheaders()
322 nth->th_seq = htonl(seq); in tcp_respond()
Dtcp.h60 tcp_seq th_seq; /* sequence number */ member
Dtcp_var.h588 th->th_seq = ntohl(th->th_seq); in tcp_fields_to_host()
Dtcp_output.c1106 th->th_seq = htonl(tp->snd_nxt); in tcp_output()
1108 th->th_seq = htonl(tp->snd_max); in tcp_output()
1110 th->th_seq = htonl(p->rxmit); in tcp_output()
1122 if (len > 0 && !tcp_timer_active(tp, TT_PERSIST) && SEQ_LT(ntohl(th->th_seq), tp->snd_max)) { in tcp_output()