* [LARTC] tc filtering with fw mark
@ 2003-05-08 5:14 Craig J Howard
2003-05-08 8:49 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: Craig J Howard @ 2003-05-08 5:14 UTC (permalink / raw)
To: lartc
Does anyone know if it is possible for a tc filter to match using a mask on the fw mark?
For example a packet may traverse numerous chains, and some chains will mark the first 16 bits, and others will mark the last 16 (by or-ing)
After this, i want tc to be able to filter the packet based only the last 16 bits of the fw mark.
ie if the fw mark is 111111111111111 0000000000001111 then the filter will match, as well as if the fw mark was (say) 0000000000000000 0000000000001111
Thanks
Craig
_______________________________________________
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
* Re: [LARTC] tc filtering with fw mark
2003-05-08 5:14 [LARTC] tc filtering with fw mark Craig J Howard
@ 2003-05-08 8:49 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-05-08 8:49 UTC (permalink / raw)
To: lartc
On Thursday 08 May 2003 07:14, Craig J Howard wrote:
> Does anyone know if it is possible for a tc filter to match using a mask on
> the fw mark? For example a packet may traverse numerous chains, and some
> chains will mark the first 16 bits, and others will mark the last 16 (by
> or-ing)
>
> After this, i want tc to be able to filter the packet based only the last
> 16 bits of the fw mark. ie if the fw mark is 111111111111111
> 0000000000001111 then the filter will match, as well as if the fw mark was
> (say) 0000000000000000 0000000000001111
I never heard of such feature.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
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:[~2003-05-08 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-08 5:14 [LARTC] tc filtering with fw mark Craig J Howard
2003-05-08 8:49 ` Stef Coene
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.