Date: Tue, 6 Jun 2017 18:39:37 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Hal Murray <hmurray@megapathdsl.net>, freebsd-net@freebsd.org Cc: Maxim Sobolev <sobomax@FreeBSD.org> Subject: Re: Anybody using SO_BINTIME with IPv6? Message-ID: <af550944-c84f-6a3c-65eb-60b05259df6b@yandex.ru> In-Reply-To: <20170606064039.4F3FE406063@ip-64-139-1-69.sjc.megapath.net> References: <20170606064039.4F3FE406063@ip-64-139-1-69.sjc.megapath.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D6A1w9K94f36pXb9Mcf8r7rLQUH1JxuA2 Content-Type: multipart/mixed; boundary="I0I8RosmtdR4x8sqXQAAMpGxPA8vV4Q5G"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Hal Murray <hmurray@megapathdsl.net>, freebsd-net@freebsd.org Cc: Maxim Sobolev <sobomax@FreeBSD.org> Message-ID: <af550944-c84f-6a3c-65eb-60b05259df6b@yandex.ru> Subject: Re: Anybody using SO_BINTIME with IPv6? References: <20170606064039.4F3FE406063@ip-64-139-1-69.sjc.megapath.net> In-Reply-To: <20170606064039.4F3FE406063@ip-64-139-1-69.sjc.megapath.net> --I0I8RosmtdR4x8sqXQAAMpGxPA8vV4Q5G Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06.06.2017 09:40, Hal Murray wrote: >=20 > I'm cleaning up some code. SO_BINTIME works with IPv4. SO_TIMESTAMP w= orks=20 > with IPv4 and IPv6. >=20 > But SO_BINTIME doesn't work with IPv6. setsockopt works, but recvmsg d= oesn't=20 > return any cmsg data. >=20 > If this is a known problem, I'll just use SO_TIMESTAMP and accept the r= educed=20 > resolution. If somebody has a working example, I'll work harder on fin= ding a=20 > bug/quirk and/or making a simple test case. Hi, it seems like a bug, that is easy to fix, but Maxim has already implemented another option in this patch https://reviews.freebsd.org/D9171 --=20 WBR, Andrey V. Elsukov --I0I8RosmtdR4x8sqXQAAMpGxPA8vV4Q5G-- --D6A1w9K94f36pXb9Mcf8r7rLQUH1JxuA2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlk2zLkACgkQAcXqBBDI oXof/AgArQL3xslukPoScHlBb+IagKHKxL97U6XWFbdFVhfw70jwRm/kMAIc9lT7 PqhvJ2HrwY3U8nRNr+xSM47+Jz+OIZYQQU2bdZGOWl5f22ggZ2KnNTdhCgbQyp5+ sBCKTkIX4tQT3DxnXIODSI3eEUp/Plfyv8UNvfVnJ5BiXc3J5QblN0LnpgxKXxkc hRJIOfjgyImEw/FndUHYIaUeXU3BtrCFvRbns5TPQKN40HIo5xtpuwMQZYbsI73R +hyhfOCQKdq0WZCiYUxjqjNNU5UHuGNVHfhNTyz+9llP0H1khV14/Zu02fb68uDT CCLzd/xxq64Fo+K3n3Q7AZlNk/2Hgw== =8W5r -----END PGP SIGNATURE----- --D6A1w9K94f36pXb9Mcf8r7rLQUH1JxuA2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af550944-c84f-6a3c-65eb-60b05259df6b>