setting DiffServ in network packets under Linux???

Bill Bogstad bogstad-e+AXbWqSrlAAvxtiuMwx3w at public.gmane.org
Thu Jan 7 02:43:18 EST 2010


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





More information about the Discuss mailing list