OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:qdisc
(Results
1 - 25
of
43
) sorted by null
1
2
/external/libnl/src/lib/
qdisc.c
2
* src/lib/
qdisc
.c CLI
QDisc
Helpers
20
#include <netlink/cli/
qdisc
.h>
24
struct rtnl_qdisc *
qdisc
;
local
26
qdisc
= rtnl_qdisc_alloc();
27
if (!
qdisc
)
28
nl_cli_fatal(ENOMEM, "Unable to allocate
qdisc
object");
30
return
qdisc
;
33
void nl_cli_qdisc_parse_dev(struct rtnl_qdisc *
qdisc
, struct nl_cache *link_cache, char *arg)
40
rtnl_qdisc_set_ifindex(
qdisc
, ival)
[
all
...]
/external/libnl/lib/route/sch/
sfq.c
2
* lib/route/sch/sfq.c SFQ
Qdisc
30
#include <netlink/route/
qdisc
.h>
31
#include <netlink/route/
qdisc
-modules.h>
42
static inline struct rtnl_sfq *sfq_qdisc(struct rtnl_qdisc *
qdisc
)
44
return (struct rtnl_sfq *)
qdisc
->q_subdata;
47
static inline struct rtnl_sfq *sfq_alloc(struct rtnl_qdisc *
qdisc
)
49
if (!
qdisc
->q_subdata)
50
qdisc
->q_subdata = calloc(1, sizeof(struct rtnl_sfq));
52
return sfq_qdisc(
qdisc
);
55
static int sfq_msg_parser(struct rtnl_qdisc *
qdisc
)
[
all
...]
fifo.c
17
* The FIFO
qdisc
comes in two flavours:
28
* kind of the
qdisc
(rtnl_qdisc_set_kind()).
35
#include <netlink/route/
qdisc
.h>
36
#include <netlink/route/
qdisc
-modules.h>
44
static inline struct rtnl_fifo *fifo_qdisc(struct rtnl_qdisc *
qdisc
)
46
return (struct rtnl_fifo *)
qdisc
->q_subdata;
49
static inline struct rtnl_fifo *fifo_alloc(struct rtnl_qdisc *
qdisc
)
51
if (!
qdisc
->q_subdata)
52
qdisc
->q_subdata = calloc(1, sizeof(struct rtnl_fifo));
54
return fifo_qdisc(
qdisc
);
[
all
...]
red.c
2
* lib/route/sch/red.c RED
Qdisc
23
#include <netlink/route/
qdisc
.h>
24
#include <netlink/route/
qdisc
-modules.h>
37
static inline struct rtnl_red *red_qdisc(struct rtnl_qdisc *
qdisc
)
39
return (struct rtnl_red *)
qdisc
->q_subdata;
42
static inline struct rtnl_red *red_alloc(struct rtnl_qdisc *
qdisc
)
44
if (!
qdisc
->q_subdata)
45
qdisc
->q_subdata = calloc(1, sizeof(struct rtnl_red));
47
return red_qdisc(
qdisc
);
54
static int red_msg_parser(struct rtnl_qdisc *
qdisc
)
[
all
...]
blackhole.c
2
* lib/route/sch/blackhole.c Blackhole
Qdisc
21
#include <netlink/route/
qdisc
.h>
22
#include <netlink/route/
qdisc
-modules.h>