[LARTC] Little bug in LARTC-HOWTO, chapter 12.4?

Linux Advanced Routing and Traffic Control

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

 



Hi all,

I've just read chapter 12.4 of the LARTC-HOWTO:

  http://www.lartc.org/howto/lartc.adv-filter.hashing.html

As I am quite new to the whole matter, I was a little bit confused about
the lines given on the upper part of chapter 12.4, because it seems that
the classifier's name was forgotten:

   # tc filter add dev eth1 parent 1:0 protocol ip prio 100 match ip src 1.2.0.0 classid 1:1
   # tc filter add dev eth1 parent 1:0 protocol ip prio 100 match ip src 1.2.0.1 classid 1:1
   ....

I think these rules would make more sense when adding the used classifier
name (most probably "u32"):

   # tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip src 1.2.0.0 classid 1:1
   # tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip src 1.2.0.1 classid 1:1
   ....

Also the alternating usage of "classid" (upper part of 12.4) and 
"flowid" (lower part of 12.4 and other chapters) confused me at 
first. But after looking at tc's source code it seems that both 
keywords do exactly the same thing in combination with filters. 

Is this assumption correct?

Bye,
Steffen


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