1 Index: iproute2-2.6.15-060110/netem/maketable.c
2 ===================================================================
3 --- iproute2-2.6.15-060110.orig/netem/maketable.c 2007-06-04 13:22:33.339786864 +0200
4 +++ iproute2-2.6.15-060110/netem/maketable.c 2007-06-04 13:22:34.476614040 +0200
13 #include <sys/types.h>
15 Index: iproute2-2.6.15-060110/netem/normal.c
16 ===================================================================
17 --- iproute2-2.6.15-060110.orig/netem/normal.c 2007-06-04 13:22:33.344786104 +0200
18 +++ iproute2-2.6.15-060110/netem/normal.c 2007-06-04 13:22:34.476614040 +0200
24 #include <linux/types.h>
25 #include <linux/pkt_sched.h>
27 +#define NETEM_DIST_SCALE 8192
30 #define TABLESIZE 16384
31 #define TABLEFACTOR NETEM_DIST_SCALE
32 Index: iproute2-2.6.15-060110/netem/pareto.c
33 ===================================================================
34 --- iproute2-2.6.15-060110.orig/netem/pareto.c 2007-06-04 13:22:33.349785344 +0200
35 +++ iproute2-2.6.15-060110/netem/pareto.c 2007-06-04 13:22:34.476614040 +0200
41 #include <linux/types.h>
42 #include <linux/pkt_sched.h>
44 +#define NETEM_DIST_SCALE 8192
47 static const double a=3.0;
48 #define TABLESIZE 16384
49 Index: iproute2-2.6.15-060110/netem/paretonormal.c
50 ===================================================================
51 --- iproute2-2.6.15-060110.orig/netem/paretonormal.c 2007-06-04 13:22:33.356784280 +0200
52 +++ iproute2-2.6.15-060110/netem/paretonormal.c 2007-06-04 13:22:34.476614040 +0200
60 #include <linux/types.h>
61 #include <linux/pkt_sched.h>
63 +#define NETEM_DIST_SCALE 8192
66 #define TABLESIZE 16384
67 #define TABLEFACTOR NETEM_DIST_SCALE