1 diff -urN iproute2-2.6.15-060110/netem/maketable.c iproute2-2.6.15-060110.new/netem/maketable.c
2 --- iproute2-2.6.15-060110/netem/maketable.c 2005-02-09 23:05:41.000000000 +0100
3 +++ iproute2-2.6.15-060110.new/netem/maketable.c 2007-04-08 22:40:21.000000000 +0200
12 #include <sys/types.h>
14 diff -urN iproute2-2.6.15-060110/netem/normal.c iproute2-2.6.15-060110.new/netem/normal.c
15 --- iproute2-2.6.15-060110/netem/normal.c 2005-03-30 20:11:49.000000000 +0200
16 +++ iproute2-2.6.15-060110.new/netem/normal.c 2007-04-08 22:47:26.000000000 +0200
22 #include <linux/types.h>
23 #include <linux/pkt_sched.h>
25 +#define NETEM_DIST_SCALE 8192
28 #define TABLESIZE 16384
29 #define TABLEFACTOR NETEM_DIST_SCALE
30 diff -urN iproute2-2.6.15-060110/netem/pareto.c iproute2-2.6.15-060110.new/netem/pareto.c
31 --- iproute2-2.6.15-060110/netem/pareto.c 2005-02-09 23:05:41.000000000 +0100
32 +++ iproute2-2.6.15-060110.new/netem/pareto.c 2007-04-08 22:48:36.000000000 +0200
38 #include <linux/types.h>
39 #include <linux/pkt_sched.h>
41 +#define NETEM_DIST_SCALE 8192
44 static const double a=3.0;
45 #define TABLESIZE 16384
46 diff -urN iproute2-2.6.15-060110/netem/paretonormal.c iproute2-2.6.15-060110.new/netem/paretonormal.c
47 --- iproute2-2.6.15-060110/netem/paretonormal.c 2005-08-08 22:24:41.000000000 +0200
48 +++ iproute2-2.6.15-060110.new/netem/paretonormal.c 2007-04-08 22:49:56.000000000 +0200
56 #include <linux/types.h>
57 #include <linux/pkt_sched.h>
59 +#define NETEM_DIST_SCALE 8192
62 #define TABLESIZE 16384
63 #define TABLEFACTOR NETEM_DIST_SCALE