summaryrefslogtreecommitdiff
path: root/accel-pptpd/extra/shaper_tbf.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-12-27 18:11:42 +0300
committerKozlov Dmitry <dima@server>2010-12-27 18:11:42 +0300
commit330c5a3c8a531d79a2f87953806ef47f61262e14 (patch)
tree86270e16b44e866311b45e7a0d73409c819c8e14 /accel-pptpd/extra/shaper_tbf.c
parent453e170879f599dfe4a82f7880929a7040b8b724 (diff)
downloadaccel-ppp-330c5a3c8a531d79a2f87953806ef47f61262e14.tar.gz
accel-ppp-330c5a3c8a531d79a2f87953806ef47f61262e14.zip
updated build system
Diffstat (limited to 'accel-pptpd/extra/shaper_tbf.c')
-rw-r--r--accel-pptpd/extra/shaper_tbf.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/accel-pptpd/extra/shaper_tbf.c b/accel-pptpd/extra/shaper_tbf.c
index d974bdaa..940fa297 100644
--- a/accel-pptpd/extra/shaper_tbf.c
+++ b/accel-pptpd/extra/shaper_tbf.c
@@ -10,12 +10,9 @@
#include <sys/socket.h>
#include <pthread.h>
-#include <netlink/netlink.h>
-#include <netlink/route/qdisc.h>
-#include <netlink/route/sch/tbf.h>
-#include <netlink/route/class.h>
-#include <netlink/route/cls/u32.h>
-#include <netlink/route/cls/police.h>
+#include "netlink/netlink.h"
+#include "netlink/socket.h"
+#include "netlink/msg.h"
#include "triton.h"
#include "events.h"
@@ -29,6 +26,7 @@
#include "memdebug.h"
+#define RTNL_TC_RTABLE_SIZE 256
#define TIME_UNITS_PER_SEC 1000000
#define ATTR_UP 1