#include <netlink-local.h>
#include <netlink-tc.h>
#include <netlink/netlink.h>
#include <netlink/utils.h>
#include <netlink/route/qdisc.h>
#include <netlink/route/qdisc-modules.h>
#include <netlink/route/sch/prio.h>
Functions | |
Attribute Modification | |
int | rtnl_qdisc_prio_set_bands (struct rtnl_qdisc *qdisc, int bands) |
Set number of bands of PRIO qdisc. More... | |
int | rtnl_qdisc_prio_get_bands (struct rtnl_qdisc *qdisc) |
Get number of bands of PRIO qdisc. More... | |
int | rtnl_qdisc_prio_set_priomap (struct rtnl_qdisc *qdisc, uint8_t priomap[], int len) |
Set priomap of the PRIO qdisc. More... | |
uint8_t * | rtnl_qdisc_prio_get_priomap (struct rtnl_qdisc *qdisc) |
Get priomap of a PRIO qdisc. More... | |
Priority Band Translations | |
char * | rtnl_prio2str (int prio, char *buf, size_t size) |
Convert priority to character string. More... | |
int | rtnl_str2prio (const char *name) |
Convert character string to priority. More... | |