Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2013 23:36:01 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250000 - head/sys/netinet
Message-ID:  <201304272336.r3RNa1p9017719@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Sat Apr 27 23:36:01 2013
New Revision: 250000
URL: http://svnweb.freebsd.org/changeset/base/250000

Log:
  Move IPPROTO_IPV6 from #ifdef __BSD_VISIBLE to #if __POSIX_VISIBLE >= 201112
  since POSIX 2001 states that it shall be defined.
  
  Reported by:	sbruno
  Reviewed by:	jilles
  MFC after:	1 week

Modified:
  head/sys/netinet/in.h

Modified: head/sys/netinet/in.h
==============================================================================
--- head/sys/netinet/in.h	Sat Apr 27 23:07:49 2013	(r249999)
+++ head/sys/netinet/in.h	Sat Apr 27 23:36:01 2013	(r250000)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304272336.r3RNa1p9017719>