]>
Commit | Line | Data |
---|---|---|
32d6ee97 PS |
1 | diff -uNr linux-libc-headers-2.6.5.1.orig/include/linux/pkt_sched.h linux-libc-headers-2.6.5.1/include/linux/pkt_sched.h |
2 | --- linux-libc-headers-2.6.5.1.orig/include/linux/pkt_sched.h 2004-05-02 23:08:48.000000000 +0200 | |
3 | +++ linux-libc-headers-2.6.5.1/include/linux/pkt_sched.h 2004-05-07 23:42:56.411761880 +0200 | |
e44d4182 | 4 | @@ -145,8 +145,35 @@ |
6594a4b1 PS |
5 | * |
6 | * The only reason for this is efficiency, it is possible | |
7 | * to change these parameters in compile time. | |
e44d4182 PS |
8 | + * |
9 | + * If you need to play with these values use esfq instead. | |
6594a4b1 | 10 | */ |
5baac4e2 | 11 | |
6594a4b1 PS |
12 | +/* ESFQ section */ |
13 | + | |
5baac4e2 PS |
14 | +enum |
15 | +{ | |
e44d4182 | 16 | + /* traditional */ |
5baac4e2 PS |
17 | + TCA_SFQ_HASH_CLASSIC, |
18 | + TCA_SFQ_HASH_DST, | |
19 | + TCA_SFQ_HASH_SRC, | |
e44d4182 PS |
20 | + TCA_SFQ_HASH_FWMARK, |
21 | + /* direct */ | |
22 | + TCA_SFQ_HASH_DSTDIR, | |
23 | + TCA_SFQ_HASH_SRCDIR, | |
24 | + TCA_SFQ_HASH_FWMARKDIR, | |
5baac4e2 PS |
25 | +}; |
26 | + | |
6594a4b1 PS |
27 | +struct tc_esfq_qopt |
28 | +{ | |
29 | + unsigned quantum; /* Bytes per round allocated to flow */ | |
30 | + int perturb_period; /* Period of hash perturbation */ | |
31 | + __u32 limit; /* Maximal packets in queue */ | |
32 | + unsigned divisor; /* Hash divisor */ | |
33 | + unsigned flows; /* Maximal number of flows */ | |
32d6ee97 | 34 | + unsigned hash_kind; /* Hash function to use for flow identification */ |
6594a4b1 PS |
35 | +}; |
36 | + | |
32d6ee97 | 37 | /* RED section */ |
6594a4b1 PS |
38 | |
39 | enum |