Home
last modified time | relevance | path

Searched refs:TH_RST (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp.h87 #define TH_RST 0x04 macro
93 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
Dtcp_fsm.h89 TH_RST|TH_ACK, /* 0, CLOSED */
Dtcp_input.c411 if (th->th_flags & TH_RST) in tcp_dropwithreset()
416 tcp_respond(tp, instance, ip6, th, (tcp_seq) 0, th->th_ack, TH_RST); in tcp_dropwithreset()
420 tcp_respond(tp, instance, ip6, th, th->th_seq + tlen, (tcp_seq) 0, TH_RST | TH_ACK); in tcp_dropwithreset()
717 KASSERT((thflags & (TH_RST|TH_ACK)) == 0, in tcp_input()
1212 (thflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_do_segment()
1521 } else if (!(thflags & (TH_ACK|TH_FIN|TH_RST))) { in tcp_do_segment()
1548 if ((thflags & (TH_ACK|TH_RST)) == (TH_ACK|TH_RST)) { in tcp_do_segment()
1551 if (thflags & TH_RST) in tcp_do_segment()
1694 if (thflags & TH_RST) { in tcp_do_segment()
Dtcp_timewait.c331 if (thflags & TH_RST) in tcp_twcheck()
Dtcp_subr.c311 if (!(flags & TH_RST)) { in tcp_respond()
Dtcp_output.c382 (flags & TH_RST))) in tcp_output()
637 if ((flags & TH_RST) || in tcp_output()
930 else if (flags & (TH_SYN|TH_FIN|TH_RST)) in tcp_output()