qdisc.h

00001 /*
00002  * netlink/cli/qdisc.h     CLI QDisc Helpers
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) 2008-2011 Thomas Graf <tgraf@suug.ch>
00010  */
00011 
00012 #ifndef __NETLINK_CLI_QDISC_H_
00013 #define __NETLINK_CLI_QDISC_H_
00014 
00015 #include <netlink/route/qdisc.h>
00016 
00017 #define nl_cli_qdisc_alloc_cache(sk) \
00018                 nl_cli_alloc_cache((sk), "queueing disciplines", \
00019                                    rtnl_qdisc_alloc_cache)
00020 
00021 extern struct rtnl_qdisc *nl_cli_qdisc_alloc(void);
00022 
00023 #endif