Skip to contentSkip to conversation

tc filter change (Please)

LARTC Paul 2 participants 2 messages Jun 23, 2006

lore
Share & tools
lore

Paul

author
#0 lore raw

The filter -> tc filter add dev eth1 parent 1:0 protocol all prio 1 u32 match u8 0x6 0xff at 9 match u32 0xa640105 0xffffffff at 16 offset at 0 mask 0f00 shift 6 eat link 5:0:0

Can anyone please tell me how to change it ?

I've being searching and trying to make sense of the man pages all day.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

Paul,

: The filter -> tc filter add dev eth1 parent 1:0 protocol all prio : 1 u32 match u8 0x6 0xff at 9 match u32 0xa640105 0xffffffff at 16 : offset at 0 mask 0f00 shift 6 eat link 5:0:0
:
: Can anyone please tell me how to change it ?
:
: I've being searching and trying to make sense of the man pages : all day.

Is this related at all to your prior question [0]? The above 'tc filter' command looks like something created by the tcng processor (tcc).

If indeed you are using tcng, I would suggest solving the problem with that tool, rather than trying to understand the masking, shifting, matching and eating with a bare 'tc filter' command.

-Martin

[0] http://mailman.ds9a.nl/pipermail/lartc/2006q2/019106.html

Signature · 6 lines
Martin A. Brown
http://linux-ip.net/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc