Skip to contentSkip to conversation

DSMARK and Filters

LARTC Tarek Amr 2 participants 2 messages Jul 20, 2002

lore
Share & tools
lore

Tarek Amr

author
#0 lore raw

I have a root qdisc "DSMARK" with a CBQ qdisc attached in it
so I wanted to re classify the packets within the CBQ according to the mark they have acquired at the DSMARK. But when I used a u32 filter "matching on the ToS field" it failed, then I read that I have to use some kind of filter called tcindex, but I really don't know it's syntax well, and what's the handles parameter in it .. etc.

#1 lore raw
Quoted 4 lines · Tarek Amr

I have a root qdisc "DSMARK" with a CBQ qdisc attached in it
so I wanted to re classify the packets within the CBQ according to the mark they have acquired at the DSMARK. But when I used a u32 filter "matching on the ToS field" it failed,

Yes, dsmark only changes the DS/ToS field (if at all) when the packet leaves dsmark, i.e. right before it hits the wire.

Quoted 3 lines

then I read that I have to use some kind of filter called tcindex, but I really don't know it's syntax well, and what's the handles parameter in it .. etc.

Please read ftp://icaftp.epfl.ch/pub/linux/diffserv/misc/dsid-01.ps.gz

- Werner

Signature · 6 lines
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         [email protected] /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/