1 Index: iproute-2.6.20-070313/netem/maketable.c
2 ===================================================================
3 --- iproute-2.6.20-070313.orig/netem/maketable.c 2007-06-09 13:53:56.000000000 +0100
4 +++ iproute-2.6.20-070313/netem/maketable.c 2007-06-09 13:54:01.000000000 +0100
9 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
13 #include <sys/types.h>
15 Index: iproute-2.6.20-070313/netem/normal.c
16 ===================================================================
17 --- iproute-2.6.20-070313.orig/netem/normal.c 2007-06-09 13:53:56.000000000 +0100
18 +++ iproute-2.6.20-070313/netem/normal.c 2007-06-09 13:54:01.000000000 +0100
23 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
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: iproute-2.6.20-070313/netem/pareto.c
33 ===================================================================
34 --- iproute-2.6.20-070313.orig/netem/pareto.c 2007-06-09 13:53:56.000000000 +0100
35 +++ iproute-2.6.20-070313/netem/pareto.c 2007-06-09 13:54:01.000000000 +0100
40 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
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: iproute-2.6.20-070313/netem/paretonormal.c
50 ===================================================================
51 --- iproute-2.6.20-070313.orig/netem/paretonormal.c 2007-06-09 13:53:56.000000000 +0100
52 +++ iproute-2.6.20-070313/netem/paretonormal.c 2007-06-09 13:54:01.000000000 +0100
57 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
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