Home
last modified time | relevance | path

Searched refs:tcp_log_enable_flags (Results 1 – 3 of 3) sorted by relevance

/xnu-8792.41.9/bsd/netinet/
H A Dtcp_log.h54 extern uint32_t tcp_log_enable_flags;
142 return (tp->t_log_flags & tcp_log_enable_flags & TLEF_MASK_DST) && in tcp_is_log_enabled()
143 (tcp_log_enable_flags & (req_flags & ~TLEF_MASK_DST)); in tcp_is_log_enabled()
185 (tcp_log_enable_flags & TLEF_DROP_PKT)) \
194 #define TCP_LOG_STATE(tp, new_state) if (tcp_log_enable_flags & TLEF_STATE) \
H A Dtcp_log.c58 uint32_t tcp_log_enable_flags = TCP_LOG_ENABLE_DEFAULT; variable
60 CTLFLAG_RW | CTLFLAG_LOCKED, &tcp_log_enable_flags, 0, "");
645 if (!(tcp_log_enable_flags & TLEF_DST_LOOPBACK)) { in tcp_log_pkt_addresses()
665 if (!(tcp_log_enable_flags & TLEF_DST_LOOPBACK)) { in tcp_log_pkt_addresses()
790 ((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_SYN_RXMT) && in should_log_th_flags()
797 if ((((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_THF_SYN)) || in should_log_th_flags()
798 ((thflags & TH_FIN) && (tcp_log_enable_flags & TLEF_THF_FIN)) || in should_log_th_flags()
799 ((thflags & TH_RST) && (tcp_log_enable_flags & TLEF_THF_RST)))) { in should_log_th_flags()
H A Dtcp_subr.c633 if (PE_parse_boot_argn("tcp_log", &tcp_log_enable_flags, sizeof(tcp_log_enable_flags))) { in tcp_init()
634 os_log(OS_LOG_DEFAULT, "tcp_init: set tcp_log_enable_flags to 0x%x", tcp_log_enable_flags); in tcp_init()