Searched refs:TH_SYN (Results 1 - 14 of 14) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_fsm.h | 112 * Basic flags (TH_RST,TH_ACK,TH_SYN,TH_FIN) are totally 119 TH_SYN, /* 2, SYN_SENT */ 120 TH_SYN|TH_ACK, /* 3, SYN_RECEIVED */
|
H A D | tcp.h | 96 #define TH_SYN 0x02 macro 103 #define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)
|
H A D | tcp_output.c | 543 flags |= TH_SYN; 634 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { 635 flags &= ~TH_SYN; 679 if ((flags & TH_SYN) && (tp->t_flags & TF_NOOPT)) { 689 if (len <= 0 && !(flags & TH_SYN)) { 916 ((flags & TH_SYN) && (tp->t_flags & TF_NEEDSYN) == 0)) 1015 if (flags & TH_SYN) { 1057 if (tcp_ecn_inbound && (flags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) { 1081 else if (tcp_ecn_outbound && (flags & (TH_SYN | TH_AC [all...] |
H A D | tcp_input.c | 1371 (th->th_flags & TH_SYN) == 0) { 1388 if (drop_synfin && (thflags & (TH_SYN|TH_FIN)) == (TH_SYN|TH_FIN)) { 1556 if(thflags & TH_SYN) 1570 if ((thflags & TH_SYN) && !(thflags & TH_ACK) && 1594 if (thflags & TH_SYN) 1644 if ((thflags & TH_SYN) == 0) 1697 if ((thflags & (TH_RST|TH_ACK|TH_SYN)) != TH_SYN) { 2127 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) { [all...] |
H A D | ip_fw.h | 293 #define IP_FW_TCPF_SYN TH_SYN
|
H A D | ip_compat.h | 434 #ifndef TH_SYN 435 # define TH_SYN 0x02
|
H A D | ip_fw2_compat.h | 335 #define IP_FW_TCPF_SYN_COMPAT TH_SYN
|
H A D | ip_fw2_compat.c | 73 { "syn", TH_SYN }, 294 if (list == f_tcpflags && set == TH_SYN && clear == TH_ACK) { 803 if (flags & TH_SYN) 1064 if ((cmd->arg1 & 0xff) == TH_SYN && 1343 if ((cmd->arg1 & 0xff) == TH_SYN && 2406 fill_cmd(cmd, O_TCPFLAGS, (TH_SYN) | ( (TH_ACK) & 0xff) <<8); 2949 fill_cmd(cmd, O_TCPFLAGS, (TH_SYN) | ( (TH_ACK) & 0xff) <<8);
|
H A D | ip_fw2.c | 1382 #define BOTH_SYN (TH_SYN | (TH_SYN << 8)) 1442 u_char flags = pkt->flags & (TH_FIN|TH_SYN|TH_RST); 1446 case TH_SYN: /* opening */ 1767 if (flags & TH_SYN) 1775 * We are sending a keepalive. flags & TH_SYN determines 1780 if (flags & TH_SYN) { 2489 (TH_RST | TH_ACK | TH_SYN)) != TH_SYN); 3921 *mtailp = send_pkt(&(q->id), q->ack_rev - 1, q->ack_fwd, TH_SYN); [all...] |
H A D | tcp_lro.c | 461 (tcp_hdr->th_flags & TH_SYN) == 0) { 479 if (thflags & (TH_SYN | TH_URG | TH_ECE | TH_CWR | TH_PUSH | TH_RST | TH_FIN)) {
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | ip6_fw.h | 315 #define IPV6_FW_TCPF_SYN TH_SYN
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_osfp.c | 127 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN)
|
H A D | pf.c | 1909 if (f & TH_SYN) 4602 if (th->th_flags & TH_SYN) 4823 if ((th->th_flags & (TH_SYN|TH_ACK)) == 4824 TH_SYN && r->keep_state == PF_STATE_MODULATE) { 4834 if (th->th_flags & TH_SYN) { 5006 (th->th_flags & (TH_SYN|TH_ACK)) == TH_SYN && 5032 TH_SYN|TH_ACK, 0, s->src.mss, 0, 1, 0, NULL, NULL); 5834 if (th->th_flags & TH_SYN) { 5842 TH_SYN|TH_AC [all...] |
H A D | pf_norm.c | 2156 if (flags & TH_SYN) { 2270 if ((th->th_flags & TH_SYN) == 0) 2618 || pd->p_len > 0 || (th->th_flags & TH_SYN)) &&
|
Completed in 126 milliseconds