Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Dec 2001 20:02:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Dec 2001 20:02:35 -0500 Received: from shell.cyberus.ca ([216.191.240.114]:25596 "EHLO shell.cyberus.ca") by vger.kernel.org with ESMTP id ; Sun, 9 Dec 2001 20:02:17 -0500 Date: Sun, 9 Dec 2001 19:58:40 -0500 (EST) From: jamal To: bert hubert cc: , , Subject: Re: CBQ and all other qdiscs now REALLY completely documented In-Reply-To: <20011209231340.A23420@outpost.ds9a.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/