[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <db7d2f4dde6db2af82c880756d76af1b7c1e41e8.camel@decadent.org.uk>
Date: Mon, 03 Aug 2020 04:32:36 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: Thorsten Glaser <t.glaser@...ent.de>, 966459@...s.debian.org
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: Bug#966459: linux: traffic class socket options (both
IPv4/IPv6) inconsistent with docs/standards
On Sun, 2020-08-02 at 22:44 +0200, Thorsten Glaser wrote:
> On Sun, 2 Aug 2020, Ben Hutchings wrote:
>
> > The RFC says that the IPV6_TCLASS option's value is an int, and that
>
> for setsockopt (“option's”), not cmsg
>
> > No, the wording is *not* clear.
>
> Agreed.
>
> So perhaps let’s try to find out what’s actually right…
For what it's worth, FreeBSD/Darwin and Windows also put 4 bytes of
data in a IPV6_TCLASS cmsg. So whether or not it's "right", it's
consistent between three independent implementations.
Ben.
--
Ben Hutchings
For every complex problem
there is a solution that is simple, neat, and wrong.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists