Home
last modified time | relevance | path

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

/xnu-11215/bsd/netinet/
H A Dtcp.h109 #define TH_RST 0x04 macro
116 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)
118 #define TH_ACCEPT (TH_FIN|TH_SYN|TH_RST|TH_ACK)
H A Dtcp_fsm.h121 TH_RST | TH_ACK, /* 0, CLOSED */
H A Dtcp_log.h204 if ((th) != NULL && ((th)->th_flags & (TH_SYN|TH_FIN|TH_RST))) \
208 if ((th) != NULL && ((th->th_flags) & (TH_SYN|TH_FIN|TH_RST)) && \
H A Dip_compat.h439 #ifndef TH_RST
440 # define TH_RST 0x04
H A Dtcp_output.c1263 if (flags & TH_RST) { in tcp_output()
1698 if ((flags & TH_RST) || (flags & TH_SYN)) { in tcp_output()
1861 (flags & TH_RST) == 0 && in tcp_output()
2568 } else if (flags & (TH_SYN | TH_FIN | TH_RST)) { in tcp_output()
2801 || tp->t_state == TCPS_LAST_ACK || (th->th_flags & TH_RST))) { in tcp_output()
3115 if ((th->th_flags & TH_RST) && tp->t_rst_sent < UINT8_MAX) { in tcp_output()
H A Dtcp_log.c839 thflags & TH_RST ? "RST " : "", \
869 ((thflags & TH_RST) && (tcp_log_enable_flags & TLEF_THF_RST)))) { in should_log_th_flags()
H A Dtcp_input.c2561 if ((thflags & (TH_RST | TH_ACK | TH_SYN)) != TH_SYN) { in tcp_input()
2564 if (thflags & TH_RST) { in tcp_input()
2894 if (th->th_flags & TH_RST) { in tcp_input()
3094 (thflags & (TH_SYN | TH_FIN | TH_RST | TH_URG | TH_ACK | TH_ECE | TH_PUSH)) == TH_ACK && in tcp_input()
3681 if (thflags & TH_RST) { in tcp_input()
4177 if (thflags & TH_RST) { in tcp_input()
6042 if ((thflags & TH_RST) || m->m_flags & (M_BCAST | M_MCAST)) { in tcp_input()
6066 TH_RST, &tra); in tcp_input()
6073 (tcp_seq)0, TH_RST | TH_ACK, &tra); in tcp_input()
H A Dtcp_subr.c782 if (!(flags & TH_RST)) { in tcp_respond()
826 flags = (TH_RST | TH_ACK); in tcp_respond()
926 if ((flags & TH_RST) == 0) { in tcp_respond()
941 if (flags & TH_RST) { in tcp_respond()
945 if (flags & TH_RST) { in tcp_respond()
H A Dmptcp_opt.c1532 if ((th->th_flags != TH_ACK) && (th->th_flags != TH_RST)) { in mptcp_do_mpfail_opt()
H A Dmptcp_subr.c4347 tp->rcv_nxt, tp->snd_una, TH_RST, &tra); in mptcp_subflow_mustrst_ev()
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_track.c268 if (tcp_flags & TH_RST) { in flow_track_tcp()
298 if (tcp_flags & TH_RST) { in flow_track_tcp()
341 if (tcp_flags & TH_RST) { in flow_track_tcp()
373 (tcp_flags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) || in flow_track_tcp()
400 (!(tcp_flags & TH_RST) || orig_seq == src->fse_seqlo || in flow_track_tcp()
438 !(tcp_flags & TH_RST)) { in flow_track_tcp()
452 if ((tcp_flags & TH_RST) && in flow_track_tcp()
511 if (tcp_flags & TH_RST) { in flow_track_tcp()
831 th->th_flags = TH_RST; in flow_track_abort_tcp()
837 th->th_flags = TH_RST | TH_ACK; in flow_track_abort_tcp()
[all …]
H A Dflow_agg.c43 #define TCP_FLAGS_IGNORE (TH_FIN|TH_SYN|TH_RST|TH_URG)
/xnu-11215/bsd/dev/dtrace/scripts/
H A Dtcp.d35 inline int TH_RST = 0x04; variable
36 #pragma D binding "1.0" TH_RST
/xnu-11215/bsd/net/
H A Dpf.c1738 TH_RST | TH_ACK, 0, 0, 0, 1, cur->tag, NULL, NULL); in pf_unlink_state()
2034 if (f & TH_RST) { in pf_print_flags()
5547 !(th->th_flags & TH_RST)) { in pf_test_rule()
5577 ntohl(th->th_ack), ack, TH_RST | TH_ACK, 0, 0, in pf_test_rule()
7299 (th->th_flags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) || in pf_test_state_tcp()
7350 ((th->th_flags & TH_RST) == 0 || orig_seq == src->seqlo || in pf_test_state_tcp()
7401 if (th->th_flags & TH_RST) { in pf_test_state_tcp()
7496 if (th->th_flags & TH_RST) { in pf_test_state_tcp()
7505 if (!(th->th_flags & TH_RST)) { in pf_test_state_tcp()
7509 TH_RST, 0, 0, in pf_test_state_tcp()
H A Dpf_norm.c2669 if (flags & TH_RST) { in pf_normalize_tcp()
2678 if (!(flags & (TH_ACK | TH_RST))) { in pf_normalize_tcp()
3136 } else if (!got_ts && (th->th_flags & TH_RST) == 0 && in pf_normalize_tcp_stateful()
/xnu-11215/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c3172 (pkt->pkt_flow_tcp_flags & TH_RST) != 0) { in dp_listener_flow_tx_process()
/xnu-11215/tests/skywalk/
H A Dskt_xfer.c557 ip_tcp->tcp.th_flags |= (connect ? TH_SYN : TH_RST); in tcp_frame_populate()