netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iproute2 / match / meta bug?
@ 2008-07-29  5:43 Denys Fedoryshchenko
  2008-07-29  5:54 ` Patrick McHardy
  0 siblings, 1 reply; 8+ messages in thread
From: Denys Fedoryshchenko @ 2008-07-29  5:43 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

Kernel 2.6.26, iproute2 latest release. All required modules is loaded.
What did i miss or doing wrong?

tc filter add dev ifb0 protocol all basic match "meta(rt_iif eq tap0)" classid 1:100 

tc -s -d filter show dev ifb0
filter parent 1: protocol all pref 49152 basic
filter parent 1: protocol all pref 49152 basic handle 0x1 flowid 1:100
  meta(-1 eq -1)

Whatever i try - it doesn't work
./tc filter add dev ifb0 protocol all basic match meta \(rt_iif eq tap0\) classid 1:100

But if i do
tc filter add dev ifb0 protocol all basic match u32\(u32 0x01020300 0xFFFFFF00 at 12\) classid 1:100

i will get everything "right"

filter parent 1: protocol all pref 49151 basic
filter parent 1: protocol all pref 49151 basic handle 0x1 flowid 1:100
  u32(01020300/ffffff00 at 12)

Sure i will try to debug and find bug by myself, but i am not sure i can do that :-)

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

end of thread, other threads:[~2008-07-29  8:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29  5:43 iproute2 / match / meta bug? Denys Fedoryshchenko
2008-07-29  5:54 ` Patrick McHardy
2008-07-29  6:11   ` Denys Fedoryshchenko
2008-07-29  6:18     ` Patrick McHardy
2008-07-29  6:25       ` Denys Fedoryshchenko
2008-07-29  6:35         ` Denys Fedoryshchenko
2008-07-29  8:16           ` Denys Fedoryshchenko
2008-07-29  6:18   ` Denys Fedoryshchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).