Logo Search packages:      
Sourcecode: libnl version File versions  Download package

dsmark.h

/*
 * netlink/route/sch/dsmark.h DSMARK
 *
 *          This program is free software; you can redistribute it and/or
 *          modify it under the terms of the GNU General Public License
 *          as published by the Free Software Foundation; either version
 *          2 of the License, or (at your option) any later version.
 *
 * Copyright (c) 2003-2005 Thomas Graf <tgraf@suug.ch>
 */

#ifndef NETLINK_DSMARK_H_
#define NETLINK_DSMARK_H_

#include <netlink/netlink.h>

extern int  rtnl_class_dsmark_set_bmask(struct rtnl_class *, uint8_t);
extern int  rtnl_class_dsmark_get_bmask(struct rtnl_class *);

extern int  rtnl_class_dsmark_set_value(struct rtnl_class *, uint8_t);
extern int  rtnl_class_dsmark_get_value(struct rtnl_class *);

extern int  rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *, uint16_t);
extern int  rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *);

extern int  rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *,
                                        uint16_t);
extern int  rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *);

extern int  rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *, int);
extern int  rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *);

#endif

Generated by  Doxygen 1.6.0   Back to index