Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/netinet/
H A Dtcp_log.h54 extern uint32_t tcp_log_enable_flags;
144 return (inp->inp_log_flags & tcp_log_enable_flags & TLEF_MASK_DST) && in tcp_is_log_enabled()
145 (tcp_log_enable_flags & (req_flags & ~TLEF_MASK_DST)); in tcp_is_log_enabled()
187 (tcp_log_enable_flags & TLEF_DROP_PKT)) \
196 #define TCP_LOG_STATE(tp, new_state) if (tcp_log_enable_flags & TLEF_STATE) \
H A Dtcp_log.c59 uint32_t tcp_log_enable_flags = TCP_LOG_ENABLE_DEFAULT; variable
61 CTLFLAG_RW | CTLFLAG_LOCKED, &tcp_log_enable_flags, 0, "");
691 if (!(tcp_log_enable_flags & TLEF_DST_LOOPBACK)) { in tcp_log_pkt_addresses()
711 if (!(tcp_log_enable_flags & TLEF_DST_LOOPBACK)) { in tcp_log_pkt_addresses()
844 ((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_SYN_RXMT) && in should_log_th_flags()
851 if ((((thflags & TH_SYN) && (tcp_log_enable_flags & TLEF_THF_SYN)) || in should_log_th_flags()
852 ((thflags & TH_FIN) && (tcp_log_enable_flags & TLEF_THF_FIN)) || in should_log_th_flags()
853 ((thflags & TH_RST) && (tcp_log_enable_flags & TLEF_THF_RST)))) { in should_log_th_flags()
H A Dtcp_subr.c617 if (PE_parse_boot_argn("tcp_log", &tcp_log_enable_flags, sizeof(tcp_log_enable_flags))) { in tcp_init()
618 os_log(OS_LOG_DEFAULT, "tcp_init: set tcp_log_enable_flags to 0x%x", tcp_log_enable_flags); in tcp_init()