1
0

patch-netem_pareto_c 395 B

1234567891011121314
  1. --- iproute2-3.12.0.orig/netem/pareto.c 2013-11-23 02:10:33.000000000 +0100
  2. +++ iproute2-3.12.0/netem/pareto.c 2014-02-09 11:46:07.000000000 +0100
  3. @@ -7,10 +7,8 @@
  4. #include <math.h>
  5. #include <limits.h>
  6. -#include <linux/types.h>
  7. -#include <linux/pkt_sched.h>
  8. -
  9. static const double a=3.0;
  10. +#define NETEM_DIST_SCALE 8192
  11. #define TABLESIZE 16384
  12. #define TABLEFACTOR NETEM_DIST_SCALE