Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/netinet/
H A Dtcp_log.c691 uint8_t thflags; in tcp_log_pkt_addresses() local
694 thflags = th->th_flags; in tcp_log_pkt_addresses()
841 thflags & TH_SYN ? "SYN " : "", \
842 thflags & TH_FIN ? "FIN " : "", \
843 thflags & TH_RST ? "RST " : "", \
844 thflags & TH_ACK ? "ACK " : ""
847 should_log_th_flags(uint8_t thflags, struct tcpcb *tp, bool outgoing, struct ifnet *ifp) in should_log_th_flags() argument
864 ((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_SYN_RXMT) && in should_log_th_flags()
871 if ((((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_THF_SYN)) || in should_log_th_flags()
872 ((thflags & TH_FIN) && (tcp_log_enable_flags & TLEF_THF_FIN)) || in should_log_th_flags()
[all …]
H A Dtcp_syncookie.c220 syncookie_respond_accecn(uint8_t setup_flags, uint16_t thflags) in syncookie_respond_accecn() argument
224 thflags |= TH_ECE; in syncookie_respond_accecn()
227 thflags |= TH_CWR; in syncookie_respond_accecn()
230 thflags |= (TH_CWR | TH_ECE); in syncookie_respond_accecn()
233 thflags |= TH_AE; in syncookie_respond_accecn()
236 thflags |= (TH_AE | TH_CWR); in syncookie_respond_accecn()
240 return thflags; in syncookie_respond_accecn()
H A Dtcp_input.c1636 tcp_update_window(struct tcpcb *tp, int thflags, struct tcphdr * th, in tcp_update_window() argument
1640 if ((thflags & TH_ACK) && in tcp_update_window()
1816 int thflags, int ace_flags, uint8_t ip_ecn, uint32_t tlen, uint32_t segment_count) in tcp_input_process_accecn_synack() argument
1818 if ((thflags & (TH_ECE | TH_CWR)) == (TH_ECE)) { in tcp_input_process_accecn_synack()
2763 int thflags; in tcp_input() local
2962 thflags = th->th_flags; in tcp_input()
2970 if ((thflags & (TH_SYN | TH_FIN)) == (TH_SYN | TH_FIN)) { in tcp_input()
3063 if (thflags & TH_SYN) { in tcp_input()
3075 ntohs(th->th_sport), thflags); in tcp_input()
3079 if ((thflags & TH_SYN) && !(thflags & TH_ACK) && in tcp_input()
[all …]
H A Dtcp_output.c871 tcp_accecn_synack_respond(struct tcpcb * tp, uint16_t thflags) in tcp_accecn_synack_respond() argument
897 thflags |= tp->t_prev_ace_flags; in tcp_accecn_synack_respond()
903 thflags |= tp->t_prev_ace_flags; in tcp_accecn_synack_respond()
908 thflags |= tp->t_prev_ace_flags; in tcp_accecn_synack_respond()
913 thflags |= tp->t_prev_ace_flags; in tcp_accecn_synack_respond()
924 thflags |= tp->t_prev_ace_flags; in tcp_accecn_synack_respond()
944 thflags |= TH_ECE; in tcp_accecn_synack_respond()
985 return thflags; in tcp_accecn_synack_respond()
H A Dtcp_subr.c863 tcp_filloptions(struct tcpopt *peer_to, uint16_t thflags, uint16_t mss, uint8_t rcv_scale, in tcp_filloptions() argument
871 if (thflags & TH_SYN) { in tcp_filloptions()