Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting DiffServ in network packets under Linux???



On Wed, Jan 6, 2010 at 4:36 PM, Bill Bogstad <bogstad-e+AXbWqSrlAAvxtiuMwx3w at public.gmane.org> wrote:
> Does anybody have any idea if there is a programmatic way to set the
> DiffServ (Differentiated Services Code Point (DSCP)) field on IP
> packets generated by programs running under Linux?

Never mind.   It appears that you can use setsockopt() with IPPROTO_IP
and IP_TOS options to do this.
At least that's what the documentation seems to say.

Thanks anyway,
Bill Bogstad






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org