
Moved common code in src/ used by CLI tools to src/lib/ for possible use by other CLI tools. Just link to libnl-cli.{so|la}
28 lines
896 B
C
28 lines
896 B
C
/*
|
|
* netlink/cli/qdisc.h CLI QDisc Helpers
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation version 2.1
|
|
* of the License.
|
|
*
|
|
* Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch>
|
|
*/
|
|
|
|
#ifndef __NETLINK_CLI_QDISC_H_
|
|
#define __NETLINK_CLI_QDISC_H_
|
|
|
|
#include <netlink/route/qdisc.h>
|
|
|
|
#define nl_cli_qdisc_alloc_cache(sk) \
|
|
nl_cli_alloc_cache((sk), "queueing disciplines", \
|
|
rtnl_qdisc_alloc_cache)
|
|
|
|
extern struct rtnl_qdisc *nl_cli_qdisc_alloc(void);
|
|
|
|
extern void nl_cli_qdisc_parse_dev(struct rtnl_qdisc *, struct nl_cache *, char *);
|
|
extern void nl_cli_qdisc_parse_parent(struct rtnl_qdisc *, char *);
|
|
extern void nl_cli_qdisc_parse_handle(struct rtnl_qdisc *, char *);
|
|
extern void nl_cli_qdisc_parse_kind(struct rtnl_qdisc *, char *);
|
|
|
|
#endif
|