libnl
3.2.24-rc1
Main Page
Related Pages
Modules
Data Structures
qdisc.c
1
/*
2
* src/lib/qdisc.c 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-2011 Thomas Graf <tgraf@suug.ch>
10
*/
11
12
/**
13
* @ingroup cli
14
* @defgroup cli_qdisc Queueing Disciplines
15
* @{
16
*/
17
18
#include <netlink/cli/utils.h>
19
#include <netlink/cli/qdisc.h>
20
#include <netlink/route/class.h>
21
22
struct
rtnl_qdisc *nl_cli_qdisc_alloc(
void
)
23
{
24
struct
rtnl_qdisc *qdisc;
25
26
if
(!(qdisc = rtnl_qdisc_alloc()))
27
nl_cli_fatal
(ENOMEM,
"Unable to allocate qdisc object"
);
28
29
return
qdisc;
30
}
31
32
/** @} */
src
lib
qdisc.c
Generated on Tue Jan 21 2014 20:35:46 for libnl by
1.8.3.1