Home
last modified time | relevance | path

Searched refs:rtnl_qdisc (Results 1 – 25 of 30) sorted by relevance

12

/external/libnl/include/netlink/route/sch/
Dnetem.h21 extern int rtnl_netem_set_limit(struct rtnl_qdisc *, int);
22 extern int rtnl_netem_get_limit(struct rtnl_qdisc *);
25 extern int rtnl_netem_set_gap(struct rtnl_qdisc *, int);
26 extern int rtnl_netem_get_gap(struct rtnl_qdisc *);
28 extern int rtnl_netem_set_reorder_probability(struct rtnl_qdisc *, int);
29 extern int rtnl_netem_get_reorder_probability(struct rtnl_qdisc *);
31 extern int rtnl_netem_set_reorder_correlation(struct rtnl_qdisc *, int);
32 extern int rtnl_netem_get_reorder_correlation(struct rtnl_qdisc *);
35 extern int rtnl_netem_set_corruption_probability(struct rtnl_qdisc *, int);
36 extern int rtnl_netem_get_corruption_probability(struct rtnl_qdisc *);
[all …]
Dtbf.h22 extern int rtnl_qdisc_tbf_set_limit(struct rtnl_qdisc *, int);
23 extern int rtnl_qdisc_tbf_set_limit_by_latency(struct rtnl_qdisc *, int);
24 extern int rtnl_qdisc_tbf_get_limit(struct rtnl_qdisc *);
26 extern int rtnl_qdisc_tbf_set_mpu(struct rtnl_qdisc *, int);
27 extern int rtnl_qdisc_tbf_get_mpu(struct rtnl_qdisc *);
29 extern int rtnl_qdisc_tbf_set_rate(struct rtnl_qdisc *, int, int, int);
30 extern int rtnl_qdisc_tbf_get_rate(struct rtnl_qdisc *);
31 extern int rtnl_qdisc_tbf_get_rate_bucket(struct rtnl_qdisc *);
32 extern int rtnl_qdisc_tbf_get_rate_cell(struct rtnl_qdisc *);
34 extern int rtnl_qdisc_tbf_set_peakrate(struct rtnl_qdisc *, int, int, int);
[all …]
Dsfq.h21 extern int rtnl_sfq_set_quantum(struct rtnl_qdisc *, int);
22 extern int rtnl_sfq_get_quantum(struct rtnl_qdisc *);
24 extern int rtnl_sfq_set_limit(struct rtnl_qdisc *, int);
25 extern int rtnl_sfq_get_limit(struct rtnl_qdisc *);
27 extern int rtnl_sfq_set_perturb(struct rtnl_qdisc *, int);
28 extern int rtnl_sfq_get_perturb(struct rtnl_qdisc *);
30 extern int rtnl_sfq_get_divisor(struct rtnl_qdisc *);
Ddsmark.h27 extern int rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *, uint16_t);
28 extern int rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *);
30 extern int rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *,
32 extern int rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *);
34 extern int rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *, int);
35 extern int rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *);
Dprio.h41 extern int rtnl_qdisc_prio_set_bands(struct rtnl_qdisc *, int);
42 extern int rtnl_qdisc_prio_get_bands(struct rtnl_qdisc *);
43 extern int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *, uint8_t[], int);
44 extern uint8_t *rtnl_qdisc_prio_get_priomap(struct rtnl_qdisc *);
Dfifo.h21 extern int rtnl_qdisc_fifo_set_limit(struct rtnl_qdisc *, int);
22 extern int rtnl_qdisc_fifo_get_limit(struct rtnl_qdisc *);
Dhtb.h24 extern void rtnl_htb_set_rate2quantum(struct rtnl_qdisc *, uint32_t);
25 extern void rtnl_htb_set_defcls(struct rtnl_qdisc *, uint32_t);
/external/libnl/include/netlink/route/
Dqdisc.h23 struct rtnl_qdisc;
27 extern struct rtnl_qdisc *rtnl_qdisc_alloc(void);
28 extern void rtnl_qdisc_put(struct rtnl_qdisc *);
31 extern struct rtnl_qdisc *rtnl_qdisc_get(struct nl_cache *, int, uint32_t);
32 extern struct rtnl_qdisc *rtnl_qdisc_get_by_parent(struct nl_cache *,
35 extern int rtnl_qdisc_build_add_request(struct rtnl_qdisc *, int,
37 extern int rtnl_qdisc_add(struct nl_sock *, struct rtnl_qdisc *, int);
39 extern int rtnl_qdisc_build_change_request(struct rtnl_qdisc *,
40 struct rtnl_qdisc *,
42 extern int rtnl_qdisc_change(struct nl_sock *, struct rtnl_qdisc *,
[all …]
Dqdisc-modules.h35 void (*qo_dump[NL_DUMP_MAX+1])(struct rtnl_qdisc *,
41 struct nl_msg *(*qo_get_opts)(struct rtnl_qdisc *);
43 int (*qo_build_msg)(struct rtnl_qdisc *, struct nl_msg *);
48 int (*qo_msg_parser)(struct rtnl_qdisc *);
53 void (*qo_free_data)(struct rtnl_qdisc *);
58 int (*qo_clone)(struct rtnl_qdisc *, struct rtnl_qdisc *);
68 extern struct rtnl_qdisc_ops * rtnl_qdisc_lookup_ops(struct rtnl_qdisc *);
/external/libnl/lib/route/
Dqdisc_obj.c31 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in qdisc_free_data()
43 struct rtnl_qdisc *dst = (struct rtnl_qdisc *) _dst; in qdisc_clone()
44 struct rtnl_qdisc *src = (struct rtnl_qdisc *) _src; in qdisc_clone()
61 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in qdisc_dump_line()
75 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg; in qdisc_dump_details()
92 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg; in qdisc_dump_stats()
109 struct rtnl_qdisc *rtnl_qdisc_alloc(void) in rtnl_qdisc_alloc()
111 return (struct rtnl_qdisc *) nl_object_alloc(&qdisc_obj_ops); in rtnl_qdisc_alloc()
114 void rtnl_qdisc_put(struct rtnl_qdisc *qdisc) in rtnl_qdisc_put()
134 void rtnl_qdisc_foreach_child(struct rtnl_qdisc *qdisc, struct nl_cache *cache, in rtnl_qdisc_foreach_child()
[all …]
Dqdisc.c102 struct rtnl_qdisc *qdisc; in qdisc_msg_parser()
147 static int qdisc_build(struct rtnl_qdisc *qdisc, int type, int flags, in qdisc_build()
201 int rtnl_qdisc_build_add_request(struct rtnl_qdisc *qdisc, int flags, in rtnl_qdisc_build_add_request()
222 int rtnl_qdisc_add(struct nl_sock *sk, struct rtnl_qdisc *qdisc, in rtnl_qdisc_add()
259 int rtnl_qdisc_build_change_request(struct rtnl_qdisc *qdisc, in rtnl_qdisc_build_change_request()
260 struct rtnl_qdisc *new, in rtnl_qdisc_build_change_request()
278 int rtnl_qdisc_change(struct nl_sock *sk, struct rtnl_qdisc *qdisc, in rtnl_qdisc_change()
279 struct rtnl_qdisc *new) in rtnl_qdisc_change()
314 int rtnl_qdisc_build_delete_request(struct rtnl_qdisc *qdisc, in rtnl_qdisc_build_delete_request()
352 int rtnl_qdisc_delete(struct nl_sock *sk, struct rtnl_qdisc *qdisc) in rtnl_qdisc_delete()
[all …]
/external/libnl/lib/route/sch/
Dsfq.c42 static inline struct rtnl_sfq *sfq_qdisc(struct rtnl_qdisc *qdisc) in sfq_qdisc()
47 static inline struct rtnl_sfq *sfq_alloc(struct rtnl_qdisc *qdisc) in sfq_alloc()
55 static int sfq_msg_parser(struct rtnl_qdisc *qdisc) in sfq_msg_parser()
85 static void sfq_free_data(struct rtnl_qdisc *qdisc) in sfq_free_data()
90 static void sfq_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in sfq_dump_line()
99 static void sfq_dump_details(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in sfq_dump_details()
108 static struct nl_msg *sfq_get_opts(struct rtnl_qdisc *qdisc) in sfq_get_opts()
147 int rtnl_sfq_set_quantum(struct rtnl_qdisc *qdisc, int quantum) in rtnl_sfq_set_quantum()
166 int rtnl_sfq_get_quantum(struct rtnl_qdisc *qdisc) in rtnl_sfq_get_quantum()
183 int rtnl_sfq_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_sfq_set_limit()
[all …]
Dnetem.c46 static inline struct rtnl_netem *netem_qdisc(struct rtnl_qdisc *qdisc) in netem_qdisc()
51 static inline struct rtnl_netem *netem_alloc(struct rtnl_qdisc *qdisc) in netem_alloc()
65 static int netem_msg_parser(struct rtnl_qdisc *qdisc) in netem_msg_parser()
146 static void netem_free_data(struct rtnl_qdisc *qdisc) in netem_free_data()
163 static void netem_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in netem_dump_line()
171 int netem_build_msg(struct rtnl_qdisc *qdisc, struct nl_msg *msg) in netem_build_msg()
319 int rtnl_netem_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_netem_set_limit()
338 int rtnl_netem_get_limit(struct rtnl_qdisc *qdisc) in rtnl_netem_get_limit()
362 int rtnl_netem_set_gap(struct rtnl_qdisc *qdisc, int gap) in rtnl_netem_set_gap()
381 int rtnl_netem_get_gap(struct rtnl_qdisc *qdisc) in rtnl_netem_get_gap()
[all …]
Dtbf.c38 static inline struct rtnl_tbf *tbf_qdisc(struct rtnl_qdisc *qdisc) in tbf_qdisc()
43 static inline struct rtnl_tbf *tbf_alloc(struct rtnl_qdisc *qdisc) in tbf_alloc()
55 static int tbf_msg_parser(struct rtnl_qdisc *q) in tbf_msg_parser()
96 static void tbf_free_data(struct rtnl_qdisc *qdisc) in tbf_free_data()
101 static void tbf_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in tbf_dump_line()
118 static void tbf_dump_details(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in tbf_dump_details()
154 static struct nl_msg *tbf_get_opts(struct rtnl_qdisc *qdisc) in tbf_get_opts()
220 int rtnl_qdisc_tbf_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_qdisc_tbf_set_limit()
263 int rtnl_qdisc_tbf_set_limit_by_latency(struct rtnl_qdisc *qdisc, int latency) in rtnl_qdisc_tbf_set_limit_by_latency()
293 int rtnl_qdisc_tbf_get_limit(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_limit()
[all …]
Dfifo.c44 static inline struct rtnl_fifo *fifo_qdisc(struct rtnl_qdisc *qdisc) in fifo_qdisc()
49 static inline struct rtnl_fifo *fifo_alloc(struct rtnl_qdisc *qdisc) in fifo_alloc()
57 static int fifo_msg_parser(struct rtnl_qdisc *qdisc) in fifo_msg_parser()
76 static void fifo_free_data(struct rtnl_qdisc *qdisc) in fifo_free_data()
81 static void pfifo_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in pfifo_dump_line()
89 static void bfifo_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in bfifo_dump_line()
102 static struct nl_msg *fifo_get_opts(struct rtnl_qdisc *qdisc) in fifo_get_opts()
139 int rtnl_qdisc_fifo_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_qdisc_fifo_set_limit()
158 int rtnl_qdisc_fifo_get_limit(struct rtnl_qdisc *qdisc) in rtnl_qdisc_fifo_get_limit()
Dred.c37 static inline struct rtnl_red *red_qdisc(struct rtnl_qdisc *qdisc) in red_qdisc()
42 static inline struct rtnl_red *red_alloc(struct rtnl_qdisc *qdisc) in red_alloc()
54 static int red_msg_parser(struct rtnl_qdisc *qdisc) in red_msg_parser()
92 static void red_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in red_dump_line()
101 static void red_dump_details(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in red_dump_details()
110 static void red_dump_stats(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in red_dump_stats()
119 static struct nl_msg *red_get_opts(struct rtnl_qdisc *qdisc) in red_get_opts()
159 int rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_red_set_limit()
178 int rtnl_red_get_limit(struct rtnl_qdisc *qdisc) in rtnl_red_get_limit()
Dprio.c42 static inline struct rtnl_prio *prio_qdisc(struct rtnl_qdisc *qdisc) in prio_qdisc()
47 static inline struct rtnl_prio *prio_alloc(struct rtnl_qdisc *qdisc) in prio_alloc()
55 static int prio_msg_parser(struct rtnl_qdisc *qdisc) in prio_msg_parser()
75 static void prio_free_data(struct rtnl_qdisc *qdisc) in prio_free_data()
80 static void prio_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) in prio_dump_line()
88 static void prio_dump_details(struct rtnl_qdisc *qdisc,struct nl_dump_params *p) in prio_dump_details()
124 static struct nl_msg *prio_get_opts(struct rtnl_qdisc *qdisc) in prio_get_opts()
163 int rtnl_qdisc_prio_set_bands(struct rtnl_qdisc *qdisc, int bands) in rtnl_qdisc_prio_set_bands()
182 int rtnl_qdisc_prio_get_bands(struct rtnl_qdisc *qdisc) in rtnl_qdisc_prio_get_bands()
200 int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *qdisc, uint8_t priomap[], in rtnl_qdisc_prio_set_priomap()
[all …]
Ddsmark.c38 static inline struct rtnl_dsmark_qdisc *dsmark_qdisc(struct rtnl_qdisc *qdisc) in dsmark_qdisc()
44 dsmark_qdisc_alloc(struct rtnl_qdisc *qdisc) in dsmark_qdisc_alloc()
60 static int dsmark_qdisc_msg_parser(struct rtnl_qdisc *qdisc) in dsmark_qdisc_msg_parser()
136 static void dsmark_qdisc_dump_line(struct rtnl_qdisc *qdisc, in dsmark_qdisc_dump_line()
145 static void dsmark_qdisc_dump_details(struct rtnl_qdisc *qdisc, in dsmark_qdisc_dump_details()
175 static struct nl_msg *dsmark_qdisc_get_opts(struct rtnl_qdisc *qdisc) in dsmark_qdisc_get_opts()
318 int rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *qdisc, uint16_t indices) in rtnl_qdisc_dsmark_set_indices()
337 int rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *qdisc) in rtnl_qdisc_dsmark_get_indices()
354 int rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *qdisc, in rtnl_qdisc_dsmark_set_default_index()
374 int rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *qdisc) in rtnl_qdisc_dsmark_get_default_index()
[all …]
Dcbq.c84 tca->tc_subdata = calloc(1, sizeof(struct rtnl_qdisc)); in cbq_alloc()
116 static int cbq_qdisc_msg_parser(struct rtnl_qdisc *qdisc) in cbq_qdisc_msg_parser()
126 static void cbq_qdisc_free_data(struct rtnl_qdisc *qdisc) in cbq_qdisc_free_data()
141 static int cbq_qdisc_clone(struct rtnl_qdisc *dst, struct rtnl_qdisc *src) in cbq_qdisc_clone()
173 static void cbq_qdisc_dump_line(struct rtnl_qdisc *qdisc, in cbq_qdisc_dump_line()
225 static void cbq_qdisc_dump_details(struct rtnl_qdisc *qdisc, in cbq_qdisc_dump_details()
250 static void cbq_qdisc_dump_stats(struct rtnl_qdisc *qdisc, in cbq_qdisc_dump_stats()
Dhtb.c49 static inline struct rtnl_htb_qdisc *htb_qdisc(struct rtnl_qdisc *qdisc) in htb_qdisc()
62 static int htb_qdisc_msg_parser(struct rtnl_qdisc *qdisc) in htb_qdisc_msg_parser()
87 static void htb_qdisc_free_data(struct rtnl_qdisc *qdisc) in htb_qdisc_free_data()
139 static void htb_qdisc_dump_line(struct rtnl_qdisc *qdisc, in htb_qdisc_dump_line()
229 static struct nl_msg *htb_qdisc_get_opts(struct rtnl_qdisc *qdisc) in htb_qdisc_get_opts()
353 void rtnl_htb_set_rate2quantum(struct rtnl_qdisc *qdisc, uint32_t rate2quantum) in rtnl_htb_set_rate2quantum()
368 void rtnl_htb_set_defcls(struct rtnl_qdisc *qdisc, uint32_t defcls) in rtnl_htb_set_defcls()
/external/libnl/include/netlink/cli/
Dqdisc.h21 extern struct rtnl_qdisc *nl_cli_qdisc_alloc(void);
23 extern void nl_cli_qdisc_parse_dev(struct rtnl_qdisc *, struct nl_cache *, char *);
24 extern void nl_cli_qdisc_parse_parent(struct rtnl_qdisc *, char *);
25 extern void nl_cli_qdisc_parse_handle(struct rtnl_qdisc *, char *);
26 extern void nl_cli_qdisc_parse_kind(struct rtnl_qdisc *, char *);
/external/libnl/src/lib/
Dqdisc.c22 struct rtnl_qdisc *nl_cli_qdisc_alloc(void) in nl_cli_qdisc_alloc()
24 struct rtnl_qdisc *qdisc; in nl_cli_qdisc_alloc()
33 void nl_cli_qdisc_parse_dev(struct rtnl_qdisc *qdisc, struct nl_cache *link_cache, char *arg) in nl_cli_qdisc_parse_dev()
43 void nl_cli_qdisc_parse_parent(struct rtnl_qdisc *qdisc, char *arg) in nl_cli_qdisc_parse_parent()
55 void nl_cli_qdisc_parse_handle(struct rtnl_qdisc *qdisc, char *arg) in nl_cli_qdisc_parse_handle()
67 void nl_cli_qdisc_parse_kind(struct rtnl_qdisc *qdisc, char *arg) in nl_cli_qdisc_parse_kind()
/external/libnl/src/
Ddisabled-nl-qdisc-add.c23 static int parse_blackhole_opts(struct rtnl_qdisc *qdisc, char *argv[], in parse_blackhole_opts()
29 static int parse_pfifo_opts(struct rtnl_qdisc *qdisc, char *argv[], int argc) in parse_pfifo_opts()
50 static int parse_bfifo_opts(struct rtnl_qdisc *qdisc, char *argv[], int argc) in parse_bfifo_opts()
76 static int parse_prio_opts(struct rtnl_qdisc *qdisc, char *argv[], int argc) in parse_prio_opts()
129 struct rtnl_qdisc *qdisc; in main()
Dnl-tctree-list.c41 struct rtnl_qdisc *leaf; in print_class()
65 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in print_qdisc()
85 struct rtnl_qdisc *qdisc; in print_link()
Dnl-qdisc-delete.c43 struct rtnl_qdisc *qdisc = nl_object_priv(obj); in delete_cb()
66 struct rtnl_qdisc *qdisc; in main()

12