/opt/pspacer-2.1/libnl-1.0-pre6/include/netlink/route/sch/psp.h

00001 /*
00002  * netlink/route/sch/psp.h      PSP Qdisc
00003  *
00004  *      This library is free software; you can redistribute it and/or
00005  *      modify it under the terms of the GNU Lesser General Public
00006  *      License as published by the Free Software Foundation version 2.1
00007  *      of the License.
00008  *
00009  * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
00010  * Copyright (c) 2007 National Institute of Advanced Industrial
00011  * Science and Technology (AIST), Japan.
00012  */
00013 
00014 #ifndef NETLINK_PSP_H_
00015 #define NETLINK_PSP_H_
00016 
00017 #include <netlink/netlink.h>
00018 #include <netlink/route/tc.h>
00019 
00020 /**/
00021 extern int rtnl_psp_set_defcls(struct rtnl_qdisc *, uint32_t);
00022 extern int rtnl_psp_get_defcls(struct rtnl_qdisc *);
00023 
00024 extern int rtnl_psp_set_totalrate(struct rtnl_qdisc *, uint32_t);
00025 extern int rtnl_psp_get_totalrate(struct rtnl_qdisc *);
00026 
00027 /**/
00028 extern int rtnl_psp_set_rate(struct rtnl_class *, uint32_t);
00029 extern int rtnl_psp_get_rate(struct rtnl_class *);
00030 
00031 extern int rtnl_psp_set_mode(struct rtnl_class *, uint32_t);
00032 extern int rtnl_psp_get_mode(struct rtnl_class *);
00033 
00034 #endif

Generated on Tue Mar 20 15:31:07 2007 for libnl by  doxygen 1.5.1