linux(64)-compat and ipv6 setsockopt

Joe Love joe at getsomewhere.net
Thu Mar 3 20:13:53 UTC 2016


Hi Andrey,

I’ve 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 at FreeBSD.org> wrote:
> 
> On 03.03.16 02:27, Joe Love wrote:
>> int ipv6only = 1; setsockopt(this->fd6, IPPROTO_IPV6, IPV6_V6ONLY,
>> &ipv6only, sizeof(ipv6only));
>> 
>> 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”
> 
> Hi,
> 
> 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.
> 
> -- 
> WBR, Andrey V. Elsukov
> <linux_ip6_sockopt.diff>



More information about the freebsd-emulation mailing list