[LARTC] How to delete filter

Linux Advanced Routing and Traffic Control

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

 



My code is:
tc qdisc add dev eth1 root handle 10: cbq bandwidth 100Mbit avpkt 1000

tc class add dev eth1 parent 10:0 classid 10:1 cbq bandwidth 100Mbit rate
100Mbit allot 1514 weight 10Mbit prio 7 maxburst 100 avpkt 1000

tc class add dev eth1 parent 10:1 classid 10:20 cbq bandwidth 100Mbit rate
3Mbit allot 1514 weight 300Kbit prio 7 maxburst 20 avpkt 1000 bounded
tc class add dev eth1 parent 10:1 classid 10:30 cbq bandwidth 100Mbit rate
3Mbit allot 1514 weight 300Kbit prio 7 maxburst 20 avpkt 1000 bounded

tc filter add dev eth1 parent 10:0 protocol ip prio 100 handle 800::2 u32
match ip dst 192.168.1.21 flowid 10:20
tc filter add dev eth1 parent 10:0 protocol ip prio 100 handle 800::3 u32
match ip dst 192.168.1.22 flowid 10:30

My question is:
Is this configuration telling that exist filter w/ "prio 100" that have
element 800 ( hash table ) where on slot ??? node 2 filtering per ip
192.168.1.21 and
node 3 per 192.168.1.22 ?

Thank for answer.



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux