summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_pareto_c
blob: 1f6a9338fb84b48a7c5f49bb4eb33d27751960f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- iproute2-6.11.0.orig/netem/pareto.c	2024-09-15 21:42:26.000000000 +0200
+++ iproute2-6.11.0/netem/pareto.c	2024-09-24 09:43:33.550449401 +0200
@@ -8,10 +8,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