Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2016 14:13:44 -0600
From:      Joe Love <joe@getsomewhere.net>
To:        "Andrey V. Elsukov" <ae@FreeBSD.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linux(64)-compat and ipv6 setsockopt
Message-ID:  <15195725-A9AA-473E-8FF8-7A20CBBC18C8@getsomewhere.net>
In-Reply-To: <56D85D9F.7000400@FreeBSD.org>
References:  <7B0DAB1F-3C71-4E20-BC50-8EF4541B8D91@getsomewhere.net> <56D85D9F.7000400@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Andrey,

I=E2=80=99ve tested the patch for my use case, and it does work.

Thanks,
-Joe

> On Mar 3, 2016, at 9:51 AM, Andrey V. Elsukov <ae@FreeBSD.org> wrote:
>=20
> On 03.03.16 02:27, Joe Love wrote:
>> int ipv6only =3D 1; setsockopt(this->fd6, IPPROTO_IPV6, IPV6_V6ONLY,
>> &ipv6only, sizeof(ipv6only));
>>=20
>> Both Steamcmd and Factorio would spit out error messages like this
>> (this one being from Factorio): 1.132 Error
>> MultiplayerManager.cpp:108: MultiplayerManager failed: "Setsockopt
>> failed: Protocol not available=E2=80=9D
>=20
> Hi,
>=20
> can you test this patch? I added some socket options for IPPROTO_IPV6
> layer that seem simple, the rest needs a bit more attention.
> The patch is untested.
>=20
> --=20
> WBR, Andrey V. Elsukov
> <linux_ip6_sockopt.diff>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15195725-A9AA-473E-8FF8-7A20CBBC18C8>