Lines Matching refs:thflags
691 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()
873 ((thflags & TH_RST) && (tcp_log_enable_flags & TLEF_THF_RST)))) { in should_log_th_flags()
889 uint8_t thflags; in tcp_log_th_flags() local
895 thflags = th->th_flags; in tcp_log_th_flags()
897 if (should_log_th_flags(thflags, tp, outgoing, ifp) == false) { in tcp_log_th_flags()
958 uint8_t thflags; in tcp_log_drop_pkt() local
967 thflags = th->th_flags; in tcp_log_drop_pkt()
969 if (should_log_th_flags(thflags, NULL, outgoing, ifp) == false) { in tcp_log_drop_pkt()