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

/external/libnl/lib/route/
H A Dqdisc_api.c13 * @ingroup qdisc
24 #include <netlink/route/qdisc.h>
27 #include <netlink/route/qdisc-modules.h>
37 * Register a qdisc module
38 * @arg qops qdisc module operations
58 * Unregister a qdisc module
59 * @arg qops qdisc module operations
88 struct rtnl_qdisc_ops *rtnl_qdisc_lookup_ops(struct rtnl_qdisc *qdisc) argument
90 if (!qdisc->q_ops)
91 qdisc
[all...]
H A Dqdisc.c2 * lib/route/qdisc.c Queueing Disciplines
14 * @defgroup qdisc Queueing Disciplines
19 * - \c TC_H_ROOT: root qdisc (directly attached to the device)
20 * - \c TC_H_INGRESS: ingress qdisc (directly attached to the device)
21 * - \c TC_H_UNSPEC: unspecified qdisc (no reference)
25 * // Allocate a new empty qdisc to be filled out
26 * struct rtnl_qdisc *qdisc = rtnl_qdisc_alloc();
29 * rtnl_qdisc_set_kind(qdisc, "pfifo");
31 * // Specify the device the qdisc should be attached to
32 * rtnl_qdisc_set_ifindex(qdisc, ifinde
102 struct rtnl_qdisc *qdisc; local
147 qdisc_build(struct rtnl_qdisc *qdisc, int type, int flags, struct nl_msg **result) argument
201 rtnl_qdisc_build_add_request(struct rtnl_qdisc *qdisc, int flags, struct nl_msg **result) argument
222 rtnl_qdisc_add(struct nl_sock *sk, struct rtnl_qdisc *qdisc, int flags) argument
259 rtnl_qdisc_build_change_request(struct rtnl_qdisc *qdisc, struct rtnl_qdisc *new, struct nl_msg **result) argument
278 rtnl_qdisc_change(struct nl_sock *sk, struct rtnl_qdisc *qdisc, struct rtnl_qdisc *new) argument
314 rtnl_qdisc_build_delete_request(struct rtnl_qdisc *qdisc, struct nl_msg **result) argument
352 rtnl_qdisc_delete(struct nl_sock *sk, struct rtnl_qdisc *qdisc) argument
[all...]
H A Dqdisc_obj.c13 * @ingroup qdisc
24 #include <netlink/route/qdisc.h>
27 #include <netlink/route/qdisc-modules.h>
31 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; local
34 tca_free_data((struct rtnl_tca *) qdisc);
36 qops = rtnl_qdisc_lookup_ops(qdisc);
38 qops->qo_free_data(qdisc);
61 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; local
64 tca_dump_line((struct rtnl_tca *) qdisc, "qdisc",
75 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg; local
92 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg; local
114 rtnl_qdisc_put(struct rtnl_qdisc *qdisc) argument
134 rtnl_qdisc_foreach_child(struct rtnl_qdisc *qdisc, struct nl_cache *cache, void (*cb)(struct nl_object *, void *), void *arg) argument
160 rtnl_qdisc_foreach_cls(struct rtnl_qdisc *qdisc, struct nl_cache *cache, void (*cb)(struct nl_object *, void *), void *arg) argument
183 rtnl_qdisc_set_ifindex(struct rtnl_qdisc *qdisc, int ifindex) argument
188 rtnl_qdisc_get_ifindex(struct rtnl_qdisc *qdisc) argument
193 rtnl_qdisc_set_handle(struct rtnl_qdisc *qdisc, uint32_t handle) argument
198 rtnl_qdisc_get_handle(struct rtnl_qdisc *qdisc) argument
203 rtnl_qdisc_set_parent(struct rtnl_qdisc *qdisc, uint32_t parent) argument
208 rtnl_qdisc_get_parent(struct rtnl_qdisc *qdisc) argument
213 rtnl_qdisc_set_kind(struct rtnl_qdisc *qdisc, const char *name) argument
219 rtnl_qdisc_get_kind(struct rtnl_qdisc *qdisc) argument
224 rtnl_qdisc_get_stat(struct rtnl_qdisc *qdisc, enum rtnl_tc_stats_id id) argument
243 rtnl_qdisc_get_opts(struct rtnl_qdisc *qdisc) argument
[all...]
H A Dlink.c477 nl_dump(p, "qdisc %s ", link->l_qdisc);
722 __ADD(LINK_ATTR_QDISC, qdisc)
1157 void rtnl_link_set_qdisc(struct rtnl_link *link, const char *qdisc) argument
1159 strncpy(link->l_qdisc, qdisc, sizeof(link->l_qdisc) - 1);
/external/libnl/src/lib/
H A Dqdisc.c2 * 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) argument
40 rtnl_qdisc_set_ifindex(qdisc, ival);
43 void nl_cli_qdisc_parse_parent(struct rtnl_qdisc *qdisc, cha argument
55 nl_cli_qdisc_parse_handle(struct rtnl_qdisc *qdisc, char *arg) argument
67 nl_cli_qdisc_parse_kind(struct rtnl_qdisc *qdisc, char *arg) argument
[all...]
/external/libnl/src/
H A Dnl-qdisc-list.c2 * src/nl-qdisc-list.c List Qdiscs
13 #include <netlink/cli/qdisc.h>
21 "Usage: nl-qdisc-list [OPTION]... [QDISC]\n"
29 " -d, --dev=DEV Device the qdisc is attached to\n"
30 " -p, --parent=HANDLE Identifier of parent qdisc\n"
32 " -k, --kind=NAME Kind of qdisc (e.g. pfifo_fast)\n"
40 struct rtnl_qdisc *qdisc; local
51 qdisc = nl_cli_qdisc_alloc();
80 case 'd': nl_cli_qdisc_parse_dev(qdisc, link_cache, optarg); break;
81 case 'p': nl_cli_qdisc_parse_parent(qdisc, optar
[all...]
H A Ddisabled-nl-qdisc-add.c2 * src/nl-qdisc-dump.c Dump qdisc attributes
19 "Usage: nl-qdisc-add <ifindex> <handle> <parent> <kind>\n");
23 static int parse_blackhole_opts(struct rtnl_qdisc *qdisc, char *argv[], argument
29 static int parse_pfifo_opts(struct rtnl_qdisc *qdisc, char *argv[], int argc) argument
40 err = rtnl_qdisc_fifo_set_limit(qdisc, limit);
50 static int parse_bfifo_opts(struct rtnl_qdisc *qdisc, char *argv[], int argc) argument
66 err = rtnl_qdisc_fifo_set_limit(qdisc, limit);
76 static int parse_prio_opts(struct rtnl_qdisc *qdisc, char *argv[], int argc) argument
86 err = rtnl_qdisc_prio_set_bands(qdisc, band
129 struct rtnl_qdisc *qdisc; local
[all...]
H A Dnl-qdisc-delete.c2 * src/nl-qdisc-delete.c Delete Queuing Disciplines
13 #include <netlink/cli/qdisc.h>
22 "Usage: nl-qdisc-delete [OPTION]... [QDISC]\n"
32 " -d, --dev=DEV Device the qdisc is attached to\n"
33 " -p, --parent=HANDLE Identifier of parent qdisc\n"
35 " -k, --kind=NAME Kind of qdisc (e.g. pfifo_fast)\n"
43 struct rtnl_qdisc *qdisc = nl_object_priv(obj); local
53 if ((err = rtnl_qdisc_delete(sock, qdisc)) < 0)
54 nl_cli_fatal(err, "Unable to delete qdisc: %s\n", nl_geterror(err));
66 struct rtnl_qdisc *qdisc; local
[all...]
H A Dnl-tctree-list.c14 #include <netlink/cli/qdisc.h>
65 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) obj; local
67 uint32_t parent = rtnl_qdisc_get_handle(qdisc);
72 rtnl_qdisc_foreach_child(qdisc, class_cache, &print_class, arg + 2);
85 struct rtnl_qdisc *qdisc; local
94 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, TC_H_ROOT);
95 if (qdisc) {
96 print_qdisc((struct nl_object *) qdisc, (void *) 2);
97 rtnl_qdisc_put(qdisc);
100 qdisc
[all...]
/external/libnl/lib/route/sch/
H A Dfifo.c17 * 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) argument
46 return (struct rtnl_fifo *) qdisc->q_subdata;
49 static inline struct rtnl_fifo *fifo_alloc(struct rtnl_qdisc *qdisc) argument
51 if (!qdisc->q_subdata)
52 qdisc->q_subdata = calloc(1, sizeof(struct rtnl_fifo));
54 return fifo_qdisc(qdisc);
57 fifo_msg_parser(struct rtnl_qdisc *qdisc) argument
76 fifo_free_data(struct rtnl_qdisc *qdisc) argument
81 pfifo_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
89 bfifo_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
102 fifo_get_opts(struct rtnl_qdisc *qdisc) argument
139 rtnl_qdisc_fifo_set_limit(struct rtnl_qdisc *qdisc, int limit) argument
158 rtnl_qdisc_fifo_get_limit(struct rtnl_qdisc *qdisc) argument
[all...]
H A Dred.c23 #include <netlink/route/qdisc.h>
24 #include <netlink/route/qdisc-modules.h>
37 static inline struct rtnl_red *red_qdisc(struct rtnl_qdisc *qdisc) argument
39 return (struct rtnl_red *) qdisc->q_subdata;
42 static inline struct rtnl_red *red_alloc(struct rtnl_qdisc *qdisc) argument
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) argument
61 if (!(qdisc
92 red_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
101 red_dump_details(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
110 red_dump_stats(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
119 red_get_opts(struct rtnl_qdisc *qdisc) argument
159 rtnl_red_set_limit(struct rtnl_qdisc *qdisc, int limit) argument
178 rtnl_red_get_limit(struct rtnl_qdisc *qdisc) argument
[all...]
H A Dprio.c19 * // Specify the maximal number of bands to be used for this PRIO qdisc.
20 * rtnl_qdisc_prio_set_bands(qdisc, QDISC_PRIO_DEFAULT_BANDS);
24 * rtnl_qdisc_prio_set_priomap(qdisc, map, sizeof(map));
33 #include <netlink/route/qdisc.h>
34 #include <netlink/route/qdisc-modules.h>
42 static inline struct rtnl_prio *prio_qdisc(struct rtnl_qdisc *qdisc) argument
44 return (struct rtnl_prio *) qdisc->q_subdata;
47 static inline struct rtnl_prio *prio_alloc(struct rtnl_qdisc *qdisc) argument
49 if (!qdisc->q_subdata)
50 qdisc
55 prio_msg_parser(struct rtnl_qdisc *qdisc) argument
75 prio_free_data(struct rtnl_qdisc *qdisc) argument
80 prio_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
88 prio_dump_details(struct rtnl_qdisc *qdisc,struct nl_dump_params *p) argument
124 prio_get_opts(struct rtnl_qdisc *qdisc) argument
163 rtnl_qdisc_prio_set_bands(struct rtnl_qdisc *qdisc, int bands) argument
182 rtnl_qdisc_prio_get_bands(struct rtnl_qdisc *qdisc) argument
200 rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *qdisc, uint8_t priomap[], int len) argument
233 rtnl_qdisc_prio_get_priomap(struct rtnl_qdisc *qdisc) argument
[all...]
H A Dsfq.c30 #include <netlink/route/qdisc.h>
31 #include <netlink/route/qdisc-modules.h>
42 static inline struct rtnl_sfq *sfq_qdisc(struct rtnl_qdisc *qdisc) argument
44 return (struct rtnl_sfq *) qdisc->q_subdata;
47 static inline struct rtnl_sfq *sfq_alloc(struct rtnl_qdisc *qdisc) argument
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) argument
60 if (!(qdisc
85 sfq_free_data(struct rtnl_qdisc *qdisc) argument
90 sfq_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
99 sfq_dump_details(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
108 sfq_get_opts(struct rtnl_qdisc *qdisc) argument
147 rtnl_sfq_set_quantum(struct rtnl_qdisc *qdisc, int quantum) argument
166 rtnl_sfq_get_quantum(struct rtnl_qdisc *qdisc) argument
183 rtnl_sfq_set_limit(struct rtnl_qdisc *qdisc, int limit) argument
202 rtnl_sfq_get_limit(struct rtnl_qdisc *qdisc) argument
220 rtnl_sfq_set_perturb(struct rtnl_qdisc *qdisc, int perturb) argument
239 rtnl_sfq_get_perturb(struct rtnl_qdisc *qdisc) argument
255 rtnl_sfq_get_divisor(struct rtnl_qdisc *qdisc) argument
[all...]
H A Dcbq.c16 #include <netlink/route/qdisc.h>
17 #include <netlink/route/qdisc-modules.h>
116 static int cbq_qdisc_msg_parser(struct rtnl_qdisc *qdisc) argument
118 return cbq_msg_parser((struct rtnl_tca *) qdisc);
126 static void cbq_qdisc_free_data(struct rtnl_qdisc *qdisc) argument
128 free(qdisc->q_subdata);
173 static void cbq_qdisc_dump_line(struct rtnl_qdisc *qdisc, argument
176 cbq_dump_line((struct rtnl_tca *) qdisc, p);
225 static void cbq_qdisc_dump_details(struct rtnl_qdisc *qdisc, argument
228 cbq_dump_details((struct rtnl_tca *) qdisc,
250 cbq_qdisc_dump_stats(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
[all...]
H A Ddsmark.c23 #include <netlink/route/qdisc.h>
24 #include <netlink/route/qdisc-modules.h>
38 static inline struct rtnl_dsmark_qdisc *dsmark_qdisc(struct rtnl_qdisc *qdisc) argument
40 return (struct rtnl_dsmark_qdisc *) qdisc->q_subdata;
44 dsmark_qdisc_alloc(struct rtnl_qdisc *qdisc) argument
46 if (!qdisc->q_subdata)
47 qdisc->q_subdata = calloc(1, sizeof(struct rtnl_dsmark_qdisc));
49 return dsmark_qdisc(qdisc);
60 static int dsmark_qdisc_msg_parser(struct rtnl_qdisc *qdisc) argument
66 err = tca_parse(tb, TCA_DSMARK_MAX, (struct rtnl_tca *) qdisc,
136 dsmark_qdisc_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
145 dsmark_qdisc_dump_details(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
175 dsmark_qdisc_get_opts(struct rtnl_qdisc *qdisc) argument
318 rtnl_qdisc_dsmark_set_indices(struct rtnl_qdisc *qdisc, uint16_t indices) argument
337 rtnl_qdisc_dsmark_get_indices(struct rtnl_qdisc *qdisc) argument
354 rtnl_qdisc_dsmark_set_default_index(struct rtnl_qdisc *qdisc, uint16_t default_index) argument
374 rtnl_qdisc_dsmark_get_default_index(struct rtnl_qdisc *qdisc) argument
391 rtnl_qdisc_dsmark_set_set_tc_index(struct rtnl_qdisc *qdisc, int flag) argument
411 rtnl_qdisc_dsmark_get_set_tc_index(struct rtnl_qdisc *qdisc) argument
[all...]
H A Dhtb.c27 #include <netlink/route/qdisc.h>
28 #include <netlink/route/qdisc-modules.h>
49 static inline struct rtnl_htb_qdisc *htb_qdisc(struct rtnl_qdisc *qdisc) argument
51 if (qdisc->q_subdata == NULL)
52 qdisc->q_subdata = calloc(1, sizeof(struct rtnl_htb_qdisc));
54 return (struct rtnl_htb_qdisc *) qdisc->q_subdata;
62 static int htb_qdisc_msg_parser(struct rtnl_qdisc *qdisc) argument
68 err = tca_parse(tb, TCA_HTB_MAX, (struct rtnl_tca *) qdisc, htb_policy);
72 d = htb_qdisc(qdisc);
87 static void htb_qdisc_free_data(struct rtnl_qdisc *qdisc) argument
139 htb_qdisc_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
229 htb_qdisc_get_opts(struct rtnl_qdisc *qdisc) argument
353 rtnl_htb_set_rate2quantum(struct rtnl_qdisc *qdisc, uint32_t rate2quantum) argument
368 rtnl_htb_set_defcls(struct rtnl_qdisc *qdisc, uint32_t defcls) argument
[all...]
H A Dtbf.c24 #include <netlink/route/qdisc.h>
25 #include <netlink/route/qdisc-modules.h>
38 static inline struct rtnl_tbf *tbf_qdisc(struct rtnl_qdisc *qdisc) argument
40 return (struct rtnl_tbf *) qdisc->q_subdata;
43 static inline struct rtnl_tbf *tbf_alloc(struct rtnl_qdisc *qdisc) argument
45 if (!qdisc->q_subdata)
46 qdisc->q_subdata = calloc(1, sizeof(struct rtnl_tbf));
48 return tbf_qdisc(qdisc);
96 static void tbf_free_data(struct rtnl_qdisc *qdisc) argument
98 free(qdisc
101 tbf_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
118 tbf_dump_details(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
154 tbf_get_opts(struct rtnl_qdisc *qdisc) argument
220 rtnl_qdisc_tbf_set_limit(struct rtnl_qdisc *qdisc, int limit) argument
263 rtnl_qdisc_tbf_set_limit_by_latency(struct rtnl_qdisc *qdisc, int latency) argument
293 rtnl_qdisc_tbf_get_limit(struct rtnl_qdisc *qdisc) argument
310 rtnl_qdisc_tbf_set_mpu(struct rtnl_qdisc *qdisc, int mpu) argument
329 rtnl_qdisc_tbf_get_mpu(struct rtnl_qdisc *qdisc) argument
365 rtnl_qdisc_tbf_set_rate(struct rtnl_qdisc *qdisc, int rate, int bucket, int cell) argument
393 rtnl_qdisc_tbf_get_rate(struct rtnl_qdisc *qdisc) argument
409 rtnl_qdisc_tbf_get_rate_bucket(struct rtnl_qdisc *qdisc) argument
425 rtnl_qdisc_tbf_get_rate_cell(struct rtnl_qdisc *qdisc) argument
444 rtnl_qdisc_tbf_set_peakrate(struct rtnl_qdisc *qdisc, int rate, int bucket, int cell) argument
473 rtnl_qdisc_tbf_get_peakrate(struct rtnl_qdisc *qdisc) argument
489 rtnl_qdisc_tbf_get_peakrate_bucket(struct rtnl_qdisc *qdisc) argument
505 rtnl_qdisc_tbf_get_peakrate_cell(struct rtnl_qdisc *qdisc) argument
[all...]
H A Dnetem.c25 #include <netlink/route/qdisc.h>
26 #include <netlink/route/qdisc-modules.h>
46 static inline struct rtnl_netem *netem_qdisc(struct rtnl_qdisc *qdisc) argument
48 return (struct rtnl_netem *) qdisc->q_subdata;
51 static inline struct rtnl_netem *netem_alloc(struct rtnl_qdisc *qdisc) argument
53 if (!qdisc->q_subdata)
54 qdisc->q_subdata = calloc(1, sizeof(struct rtnl_netem));
56 return netem_qdisc(qdisc);
65 static int netem_msg_parser(struct rtnl_qdisc *qdisc) argument
71 if (qdisc
146 netem_free_data(struct rtnl_qdisc *qdisc) argument
163 netem_dump_line(struct rtnl_qdisc *qdisc, struct nl_dump_params *p) argument
171 netem_build_msg(struct rtnl_qdisc *qdisc, struct nl_msg *msg) argument
319 rtnl_netem_set_limit(struct rtnl_qdisc *qdisc, int limit) argument
338 rtnl_netem_get_limit(struct rtnl_qdisc *qdisc) argument
362 rtnl_netem_set_gap(struct rtnl_qdisc *qdisc, int gap) argument
381 rtnl_netem_get_gap(struct rtnl_qdisc *qdisc) argument
398 rtnl_netem_set_reorder_probability(struct rtnl_qdisc *qdisc, int prob) argument
417 rtnl_netem_get_reorder_probability(struct rtnl_qdisc *qdisc) argument
434 rtnl_netem_set_reorder_correlation(struct rtnl_qdisc *qdisc, int prob) argument
453 rtnl_netem_get_reorder_correlation(struct rtnl_qdisc *qdisc) argument
477 rtnl_netem_set_corruption_probability(struct rtnl_qdisc *qdisc, int prob) argument
496 rtnl_netem_get_corruption_probability(struct rtnl_qdisc *qdisc) argument
513 rtnl_netem_set_corruption_correlation(struct rtnl_qdisc *qdisc, int prob) argument
532 rtnl_netem_get_corruption_correlation(struct rtnl_qdisc *qdisc) argument
556 rtnl_netem_set_loss(struct rtnl_qdisc *qdisc, int prob) argument
575 rtnl_netem_get_loss(struct rtnl_qdisc *qdisc) argument
592 rtnl_netem_set_loss_correlation(struct rtnl_qdisc *qdisc, int prob) argument
611 rtnl_netem_get_loss_correlation(struct rtnl_qdisc *qdisc) argument
635 rtnl_netem_set_duplicate(struct rtnl_qdisc *qdisc, int prob) argument
654 rtnl_netem_get_duplicate(struct rtnl_qdisc *qdisc) argument
671 rtnl_netem_set_duplicate_correlation(struct rtnl_qdisc *qdisc, int prob) argument
690 rtnl_netem_get_duplicate_correlation(struct rtnl_qdisc *qdisc) argument
714 rtnl_netem_set_delay(struct rtnl_qdisc *qdisc, int delay) argument
733 rtnl_netem_get_delay(struct rtnl_qdisc *qdisc) argument
750 rtnl_netem_set_jitter(struct rtnl_qdisc *qdisc, int jitter) argument
769 rtnl_netem_get_jitter(struct rtnl_qdisc *qdisc) argument
785 rtnl_netem_set_delay_correlation(struct rtnl_qdisc *qdisc, int prob) argument
804 rtnl_netem_get_delay_correlation(struct rtnl_qdisc *qdisc) argument
820 rtnl_netem_get_delay_distribution_size(struct rtnl_qdisc *qdisc) argument
837 rtnl_netem_get_delay_distribution(struct rtnl_qdisc *qdisc, int16_t **dist_ptr) argument
856 rtnl_netem_set_delay_distribution(struct rtnl_qdisc *qdisc, const char *dist_type) argument
[all...]
/external/autotest/client/bin/net/
H A Dnet_tc.py98 # setup leaf qdisc
114 # restore leaf qdisc
245 class qdisc(object): class in inherits:object
248 _tc_cmd = 'tc qdisc %(cmd)s dev %(dev)s %(parent)s ' \
305 class classful_qdisc(qdisc):
370 (qdisc.name, band))
374 class classless_qdisc(qdisc):

Completed in 304 milliseconds