Searched refs:th_seq (Results 1 – 7 of 7) sorted by relevance
/openthread-3.6.0/third_party/tcplp/bsdtcp/ |
D | tcp_reass.c | 74 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 …]
|
D | tcp_timewait.c | 159 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()
|
D | tcp_input.c | 420 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 …]
|
D | tcp_subr.c | 253 th->th_seq = 0; in tcpip_fillheaders() 322 nth->th_seq = htonl(seq); in tcp_respond()
|
D | tcp.h | 60 tcp_seq th_seq; /* sequence number */ member
|
D | tcp_var.h | 588 th->th_seq = ntohl(th->th_seq); in tcp_fields_to_host()
|
D | tcp_output.c | 1106 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()
|