All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] DSMARK and Filters
@ 2002-07-20 15:21 Tarek Amr
  2002-07-20 23:16 ` Werner Almesberger
  0 siblings, 1 reply; 2+ messages in thread
From: Tarek Amr @ 2002-07-20 15:21 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

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.


[-- Attachment #2: Type: text/html, Size: 795 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] DSMARK and Filters
  2002-07-20 15:21 [LARTC] DSMARK and Filters Tarek Amr
@ 2002-07-20 23:16 ` Werner Almesberger
  0 siblings, 0 replies; 2+ messages in thread
From: Werner Almesberger @ 2002-07-20 23:16 UTC (permalink / raw)
  To: lartc

Tarek Amr wrote:
> 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.

> 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

-- 
  _________________________________________________________________________
 / Werner Almesberger, Buenos Aires, Argentina         wa@almesberger.net /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-20 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-20 15:21 [LARTC] DSMARK and Filters Tarek Amr
2002-07-20 23:16 ` Werner Almesberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.