public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* What about adding range support for u32 classifier?
@ 2005-08-30  3:23 zhang yuanyi
  2005-08-30 12:14 ` Jesper Juhl
  0 siblings, 1 reply; 3+ messages in thread
From: zhang yuanyi @ 2005-08-30  3:23 UTC (permalink / raw)
  To: linux-kernel

Hello, everyone!

The "range support" may be puzzled, but I don't know how to express my
problem exactly because of my poor english.

Just take an example, I may need all udp packets received on eth0
which source port is greater than 53 going into flow 10:1,  and I only
wanna to type one tc command like this(In fact, I communicated with
kernel directly):

    tc filter add dev eth0 parent ffff: protocol ip prio 20 \
                                  u32 match udp sport gt 53 0xffff \
                                        match ip protocol 17 0xff\
                                   flowid 10:1

But I found I can't, because u32 classifier doesn't support matching
multi-value in one key.So I need to add (65535-53) keys to a u32
filter to implement this.

I intend to solve this problem by modifying u32 filter to match
multi-value in one key, but I am worrying the preformance.

Can someone give me some suggestions?

Sincerely.
Yuanyi Zhang

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

end of thread, other threads:[~2005-09-01  7:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30  3:23 What about adding range support for u32 classifier? zhang yuanyi
2005-08-30 12:14 ` Jesper Juhl
2005-09-01  7:26   ` zhang yuanyi

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