svn commit: r250228 - stable/9/sys/netinet

Colin Percival cperciva at FreeBSD.org
Sat May 4 00:31:42 UTC 2013


Author: cperciva
Date: Sat May  4 00:31:41 2013
New Revision: 250228
URL: http://svnweb.freebsd.org/changeset/base/250228

Log:
  MFC r250000:
    Move IPPROTO_IPV6 from #ifdef __BSD_VISIBLE to #if __POSIX_VISIBLE >= 201112
    since POSIX 2001 states that it shall be defined.

Modified:
  stable/9/sys/netinet/in.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/in.h
==============================================================================
--- stable/9/sys/netinet/in.h	Fri May  3 23:51:32 2013	(r250227)
+++ stable/9/sys/netinet/in.h	Sat May  4 00:31:41 2013	(r250228)
@@ -123,6 +123,7 @@ __END_DECLS
 #endif /* !_KERNEL && __BSD_VISIBLE */
 
 #if __POSIX_VISIBLE >= 200112
+#define	IPPROTO_IPV6		41		/* IP6 header */
 #define	IPPROTO_RAW		255		/* raw IP packet */
 #define	INET_ADDRSTRLEN		16
 #endif
@@ -174,7 +175,6 @@ __END_DECLS
 #define	IPPROTO_CMTP		38		/* Control Message Transport */
 #define	IPPROTO_TPXX		39		/* TP++ Transport */
 #define	IPPROTO_IL		40		/* IL transport protocol */
-#define	IPPROTO_IPV6		41		/* IP6 header */
 #define	IPPROTO_SDRP		42		/* Source Demand Routing */
 #define	IPPROTO_ROUTING		43		/* IP6 routing header */
 #define	IPPROTO_FRAGMENT	44		/* IP6 fragmentation header */


More information about the svn-src-all mailing list