9#include <netlink/netlink.h>
10#include <netlink/route/qdisc.h>
25#define QDISC_PRIO_DEFAULT_BANDS 3
31#define QDISC_PRIO_DEFAULT_PRIOMAP \
32 { 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }
int rtnl_qdisc_prio_get_bands(struct rtnl_qdisc *)
Get number of bands of PRIO qdisc.
int rtnl_str2prio(const char *)
Convert character string to priority.
int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *, uint8_t[], int)
Set priomap of the PRIO qdisc.
uint8_t * rtnl_qdisc_prio_get_priomap(struct rtnl_qdisc *)
Get priomap of a PRIO qdisc.
char * rtnl_prio2str(int, char *, size_t)
Convert priority to character string.
void rtnl_qdisc_prio_set_bands(struct rtnl_qdisc *, int)
Set number of bands of PRIO qdisc.