Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] u32 filter usage
@ 2001-03-29  7:45 Daniel Lee
  0 siblings, 0 replies; only message in thread
From: Daniel Lee @ 2001-03-29  7:45 UTC (permalink / raw)
  To: lartc

Hi All,

About u32 usage, as I know the following 3 syntax should be the same:
 1. tc filter add ........u32\
     match ip protocol 0x6 0xff 

2. tc filter add ........u32\
    match 00060000 00ff0000 at 9

3. tc filter add ..........u32\
    match u8 6 0xff at 10

However, in my platform (Linux2.4.2), only method 1 works.  Besides, as I
show the filter (tc filter ls dev eth1),
it gives me " match 00060000 00ff0000 at 9", which matches with method 2.

So can any one explain why method 2 and 3 can't work (it shows the message
"illegal match") ?

Best Regards
Daniel Lee 
e-mail:daniel_lee@ezhi.com
TEL:(02)2218-1689~33

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-29  7:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-29  7:45 [LARTC] u32 filter usage Daniel Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox