netdev
[Top] [All Lists]

Re: Fw: issues with SO_PRIORITY and IP_TOS

To: kuznet@xxxxxxxxxxxxx
Subject: Re: Fw: issues with SO_PRIORITY and IP_TOS
From: Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Nov 2003 12:48:30 -0500
Cc: davem@xxxxxxxxxx, jmorris@xxxxxxxxxx, hadi@xxxxxxxx, netdev@xxxxxxxxxxx
References: <200311131108.OAA24780@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204
kuznet@xxxxxxxxxxxxx wrote:

To set VLAN priority, you tune VLAN f.e. to use DSCP bits in classifier
to derive VLAN priority from those bits of DSCP, which you desire. DSCP>>5
in your case.

Excellent. How do I do this? I know of the egress mapping of socket priority to vlan priority. How do I map DSCP to vlan priority?

I know how to do this by setting the socket priority with another setsockopt call, but is there a way of doing this directly?

Chris



--
Chris Friesen                    | MailStop: 043/33/F10
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@xxxxxxxxxxxxxxxxxx


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