simplified netlink-private headers
This commit is contained in:
parent
55702ae05b
commit
ccb023791f
2 changed files with 2 additions and 11 deletions
2
dist.c
2
dist.c
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue