libnl: /data/src/libnl/include/netlink/route/qdisc/dsmark.h Source File

libnl 3.12.0

dsmark.h
1/* SPDX-License-Identifier: LGPL-2.1-only */
2/*
3 * Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch>
4 */
5
6#ifndef NETLINK_DSMARK_H_
7#define NETLINK_DSMARK_H_
8
9#include <netlink/netlink.h>
10#include <netlink/route/qdisc.h>
11#include <netlink/route/class.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17extern int rtnl_class_dsmark_set_bitmask(struct rtnl_class *, uint8_t);
18extern int rtnl_class_dsmark_get_bitmask(struct rtnl_class *);
19
20extern int rtnl_class_dsmark_set_value(struct rtnl_class *, uint8_t);
21extern int rtnl_class_dsmark_get_value(struct rtnl_class *);
22
23extern int rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *, uint16_t);
24extern int rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *);
25
26extern int rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *,
27 uint16_t);
28extern int rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *);
29
30extern int rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *, int);
31extern int rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif
rtnl_qdisc_dsmark_set_indices
int rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *, uint16_t)
Set indices of DSMARK qdisc.
Definition dsmark.c:279
rtnl_class_dsmark_set_value
int rtnl_class_dsmark_set_value(struct rtnl_class *, uint8_t)
Set value of DSMARK class.
Definition dsmark.c:236
rtnl_class_dsmark_set_bitmask
int rtnl_class_dsmark_set_bitmask(struct rtnl_class *, uint8_t)
Set bitmask of DSMARK class.
Definition dsmark.c:199
rtnl_qdisc_dsmark_get_default_index
int rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *)
Get default index of DSMARK qdisc.
Definition dsmark.c:335
rtnl_qdisc_dsmark_set_set_tc_index
int rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *, int)
Set set-tc-index flag of DSMARK qdisc.
Definition dsmark.c:354
rtnl_class_dsmark_get_value
int rtnl_class_dsmark_get_value(struct rtnl_class *)
Get value of DSMARK class.
Definition dsmark.c:254
rtnl_qdisc_dsmark_get_set_tc_index
int rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *)
Get set-tc-index flag of DSMARK qdisc.
Definition dsmark.c:373
rtnl_qdisc_dsmark_get_indices
int rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *)
Get indices of DSMARK qdisc.
Definition dsmark.c:297
rtnl_qdisc_dsmark_set_default_index
int rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *, uint16_t)
Set default index of DSMARK qdisc.
Definition dsmark.c:316
rtnl_class_dsmark_get_bitmask
int rtnl_class_dsmark_get_bitmask(struct rtnl_class *)
Get bitmask of DSMARK class.
Definition dsmark.c:217
rtnl_class
Definition class.c:23
rtnl_qdisc
Definition nl-route.h:119