summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_pareto_c
blob: b422a56a055c1a2998860240a259228da8e405ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- iproute2-3.12.0.orig/netem/pareto.c	2013-11-23 02:10:33.000000000 +0100
+++ iproute2-3.12.0/netem/pareto.c	2014-02-09 11:46:07.000000000 +0100
@@ -7,10 +7,8 @@
 #include <math.h>
 #include <limits.h>
 
-#include <linux/types.h>
-#include <linux/pkt_sched.h>
-
 static const double a=3.0;
+#define NETEM_DIST_SCALE        8192
 #define TABLESIZE	16384
 #define TABLEFACTOR	NETEM_DIST_SCALE