Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/netinet/
H A Dtcp_log.h54 extern uint32_t tcp_log_enable_flags;
139 return (tp->t_log_flags & tcp_log_enable_flags & TLEF_MASK_DST) && in tcp_is_log_enabled()
140 (tcp_log_enable_flags & (req_flags & ~TLEF_MASK_DST)); in tcp_is_log_enabled()
179 (tcp_log_enable_flags & TLEF_DROP_PKT)) \
H A Dtcp_log.c68 uint32_t tcp_log_enable_flags = TCP_LOG_ENABLE_DEFAULT; variable
70 CTLFLAG_RW | CTLFLAG_LOCKED, &tcp_log_enable_flags, 0, "");
630 if (!(tcp_log_enable_flags & TLEF_DST_LOOPBACK)) { in tcp_log_pkt_addresses()
650 if (!(tcp_log_enable_flags & TLEF_DST_LOOPBACK)) { in tcp_log_pkt_addresses()
780 if ((((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_THF_SYN)) || in tcp_log_th_flags()
781 ((thflags & TH_FIN) && (tcp_log_enable_flags & TLEF_THF_FIN)) || in tcp_log_th_flags()
782 ((thflags & TH_RST) && (tcp_log_enable_flags & TLEF_THF_RST))) == false) { in tcp_log_th_flags()
861 if ((((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_THF_SYN)) || in tcp_log_drop_pkt()
862 ((thflags & TH_FIN) && (tcp_log_enable_flags & TLEF_THF_FIN)) || in tcp_log_drop_pkt()
863 ((thflags & TH_RST) && (tcp_log_enable_flags & TLEF_THF_RST))) == false) { in tcp_log_drop_pkt()
H A Dtcp_subr.c635 PE_parse_boot_argn("tcp_log", &tcp_log_enable_flags, sizeof(tcp_log_enable_flags)); in tcp_init()