On Thu, 08 Sep 2016 06:31:14 -0700
Eric Dumazet wrote:
> On Thu, 2016-09-08 at 11:15 +0200, Jesper Dangaard Brouer wrote:
> > On Wed, 07 Sep 2016 21:52:56 -0700
> > Eric Dumazet wrote:
> >
> > > From: Eric Dumazet
> > >
> > > In commit f02db315b8d8 ("ipv4: IP_TOS and IP_TTL can be specified
From: Eric Dumazet
Date: Wed, 07 Sep 2016 21:52:56 -0700
> From: Eric Dumazet
>
> In commit f02db315b8d8 ("ipv4: IP_TOS and IP_TTL can be specified as
> ancillary data") Francesco added IP_TOS values specified as integer.
>
> However, kernel sends to userspace (at recvmsg() time) an IP_TOS val
On Thu, 2016-09-08 at 11:15 +0200, Jesper Dangaard Brouer wrote:
> On Wed, 07 Sep 2016 21:52:56 -0700
> Eric Dumazet wrote:
>
> > From: Eric Dumazet
> >
> > In commit f02db315b8d8 ("ipv4: IP_TOS and IP_TTL can be specified as
> > ancillary data") Francesco added IP_TOS values specified as integ
On Wed, 07 Sep 2016 21:52:56 -0700
Eric Dumazet wrote:
> From: Eric Dumazet
>
> In commit f02db315b8d8 ("ipv4: IP_TOS and IP_TTL can be specified as
> ancillary data") Francesco added IP_TOS values specified as integer.
>
> However, kernel sends to userspace (at recvmsg() time) an IP_TOS value
From: Eric Dumazet
In commit f02db315b8d8 ("ipv4: IP_TOS and IP_TTL can be specified as
ancillary data") Francesco added IP_TOS values specified as integer.
However, kernel sends to userspace (at recvmsg() time) an IP_TOS value
in a single byte, when IP_RECVTOS is set on the socket.
It can be v