svn commit: r368353 - head/sys/netinet6

Hans Petter Selasky hselasky at FreeBSD.org
Fri Dec 4 21:51:48 UTC 2020


Author: hselasky
Date: Fri Dec  4 21:51:47 2020
New Revision: 368353
URL: https://svnweb.freebsd.org/changeset/base/368353

Log:
  Expose nonstandard IPv6 kernel definitions to standalone builds.
  No functional change.
  
  Reviewed by:	bz@
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies // NVIDIA Networking

Modified:
  head/sys/netinet6/in6.h

Modified: head/sys/netinet6/in6.h
==============================================================================
--- head/sys/netinet6/in6.h	Fri Dec  4 21:34:48 2020	(r368352)
+++ head/sys/netinet6/in6.h	Fri Dec  4 21:51:47 2020	(r368353)
@@ -103,7 +103,7 @@ struct in6_addr {
 };
 
 #define s6_addr   __u6_addr.__u6_addr8
-#ifdef _KERNEL	/* XXX nonstandard */
+#if defined(_KERNEL) || defined(_STANDALONE) /* XXX nonstandard */
 #define s6_addr8  __u6_addr.__u6_addr8
 #define s6_addr16 __u6_addr.__u6_addr16
 #define s6_addr32 __u6_addr.__u6_addr32


More information about the svn-src-head mailing list