problem using basic match meta protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to match IP packets using the following syntax: 

tc filter add dev eth0 parent 1: prio 1 protocol all basic match
'meta(protocol mask 0xffff eq 0x0800)' flowid 1:2

This commits ok, but when I look at the class using tc -s class show dev
eth0 it doesn't seem to actually match on the IP protocol

I've also tried 
tc filter add dev eth0 parent 1: prio 1 protocol all basic match
'meta(protocol mask 0x0 eq 0x0)' flowid 1:2

Which I would expect to match all protocols i.e. all packets.

But it appears as though no packets get matched at all.

Does anyone know what am I doing wrong?


--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux