Home
last modified time | relevance | path

Searched defs:qdisc (Results 1 – 19 of 19) sorted by relevance

/external/libnl/lib/route/sch/
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 …]
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 …]
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()
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()
310 int rtnl_qdisc_tbf_set_mpu(struct rtnl_qdisc *qdisc, int mpu) in rtnl_qdisc_tbf_set_mpu()
[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()
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 …]
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()
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.c116 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()
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/lib/route/
Dqdisc_obj.c31 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in qdisc_free_data() local
61 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in qdisc_dump_line() local
75 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg; in qdisc_dump_details() local
92 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg; in qdisc_dump_stats() local
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()
160 void rtnl_qdisc_foreach_cls(struct rtnl_qdisc *qdisc, struct nl_cache *cache, in rtnl_qdisc_foreach_cls()
183 void rtnl_qdisc_set_ifindex(struct rtnl_qdisc *qdisc, int ifindex) in rtnl_qdisc_set_ifindex()
188 int rtnl_qdisc_get_ifindex(struct rtnl_qdisc *qdisc) in rtnl_qdisc_get_ifindex()
193 void rtnl_qdisc_set_handle(struct rtnl_qdisc *qdisc, uint32_t handle) in rtnl_qdisc_set_handle()
[all …]
Dqdisc.c102 struct rtnl_qdisc *qdisc; in qdisc_msg_parser() local
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()
278 int rtnl_qdisc_change(struct nl_sock *sk, struct rtnl_qdisc *qdisc, 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()
Dqdisc_api.c88 struct rtnl_qdisc_ops *rtnl_qdisc_lookup_ops(struct rtnl_qdisc *qdisc) in rtnl_qdisc_lookup_ops()
Dlink.c1157 void rtnl_link_set_qdisc(struct rtnl_link *link, const char *qdisc) in rtnl_link_set_qdisc()
/external/libnl/src/lib/
Dqdisc.c24 struct rtnl_qdisc *qdisc; in nl_cli_qdisc_alloc() local
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() local
Dnl-qdisc-delete.c43 struct rtnl_qdisc *qdisc = nl_object_priv(obj); in delete_cb() local
66 struct rtnl_qdisc *qdisc; in main() local
Dnl-tctree-list.c65 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in print_qdisc() local
85 struct rtnl_qdisc *qdisc; in print_link() local
Dnl-qdisc-list.c40 struct rtnl_qdisc *qdisc; in main() local
/external/autotest/client/bin/net/
Dnet_tc.py245 class qdisc(object): class