This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
sys/socket.h: define SOL_IPV6?
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 26 Apr 2009 22:22:07 -0500
- Subject: sys/socket.h: define SOL_IPV6?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Does it make sense to define SOL_IPV6 now? Patch attached if so.
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkn1JN8ACgkQpiWmPGlmQSNx6gCeIIaTkZ1JfkQQ95mJoUtJNBXl
z58AoPudyZ7Xo0yxwggJEwLJEE9UMT9V
=qIUQ
-----END PGP SIGNATURE-----
2009-04-26 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* include/cygwin/socket.h: Define SOL_IPV6.
Index: include/cygwin/socket.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/socket.h,v
retrieving revision 1.26
diff -u -r1.26 socket.h
--- include/cygwin/socket.h 9 Mar 2009 14:40:45 -0000 1.26
+++ include/cygwin/socket.h 27 Apr 2009 03:17:54 -0000
@@ -198,6 +198,7 @@
/* Setsockoptions(2) level. Thanks to BSD these must match IPPROTO_xxx */
#define SOL_IP 0
+#define SOL_IPV6 41
#define SOL_IPX 256
#define SOL_AX25 257
#define SOL_ATALK 258