[LARTC] Directing traffic to prio qdisc bands

Linux Advanced Routing and Traffic Control

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

 



Hi,
I want to use the prio qdisc for prioritizing outgoing TCP SYNs over all
other outgoing traffic.
I have managed to attach a prio qdisc to the root of an Ethernet device, by:

tc qdisc add dev eth0 root handle 1: prio

Now I want to do 2 things:
1. create a filter to catch TCP SYNs, and attach it to band 0 (highest
priority).
2. direct all other traffic to higher bands (1 or 2).

I know how to define the appropriate filter with u32; there is a similar
example in the LARTC HOWTO, for capturing ACKs. What I don't know is how to
direct the traffic captured by a filter to a specific band. In the HOWTO I
only see examples for attaching filters to CBQ classes.

Can someone advise me on this one ?

Best Regards,
Oded

Oded Shaham
Flash Networks
16 Galgalei Haplada, Herzliya, Israel
Tel: +972-9-9580666 ext. 215
Fax: +972-9-9564888
Cell phone: +972-5-4552009 
Email: oded@xxxxxxxxxxxxxxxxx




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