simplified netlink-private headers

This commit is contained in:
Steffen Vogel 2017-12-20 10:25:14 +01:00
parent 55702ae05b
commit ccb023791f
2 changed files with 2 additions and 11 deletions

2
dist.c
View file

@ -28,8 +28,6 @@
#include "tc.h"
#include "config.h"
#define SCH_NETEM_ATTR_DIST 0x2000
/**
* Set the delay distribution. Latency/jitter must be set before applying.
* @arg qdisc Netem qdisc.

View file

@ -12,7 +12,7 @@
#ifndef _NETLINK_PRIVATE_H_
#define _NETLINK_PRIVATE_H_
#include <assert.h>
#define SCH_NETEM_ATTR_DIST 0x2000
struct rtnl_netem_corr
{
@ -56,11 +56,4 @@ struct rtnl_netem
void *rtnl_tc_data(struct rtnl_tc *tc);
#define BUG() \
do { \
fprintf(stderr, "BUG at file position %s:%d:%s\n", \
__FILE__, __LINE__, __PRETTY_FUNCTION__); \
assert(0); \
} while (0)
#endif
#endif