]>
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 | |
4 | @@ -157,6 +157,13 @@ | |
d08b3552 PS |
5 | |
6 | /* SFQ section */ | |
5baac4e2 PS |
7 | |
8 | +enum | |
9 | +{ | |
10 | + TCA_SFQ_HASH_CLASSIC, | |
11 | + TCA_SFQ_HASH_DST, | |
12 | + TCA_SFQ_HASH_SRC, | |
13 | +}; | |
14 | + | |
15 | struct tc_sfq_qopt | |
16 | { | |
17 | unsigned quantum; /* Bytes per round allocated to flow */ | |
32d6ee97 PS |
18 | @@ -164,6 +171,7 @@ |
19 | __u32 limit; /* Maximal packets in queue */ | |
20 | unsigned divisor; /* Hash divisor */ | |
21 | unsigned flows; /* Maximal number of flows */ | |
22 | + unsigned hash_kind; /* Hash function to use for flow identification */ | |
23 | }; | |
24 | ||
25 | /* | |
26 | @@ -173,6 +181,8 @@ | |
27 | * | |
28 | * The only reason for this is efficiency, it is possible | |
29 | * to change these parameters in compile time. | |
30 | + * | |
31 | + * If you need to play with this values use esfq. | |
32 | */ | |
33 | ||
34 | /* RED section */ |