1/*
2 * netlink/cli/qdisc.h     CLI QDisc Helpers
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) 2008-2009 Thomas Graf <tgraf@suug.ch>
10 */
11
12#ifndef __NETLINK_CLI_QDISC_H_
13#define __NETLINK_CLI_QDISC_H_
14
15#include <netlink/route/qdisc.h>
16
17#define nl_cli_qdisc_alloc_cache(sk) \
18		nl_cli_alloc_cache((sk), "queueing disciplines", \
19				   rtnl_qdisc_alloc_cache)
20
21extern struct rtnl_qdisc *nl_cli_qdisc_alloc(void);
22
23extern void nl_cli_qdisc_parse_dev(struct rtnl_qdisc *, struct nl_cache *, char *);
24extern void nl_cli_qdisc_parse_parent(struct rtnl_qdisc *, char *);
25extern void nl_cli_qdisc_parse_handle(struct rtnl_qdisc *, char *);
26extern void nl_cli_qdisc_parse_kind(struct rtnl_qdisc *, char *);
27
28#endif
29