| Server IP : 170.10.162.208 / Your IP : 216.73.216.38 Web Server : LiteSpeed System : Linux altar19.supremepanel19.com 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64 User : deltahospital ( 1806) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/include/libnl3/netlink/route/qdisc/ |
Upload File : |
/* SPDX-License-Identifier: LGPL-2.1-only */
/*
* Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch>
*/
#ifndef NETLINK_PRIO_H_
#define NETLINK_PRIO_H_
#include <netlink/netlink.h>
#include <netlink/route/qdisc.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Default Values
* @{
*/
/**
* Default number of bands.
* @ingroup prio
*/
#define QDISC_PRIO_DEFAULT_BANDS 3
/**
* Default priority mapping.
* @ingroup prio
*/
#define QDISC_PRIO_DEFAULT_PRIOMAP \
{ 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }
/** @} */
extern void rtnl_qdisc_prio_set_bands(struct rtnl_qdisc *, int);
extern int rtnl_qdisc_prio_get_bands(struct rtnl_qdisc *);
extern int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *, uint8_t[], int);
extern uint8_t *rtnl_qdisc_prio_get_priomap(struct rtnl_qdisc *);
extern char * rtnl_prio2str(int, char *, size_t);
extern int rtnl_str2prio(const char *);
#ifdef __cplusplus
}
#endif
#endif