Lines Matching refs:thflags
687 uint8_t thflags; in tcp_log_pkt_addresses() local
690 thflags = th->th_flags; in tcp_log_pkt_addresses()
837 thflags & TH_SYN ? "SYN " : "", \
838 thflags & TH_FIN ? "FIN " : "", \
839 thflags & TH_RST ? "RST " : "", \
840 thflags & TH_ACK ? "ACK " : ""
843 should_log_th_flags(uint8_t thflags, struct tcpcb *tp, bool outgoing, struct ifnet *ifp) in should_log_th_flags() argument
860 ((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_SYN_RXMT) && in should_log_th_flags()
867 if ((((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_THF_SYN)) || in should_log_th_flags()
868 ((thflags & TH_FIN) && (tcp_log_enable_flags & TLEF_THF_FIN)) || in should_log_th_flags()
869 ((thflags & TH_RST) && (tcp_log_enable_flags & TLEF_THF_RST)))) { in should_log_th_flags()
885 uint8_t thflags; in tcp_log_th_flags() local
891 thflags = th->th_flags; in tcp_log_th_flags()
893 if (should_log_th_flags(thflags, tp, outgoing, ifp) == false) { in tcp_log_th_flags()
954 uint8_t thflags; in tcp_log_drop_pkt() local
963 thflags = th->th_flags; in tcp_log_drop_pkt()
965 if (should_log_th_flags(thflags, NULL, outgoing, ifp) == false) { in tcp_log_drop_pkt()