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, 06 Nov 2003 09:51:34 -0500
Cc: "David S. Miller" <davem@xxxxxxxxxx>, jmorris@xxxxxxxxxx, hadi@xxxxxxxx, netdev@xxxxxxxxxxx
References: <200311060931.MAA14771@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:

What's about VLAN thing, this approach enforces you to use
DSCP directly and never use skb->priority (well, to be more exact,
to use it when you have no another hints available: in this case
our skb->priority is _right_ hint)

Okay, maybe you can help me out then.

I would like to send a vlan tagged packet, with vlan priority of x and DSCP field of (x<<5). What is the proper way to do this, if I should not be using skb->priority?

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>