netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
prio.h File Reference
#include <netlink/netlink.h>
Include dependency graph for prio.h:
This graph shows which files directly or indirectly include this file:

Macros

Default Values
#define QDISC_PRIO_DEFAULT_BANDS   3
 Default number of bands. More...
 
#define QDISC_PRIO_DEFAULT_PRIOMAP   { 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }
 Default priority mapping. More...
 

Functions

int rtnl_qdisc_prio_set_bands (struct rtnl_qdisc *, int)
 Set number of bands of PRIO qdisc. More...
 
int rtnl_qdisc_prio_get_bands (struct rtnl_qdisc *)
 Get number of bands of PRIO qdisc. More...
 
int rtnl_qdisc_prio_set_priomap (struct rtnl_qdisc *, uint8_t[], int)
 Set priomap of the PRIO qdisc. More...
 
uint8_t * rtnl_qdisc_prio_get_priomap (struct rtnl_qdisc *)
 Get priomap of a PRIO qdisc. More...
 
char * rtnl_prio2str (int, char *, size_t)
 Convert priority to character string. More...
 
int rtnl_str2prio (const char *)
 Convert character string to priority. More...