Linux Traffic Classifiers
To classify packets for traffic control, one can use built-in
classifiers in tc, or use the marking capability of the Linux
firewall. Examples of built-in classifiers in tc are u32 and fw
[5]. The u32 classifier decides which queue a packet should be
placed into based on fields within the packet (e.g., source IP
address, destination port, etc.). The shaping command can be
done in a single tc command. For example to shape web
traffic, the command is