X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=OQ6IaWn08g+9yl2JVaQuRU7Szcat53FWkUvWQ1gnhO2fbr9p4+Sdk
	/a82SeMOmDUqZDp8F+LG+3xlY+Nh735ZUNHC1T+ELvTKUj+eDFvW/YgvgA3FeDww
	IdxM3LGKlEBBYF44mr8eH5/301AuCA9lkjv//Vz/NHxLAr93On09Ug=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=KTusFKVUeI3jFUi+etvzQh0Jb+E=; b=brbOoXvJBNohNFZJsb9S7SuaxzBp
	8nGirIZBnTnnH3O07pZw1XEFXOl2IBIVx/VCVimE0ng9fBt4q01hNNJWBYrh9qCH
	6AAvdHa0d2M7svv8TAI59FQ5QhnGgs9kSFpE9G2pA/1m704CVgpa4HtNl3q9/YYj
	B48P0++0iChEFQg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 20 Jan 2014 18:27:58 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: socat with IP6 support?
Message-ID: <20140120172758.GA2357@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CAF+jOM1XK9d36w+FdRtd2q35yirEaVb0p0wNyteuWru4zTGWrA@mail.gmail.com> <52D985D3.9070506@etr-usa.com> <CAF+jOM3X96jE+2nXBbadstJf6ehKCk0ae9est+6wvX5G1VFupg@mail.gmail.com> <52D9A0C9.4080508@etr-usa.com> <20140117213255.GA1843@ednor.casa.cgf.cx> <20140117221946.GA22079@calimero.vinschen.de> <CAF+jOM3YUtgtae5L=kTmaChYRGQYrp6yGg9H8CbFQ3GguW5-0Q@mail.gmail.com> <20140118114751.GC22079@calimero.vinschen.de> <6nnpd9tm0hn3od1ch642flc0upuvr15jau@4ax.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI"
Content-Disposition: inline
In-Reply-To: <6nnpd9tm0hn3od1ch642flc0upuvr15jau@4ax.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 20 03:45, Andrew Schulman wrote:
> > Thanks.  I added the ip6.h header nevertheless for the upcoming
> > Cygwin 1.7.28.
>=20
> This seems to work fine for socat, but for socat-debuginfo 2.0.0-b6, the
> build fails because IPV6_DSTOPTS is undefined.

I don't quite understand this.  socat-debuginfo is just a by-product of
building socat.  How can building socat work but building debuginfo fail?!?

> Cygwin doesn't seem to
> define IPV6_DSTOPTS.  In Ubuntu, it's defined in
> /usr/include/linux/in6.h (value 59), along with a whole bunch of other
> IPv6 socket options.
>=20
> I'm not sure what the best solution is here.  I could define it locally,
> but would it be better for Cygwin to bring in the missing definitions?

I don't think so.  I checked the available options on Windows again,
and IPV6_DSTOPTS is not supported.  I applied a small patch a few
minutes ago to add a few socket options our headers were missing,
but there are still a lot of Linux socket options not supported on
Windows which hinders CYgwin to support them.

Any chance you could tweak this piece of code to be built only
if IPV6_DSTOPTS is defined?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS3VyeAAoJEPU2Bp2uRE+gtU0P/ioU5mPTl5cjCYmU5Q2h3+3U
snUFbtGV30he4qdrikn4RKA0WkGHprrrdWq47F7x8YytpV6C++MwFY9JYaAXfWRw
qGe+cSFhrxTvtBAsFcbhWdvGdQElqFsIv+EgsLfSqu0C74wErnTqGtzsT2Eo52ZO
O4jOmL3uINV1b9OlUs2V3OenrlDSlM9by+jBXWZthAAXlkbwmBj2B4+PEP/VYy4+
t33Lhtsy0D+PrPdI8/Na7k10VEE+pyuxk4Tl0lubS6Qe/Vc4lFH6+XeflnQvSn7K
uZ7dHlP+a1FLhmr/+yzmKan099rET+xG2Ko9919xExVvs7Tw34HjJzYKBN+tE9Uf
Kld1POkf/G2BP5vzCLwLBrxRWRW5Ca+cLbo16ert0DPRjpQKfBzXG0GyubIxOdWV
ylk0mS4WczGil5ILoOlkhJu5OHxa115JPbsdNmyPZpK7BaLz/OYfKQ0Qon+qVh+p
lL9ztkBduFWmzrpp7nrZkpYhS/JanfGkV8UmWDKemCBszRcMMT7WB0OHuhIeWVeJ
BPrLGUPuCUnZQXtgMo5KPR5+QhMWJ2nzIxG3aDJZAMVvCTubPscg0QWGUdFdpEma
G2z2n2++/NkgiRMB5L41Vb59a6Rj8HVK69z3eTsDkUreyAdv6FU3/Zm8kyACIuKw
cAapI4jNigmdrCkSU0Oc
=/Xna
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--
