Home
last modified time | relevance | path

Searched refs:TH_SYN (Results 1 – 5 of 5) sorted by relevance

/openthread-3.5.0/third_party/tcplp/bsdtcp/
Dtcp_output.c238 flags |= TH_SYN; in tcp_output()
338 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_output()
340 flags &= ~TH_SYN; in tcp_output()
347 flags &= ~TH_SYN; in tcp_output()
356 if ((flags & TH_SYN) && (tp->t_flags & TF_NOOPT)) { in tcp_output()
379 (((flags & TH_SYN) && (tp->t_rxtshift > 0)) || in tcp_output()
638 ((flags & TH_SYN) && (tp->t_flags & TF_NEEDSYN) == 0)) in tcp_output()
732 if (flags & TH_SYN) { in tcp_output()
771 if ((flags & TH_SYN) && (tp->t_flags & TF_REQ_SCALE)) { in tcp_output()
777 ((flags & TH_SYN) && (tp->t_flags & TF_REQ_TSTMP))) { in tcp_output()
[all …]
Dtcp_fsm.h91 TH_SYN, /* 2, SYN_SENT */
92 TH_SYN|TH_ACK, /* 3, SYN_RECEIVED */
Dtcp.h86 #define TH_SYN 0x02 macro
93 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
Dtcp_input.c418 if (th->th_flags & TH_SYN) in tcp_dropwithreset()
668 if ((thflags & TH_SYN) == 0) { in tcp_input()
719 KASSERT(thflags & (TH_SYN), in tcp_input()
1109 (thflags & TH_SYN) ? TO_SYN : 0); in tcp_do_segment()
1145 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) { in tcp_do_segment()
1212 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && 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()
1513 if ((thflags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in tcp_do_segment()
1516 } else if (thflags & TH_SYN) { in tcp_do_segment()
1553 if (!(thflags & TH_SYN)) in tcp_do_segment()
[all …]
Dtcp_timewait.c361 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()