netdev
[Top] [All Lists]

Re: CBQ and all other qdiscs now REALLY completely documented

To: bert hubert <ahu@xxxxxxx>
Subject: Re: CBQ and all other qdiscs now REALLY completely documented
From: jamal <hadi@xxxxxxxxxx>
Date: Sun, 9 Dec 2001 19:58:40 -0500 (EST)
Cc: <kuznet@xxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <20011209231340.A23420@xxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx

On Sun, 9 Dec 2001, bert hubert wrote:

> On Sun, Dec 09, 2001 at 05:07:03PM -0500, jamal wrote:
> > > > So priority limits the size of skb->priority to be from 0..6; this wont
> > > > work with that check in cbq.
> > >
> > > No, only IP_TOS does so.
> >
> > probaly ip precedence. Have you tried this or you are following what the
> > man pages say?
>
> I have been living in the source for quite a while now - see ip_setsockopt()
> in net/ipv4/ip_sockglue.c.
>

Thats the wrong place to look. Look instead at:
net/core/sock.c
I got it; non root is limited to 0..6; root can set the full 32 bit range.

cheers,
jamal


<Prev in Thread] Current Thread [Next in Thread>