Home
last modified time | relevance | path

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

12

/third_party/libnl/include/netlink/route/qdisc/
Dnetem.h22 extern void rtnl_netem_set_limit(struct rtnl_qdisc *, int);
23 extern int rtnl_netem_get_limit(struct rtnl_qdisc *);
26 extern void rtnl_netem_set_gap(struct rtnl_qdisc *, int);
27 extern int rtnl_netem_get_gap(struct rtnl_qdisc *);
29 extern void rtnl_netem_set_reorder_probability(struct rtnl_qdisc *, int);
30 extern int rtnl_netem_get_reorder_probability(struct rtnl_qdisc *);
32 extern void rtnl_netem_set_reorder_correlation(struct rtnl_qdisc *, int);
33 extern int rtnl_netem_get_reorder_correlation(struct rtnl_qdisc *);
36 extern void rtnl_netem_set_corruption_probability(struct rtnl_qdisc *, int);
37 extern int rtnl_netem_get_corruption_probability(struct rtnl_qdisc *);
[all …]
Dmqprio.h22 extern int rtnl_qdisc_mqprio_set_num_tc(struct rtnl_qdisc *qdisc, int num_tc);
23 extern int rtnl_qdisc_mqprio_get_num_tc(struct rtnl_qdisc *qdisc);
24 extern int rtnl_qdisc_mqprio_set_priomap(struct rtnl_qdisc *qdisc, uint8_t priomap[],
26 extern uint8_t *rtnl_qdisc_mqprio_get_priomap(struct rtnl_qdisc *qdisc);
27 extern int rtnl_qdisc_mqprio_hw_offload(struct rtnl_qdisc *qdisc, int offload);
28 extern int rtnl_qdisc_mqprio_get_hw_offload(struct rtnl_qdisc *qdisc);
29 extern int rtnl_qdisc_mqprio_set_queue(struct rtnl_qdisc *qdisc, uint16_t count[],
31 extern int rtnl_qdisc_mqprio_get_queue(struct rtnl_qdisc *qdisc, uint16_t *count,
33 extern int rtnl_qdisc_mqprio_set_mode(struct rtnl_qdisc *qdisc, uint16_t mode);
34 extern int rtnl_qdisc_mqprio_get_mode(struct rtnl_qdisc *qdisc);
[all …]
Dfq_codel.h22 extern int rtnl_qdisc_fq_codel_set_limit(struct rtnl_qdisc *, int);
23 extern int rtnl_qdisc_fq_codel_get_limit(struct rtnl_qdisc *);
25 extern int rtnl_qdisc_fq_codel_set_target(struct rtnl_qdisc *, uint32_t);
26 extern uint32_t rtnl_qdisc_fq_codel_get_target(struct rtnl_qdisc *);
28 extern int rtnl_qdisc_fq_codel_set_interval(struct rtnl_qdisc *, uint32_t);
29 extern uint32_t rtnl_qdisc_fq_codel_get_interval(struct rtnl_qdisc *);
31 extern int rtnl_qdisc_fq_codel_set_quantum(struct rtnl_qdisc *, uint32_t);
32 extern uint32_t rtnl_qdisc_fq_codel_get_quantum(struct rtnl_qdisc *);
34 extern int rtnl_qdisc_fq_codel_set_flows(struct rtnl_qdisc *, int);
35 extern int rtnl_qdisc_fq_codel_get_flows(struct rtnl_qdisc *);
[all …]
Dtbf.h23 extern void rtnl_qdisc_tbf_set_limit(struct rtnl_qdisc *, int);
24 extern int rtnl_qdisc_tbf_set_limit_by_latency(struct rtnl_qdisc *, int);
25 extern int rtnl_qdisc_tbf_get_limit(struct rtnl_qdisc *);
27 extern void rtnl_qdisc_tbf_set_rate(struct rtnl_qdisc *, int, int, int);
28 extern int rtnl_qdisc_tbf_get_rate(struct rtnl_qdisc *);
29 extern int rtnl_qdisc_tbf_get_rate_bucket(struct rtnl_qdisc *);
30 extern int rtnl_qdisc_tbf_get_rate_cell(struct rtnl_qdisc *);
32 extern int rtnl_qdisc_tbf_set_peakrate(struct rtnl_qdisc *, int, int, int);
33 extern int rtnl_qdisc_tbf_get_peakrate(struct rtnl_qdisc *);
34 extern int rtnl_qdisc_tbf_get_peakrate_bucket(struct rtnl_qdisc *);
[all …]
Dsfq.h22 extern void rtnl_sfq_set_quantum(struct rtnl_qdisc *, int);
23 extern int rtnl_sfq_get_quantum(struct rtnl_qdisc *);
25 extern void rtnl_sfq_set_limit(struct rtnl_qdisc *, int);
26 extern int rtnl_sfq_get_limit(struct rtnl_qdisc *);
28 extern void rtnl_sfq_set_perturb(struct rtnl_qdisc *, int);
29 extern int rtnl_sfq_get_perturb(struct rtnl_qdisc *);
31 extern int rtnl_sfq_get_divisor(struct rtnl_qdisc *);
Ddsmark.h29 extern int rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *, uint16_t);
30 extern int rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *);
32 extern int rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *,
34 extern int rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *);
36 extern int rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *, int);
37 extern int rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *);
Dplug.h22 extern int rtnl_qdisc_plug_set_limit(struct rtnl_qdisc *, int);
23 extern int rtnl_qdisc_plug_buffer(struct rtnl_qdisc *);
24 extern int rtnl_qdisc_plug_release_one(struct rtnl_qdisc *);
25 extern int rtnl_qdisc_plug_release_indefinite(struct rtnl_qdisc *);
Dprio.h42 extern void rtnl_qdisc_prio_set_bands(struct rtnl_qdisc *, int);
43 extern int rtnl_qdisc_prio_get_bands(struct rtnl_qdisc *);
44 extern int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *, uint8_t[], int);
45 extern uint8_t *rtnl_qdisc_prio_get_priomap(struct rtnl_qdisc *);
Dhtb.h26 extern uint32_t rtnl_htb_get_rate2quantum(struct rtnl_qdisc *);
27 extern int rtnl_htb_set_rate2quantum(struct rtnl_qdisc *, uint32_t);
28 extern uint32_t rtnl_htb_get_defcls(struct rtnl_qdisc *);
29 extern int rtnl_htb_set_defcls(struct rtnl_qdisc *, uint32_t);
Dfifo.h22 extern int rtnl_qdisc_fifo_set_limit(struct rtnl_qdisc *, int);
23 extern int rtnl_qdisc_fifo_get_limit(struct rtnl_qdisc *);
Dred.h17 extern void rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit);
18 extern int rtnl_red_get_limit(struct rtnl_qdisc *qdisc);
Dhfsc.h26 extern uint32_t rtnl_qdisc_hfsc_get_defcls(const struct rtnl_qdisc *);
27 extern int rtnl_qdisc_hfsc_set_defcls(struct rtnl_qdisc *, uint32_t);
/third_party/libnl/include/netlink/route/
Dqdisc.h23 struct rtnl_qdisc;
25 extern struct rtnl_qdisc *
27 extern void rtnl_qdisc_put(struct rtnl_qdisc *);
31 extern struct rtnl_qdisc *
34 extern struct rtnl_qdisc *
37 extern int rtnl_qdisc_build_add_request(struct rtnl_qdisc *, int,
39 extern int rtnl_qdisc_add(struct nl_sock *, struct rtnl_qdisc *, int);
41 extern int rtnl_qdisc_build_update_request(struct rtnl_qdisc *,
42 struct rtnl_qdisc *,
45 extern int rtnl_qdisc_update(struct nl_sock *, struct rtnl_qdisc *,
[all …]
/third_party/libnl/lib/route/
Dqdisc.c35 struct rtnl_qdisc *qdisc; in qdisc_msg_parser()
67 struct rtnl_qdisc *rtnl_qdisc_alloc(void) in rtnl_qdisc_alloc()
75 return (struct rtnl_qdisc *) tc; in rtnl_qdisc_alloc()
78 void rtnl_qdisc_put(struct rtnl_qdisc *qdisc) in rtnl_qdisc_put()
90 static int build_qdisc_msg(struct rtnl_qdisc *qdisc, int type, int flags, in build_qdisc_msg()
115 int rtnl_qdisc_build_add_request(struct rtnl_qdisc *qdisc, int flags, in rtnl_qdisc_build_add_request()
163 int rtnl_qdisc_add(struct nl_sock *sk, struct rtnl_qdisc *qdisc, int flags) in rtnl_qdisc_add()
189 int rtnl_qdisc_build_update_request(struct rtnl_qdisc *qdisc, in rtnl_qdisc_build_update_request()
190 struct rtnl_qdisc *new, int flags, in rtnl_qdisc_build_update_request()
248 int rtnl_qdisc_update(struct nl_sock *sk, struct rtnl_qdisc *qdisc, in rtnl_qdisc_update()
[all …]
/third_party/libnl/lib/route/qdisc/
Dnetem.c352 void rtnl_netem_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_netem_set_limit()
368 int rtnl_netem_get_limit(struct rtnl_qdisc *qdisc) in rtnl_netem_get_limit()
394 void rtnl_netem_set_gap(struct rtnl_qdisc *qdisc, int gap) in rtnl_netem_set_gap()
410 int rtnl_netem_get_gap(struct rtnl_qdisc *qdisc) in rtnl_netem_get_gap()
429 void rtnl_netem_set_reorder_probability(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_reorder_probability()
445 int rtnl_netem_get_reorder_probability(struct rtnl_qdisc *qdisc) in rtnl_netem_get_reorder_probability()
464 void rtnl_netem_set_reorder_correlation(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_reorder_correlation()
480 int rtnl_netem_get_reorder_correlation(struct rtnl_qdisc *qdisc) in rtnl_netem_get_reorder_correlation()
506 void rtnl_netem_set_corruption_probability(struct rtnl_qdisc *qdisc, int prob) in rtnl_netem_set_corruption_probability()
522 int rtnl_netem_get_corruption_probability(struct rtnl_qdisc *qdisc) in rtnl_netem_get_corruption_probability()
[all …]
Dfq_codel.c148 int rtnl_qdisc_fq_codel_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_qdisc_fq_codel_set_limit()
166 int rtnl_qdisc_fq_codel_get_limit(struct rtnl_qdisc *qdisc) in rtnl_qdisc_fq_codel_get_limit()
185 int rtnl_qdisc_fq_codel_set_target(struct rtnl_qdisc *qdisc, uint32_t target) in rtnl_qdisc_fq_codel_set_target()
203 uint32_t rtnl_qdisc_fq_codel_get_target(struct rtnl_qdisc *qdisc) in rtnl_qdisc_fq_codel_get_target()
220 int rtnl_qdisc_fq_codel_set_interval(struct rtnl_qdisc *qdisc, uint32_t interval) in rtnl_qdisc_fq_codel_set_interval()
238 uint32_t rtnl_qdisc_fq_codel_get_interval(struct rtnl_qdisc *qdisc) in rtnl_qdisc_fq_codel_get_interval()
255 int rtnl_qdisc_fq_codel_set_quantum(struct rtnl_qdisc *qdisc, uint32_t quantum) in rtnl_qdisc_fq_codel_set_quantum()
273 uint32_t rtnl_qdisc_fq_codel_get_quantum(struct rtnl_qdisc *qdisc) in rtnl_qdisc_fq_codel_get_quantum()
290 int rtnl_qdisc_fq_codel_set_flows(struct rtnl_qdisc *qdisc, int flows) in rtnl_qdisc_fq_codel_set_flows()
308 int rtnl_qdisc_fq_codel_get_flows(struct rtnl_qdisc *qdisc) in rtnl_qdisc_fq_codel_get_flows()
[all …]
Dmqprio.c225 int rtnl_qdisc_mqprio_set_num_tc(struct rtnl_qdisc *qdisc, int num_tc) in rtnl_qdisc_mqprio_set_num_tc()
242 int rtnl_qdisc_mqprio_get_num_tc(struct rtnl_qdisc *qdisc) in rtnl_qdisc_mqprio_get_num_tc()
262 int rtnl_qdisc_mqprio_set_priomap(struct rtnl_qdisc *qdisc, uint8_t priomap[], in rtnl_qdisc_mqprio_set_priomap()
294 uint8_t *rtnl_qdisc_mqprio_get_priomap(struct rtnl_qdisc *qdisc) in rtnl_qdisc_mqprio_get_priomap()
313 int rtnl_qdisc_mqprio_hw_offload(struct rtnl_qdisc *qdisc, int offload) in rtnl_qdisc_mqprio_hw_offload()
338 int rtnl_qdisc_mqprio_get_hw_offload(struct rtnl_qdisc *qdisc) in rtnl_qdisc_mqprio_get_hw_offload()
358 int rtnl_qdisc_mqprio_set_queue(struct rtnl_qdisc *qdisc, uint16_t count[], in rtnl_qdisc_mqprio_set_queue()
386 int rtnl_qdisc_mqprio_get_queue(struct rtnl_qdisc *qdisc, uint16_t *count, in rtnl_qdisc_mqprio_get_queue()
409 int rtnl_qdisc_mqprio_set_mode(struct rtnl_qdisc *qdisc, uint16_t mode) in rtnl_qdisc_mqprio_set_mode()
430 int rtnl_qdisc_mqprio_get_mode(struct rtnl_qdisc *qdisc) in rtnl_qdisc_mqprio_get_mode()
[all …]
Dsfq.c114 void rtnl_sfq_set_quantum(struct rtnl_qdisc *qdisc, int quantum) in rtnl_sfq_set_quantum()
130 int rtnl_sfq_get_quantum(struct rtnl_qdisc *qdisc) in rtnl_sfq_get_quantum()
149 void rtnl_sfq_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_sfq_set_limit()
165 int rtnl_sfq_get_limit(struct rtnl_qdisc *qdisc) in rtnl_sfq_get_limit()
185 void rtnl_sfq_set_perturb(struct rtnl_qdisc *qdisc, int perturb) in rtnl_sfq_set_perturb()
201 int rtnl_sfq_get_perturb(struct rtnl_qdisc *qdisc) in rtnl_sfq_get_perturb()
219 int rtnl_sfq_get_divisor(struct rtnl_qdisc *qdisc) in rtnl_sfq_get_divisor()
Dtbf.c178 void rtnl_qdisc_tbf_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_qdisc_tbf_set_limit()
218 int rtnl_qdisc_tbf_set_limit_by_latency(struct rtnl_qdisc *qdisc, int latency) in rtnl_qdisc_tbf_set_limit_by_latency()
249 int rtnl_qdisc_tbf_get_limit(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_limit()
276 void rtnl_qdisc_tbf_set_rate(struct rtnl_qdisc *qdisc, int rate, int bucket, in rtnl_qdisc_tbf_set_rate()
302 int rtnl_qdisc_tbf_get_rate(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_rate()
320 int rtnl_qdisc_tbf_get_rate_bucket(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_rate_bucket()
338 int rtnl_qdisc_tbf_get_rate_cell(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_rate_cell()
359 int rtnl_qdisc_tbf_set_peakrate(struct rtnl_qdisc *qdisc, int rate, int bucket, in rtnl_qdisc_tbf_set_peakrate()
387 int rtnl_qdisc_tbf_get_peakrate(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_peakrate()
405 int rtnl_qdisc_tbf_get_peakrate_bucket(struct rtnl_qdisc *qdisc) in rtnl_qdisc_tbf_get_peakrate_bucket()
[all …]
Dplug.c94 int rtnl_qdisc_plug_buffer(struct rtnl_qdisc *qdisc) in rtnl_qdisc_plug_buffer()
111 int rtnl_qdisc_plug_release_one(struct rtnl_qdisc *qdisc) in rtnl_qdisc_plug_release_one()
128 int rtnl_qdisc_plug_release_indefinite(struct rtnl_qdisc *qdisc) in rtnl_qdisc_plug_release_indefinite()
145 int rtnl_qdisc_plug_set_limit(struct rtnl_qdisc *qdisc, int limit) in rtnl_qdisc_plug_set_limit()
Ddsmark.c271 int rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *qdisc, uint16_t indices) in rtnl_qdisc_dsmark_set_indices()
289 int rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *qdisc) in rtnl_qdisc_dsmark_get_indices()
308 int rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *qdisc, in rtnl_qdisc_dsmark_set_default_index()
327 int rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *qdisc) in rtnl_qdisc_dsmark_get_default_index()
346 int rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *qdisc, int flag) in rtnl_qdisc_dsmark_set_set_tc_index()
365 int rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *qdisc) in rtnl_qdisc_dsmark_get_set_tc_index()
Dprio.c129 void rtnl_qdisc_prio_set_bands(struct rtnl_qdisc *qdisc, int bands) in rtnl_qdisc_prio_set_bands()
145 int rtnl_qdisc_prio_get_bands(struct rtnl_qdisc *qdisc) in rtnl_qdisc_prio_get_bands()
165 int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *qdisc, uint8_t priomap[], in rtnl_qdisc_prio_set_priomap()
197 uint8_t *rtnl_qdisc_prio_get_priomap(struct rtnl_qdisc *qdisc) in rtnl_qdisc_prio_get_priomap()
/third_party/libnl/python/netlink/route/
Dcapi.i336 struct nl_object *qdisc2obj(struct rtnl_qdisc *qdisc) in qdisc2obj()
341 struct rtnl_qdisc *obj2qdisc(struct nl_object *obj) in obj2qdisc()
343 return (struct rtnl_qdisc *) obj; in obj2qdisc()
371 extern struct rtnl_qdisc *
374 extern struct rtnl_qdisc *
377 extern struct rtnl_qdisc *
380 extern int rtnl_qdisc_build_add_request(struct rtnl_qdisc *, int,
382 extern int rtnl_qdisc_add(struct nl_sock *, struct rtnl_qdisc *, int);
384 extern int rtnl_qdisc_build_update_request(struct rtnl_qdisc *,
385 struct rtnl_qdisc *,
[all …]
/third_party/libnl/src/
Dnl-tctree-list.c46 struct rtnl_qdisc *leaf; in print_class()
84 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; in print_qdisc()
104 struct rtnl_qdisc *qdisc; in print_link()
/third_party/libnl/src/lib/
Dqdisc.c23 struct rtnl_qdisc *nl_cli_qdisc_alloc(void) in nl_cli_qdisc_alloc()
25 struct rtnl_qdisc *qdisc; in nl_cli_qdisc_alloc()

12