X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..b226f5e54a60dc81db17b1260381d7dbfea3cdf1:/bsd/net/if_pflog.h diff --git a/bsd/net/if_pflog.h b/bsd/net/if_pflog.h index f2e5d4cad..1ebfb6bb6 100644 --- a/bsd/net/if_pflog.h +++ b/bsd/net/if_pflog.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Apple Inc. All rights reserved. + * Copyright (c) 2007-2018 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -62,11 +62,14 @@ extern "C" { #endif -#define PFLOGIFS_MAX 1 +#define PFLOGIFS_MAX 16 +#define PFLOGIF_ZONE_MAX_ELEM MIN(IFNETS_MAX, PFLOGIFS_MAX) #if KERNEL_PRIVATE struct pflog_softc { struct ifnet *sc_if; /* back ptr to interface */ + u_int32_t sc_flags; +#define IFPFLF_DETACHING 0x1 int sc_unit; LIST_ENTRY(pflog_softc) sc_list; };