1/*
2 * netlink/route/sch/dsmark.h	DSMARK
3 *
4 *	This library is free software; you can redistribute it and/or
5 *	modify it under the terms of the GNU Lesser General Public
6 *	License as published by the Free Software Foundation version 2.1
7 *	of the License.
8 *
9 * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
10 */
11
12#ifndef NETLINK_DSMARK_H_
13#define NETLINK_DSMARK_H_
14
15#include <netlink/netlink.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21extern int	rtnl_class_dsmark_set_bmask(struct rtnl_class *, uint8_t);
22extern int	rtnl_class_dsmark_get_bmask(struct rtnl_class *);
23
24extern int	rtnl_class_dsmark_set_value(struct rtnl_class *, uint8_t);
25extern int	rtnl_class_dsmark_get_value(struct rtnl_class *);
26
27extern int	rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *, uint16_t);
28extern int	rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *);
29
30extern int	rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *,
31						    uint16_t);
32extern int	rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *);
33
34extern int	rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *, int);
35extern int	rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *);
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif
42