+#ifdef BSD_KERNEL_PRIVATE
+#include <netinet6/nd6_var.h>
+#include <net/if_llatbl.h>
+
+/*
+ * Per-interface IPv6 structures.
+ */
+struct in6_ifextra {
+ struct scope6_id scope6_id;
+ struct in6_ifstat in6_ifstat;
+ struct icmp6_ifstat icmp6_ifstat;
+ struct nd_ifinfo nd_ifinfo;
+ uint32_t netsig_len;
+ u_int8_t netsig[IFNET_SIGNATURELEN];
+ struct ipv6_prefix nat64_prefixes[NAT64_MAX_NUM_PREFIXES];
+ struct lltable *ii_llt; /* NDP state */
+};
+#define IN6_IFEXTRA(_ifp) ((struct in6_ifextra *)(_ifp->if_inet6data))
+#define LLTABLE6(ifp) ((IN6_IFEXTRA(ifp) == NULL) ? NULL : IN6_IFEXTRA(ifp)->ii_llt)
+#endif /* BSD_KERNEL_PRIVATE */
+