Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

DSCP & Default Linux routing

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2006, 04:03 PM
Default DSCP & Default Linux routing



Hi all,
I'd appreciate if someone can clarify this for me.

From the source code (ip_forward.c), it seems that skb->priority is
set from the "TOS bits" (mask 0x1E) in the TOS byte. Assume that an end
point application sets the value 0xb8 in the TOS byte (for expedited
forwarding). When this packet passes through a Linux router with
default configuration, it will set the skb->priority to 4 (TOS bits
will be binary 1100), as calculated by the function rt_tos2priority().

If the egress link has 4 priority queues (for example IEEE 802.11e
has 4 access categories), then skb->priority of 4 will map to access
category #2 (Video). But expedited forwarding means it should map onto
access category #3 (Voice), which means skb->priority should be set to
6 or 7. Is this a bug or am I missing something?

Thanks in advance.

-Anand



itsanandr@gmail.com
Reply With Quote
Reply

Tags
default, dscp, linux, routing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.