Networking Forums

Networking Forums > Computer Networking > Linux Networking > Per-packet IP DSCP/TOS Marking

Reply
Thread Tools Display Modes

Per-packet IP DSCP/TOS Marking

 
 
srikanta
Guest
Posts: n/a

 
      10-16-2008, 02:34 AM
It is interesting to know whether there is a way to conditionally mark
*each* outgoing IP packet with a *different* DSCP/TOS marking?

Basically: If I have a TCP socket which is used by 2 different
applications, each of which generates a particular kind of data; Is it
possible to mark some flag using socket API's (or otherwise), which
informs IP layer to perform DSCP marking based on the flag set?

Ex:
I write a program to do the following:
==> Open socket.
==> If data is from application A, set flag abc.
Or if data is from application B, set flag xyz.
==> Send.

And, when it reaches IP, it:
==> Marks DSCP field of the packet with 11 if flag abc is set;
==> Marks DSCP field of the packet with 22 if flag xyz is set.

Thanks for any pointers or suggestions.
 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting DSCP value Washington Ratso Linux Networking 1 05-20-2011 01:15 PM
per packet QoS (DSCP) aapocketz Linux Networking 0 12-08-2008 07:52 PM
iptables : no more TOS but DSCP ? zero°K Linux Networking 0 07-15-2008 01:51 PM
QoS using DSCP Maciej Matachowski Linux Networking 1 02-09-2008 08:01 PM
Using DiffServ / DSCP as QoS on 2000?????? =?Utf-8?B?d2Vhbg==?= Windows Networking 0 11-17-2004 09:44 AM



1 2 3 4 5 6 7 8 9 10 11