Home
last modified time | relevance | path

Searched refs:rtnl_tca (Results 1 – 18 of 18) sorted by relevance

/external/libnl/include/
Dnetlink-tc.h32 extern int tca_parse(struct nlattr **, int, struct rtnl_tca *,
34 extern int tca_msg_parser(struct nlmsghdr *, struct rtnl_tca *);
35 extern void tca_free_data(struct rtnl_tca *);
36 extern int tca_clone(struct rtnl_tca *, struct rtnl_tca *);
37 extern void tca_dump_line(struct rtnl_tca *, const char *,
39 extern void tca_dump_details(struct rtnl_tca *, struct nl_dump_params *);
40 extern void tca_dump_stats(struct rtnl_tca *, struct nl_dump_params *);
43 extern void tca_set_ifindex(struct rtnl_tca *, int);
44 extern int tca_get_ifindex(struct rtnl_tca *);
45 extern void tca_set_handle(struct rtnl_tca *, uint32_t);
[all …]
Dnetlink-types.h460 struct rtnl_tca struct
/external/libnl/lib/route/sch/
Dcbq.c76 static inline struct rtnl_cbq *cbq_qdisc(struct rtnl_tca *tca) in cbq_qdisc()
81 static inline struct rtnl_cbq *cbq_alloc(struct rtnl_tca *tca) in cbq_alloc()
90 static int cbq_msg_parser(struct rtnl_tca *tca) in cbq_msg_parser()
118 return cbq_msg_parser((struct rtnl_tca *) qdisc); in cbq_qdisc_msg_parser()
123 return cbq_msg_parser((struct rtnl_tca *) class); in cbq_class_msg_parser()
131 static int cbq_clone(struct rtnl_tca *_dst, struct rtnl_tca *_src) in cbq_clone()
143 return cbq_clone((struct rtnl_tca *) dst, (struct rtnl_tca *) src); in cbq_qdisc_clone()
153 return cbq_clone((struct rtnl_tca *) dst, (struct rtnl_tca *) src); in cbq_class_clone()
156 static void cbq_dump_line(struct rtnl_tca *tca, struct nl_dump_params *p) in cbq_dump_line()
176 cbq_dump_line((struct rtnl_tca *) qdisc, p); in cbq_qdisc_dump_line()
[all …]
Ddsmark.c66 err = tca_parse(tb, TCA_DSMARK_MAX, (struct rtnl_tca *) qdisc, in dsmark_qdisc_msg_parser()
114 err = tca_parse(tb, TCA_DSMARK_MAX, (struct rtnl_tca *) class, in dsmark_class_msg_parser()
Dred.c64 err = tca_parse(tb, TCA_RED_MAX, (struct rtnl_tca *) qdisc, red_policy); in red_msg_parser()
Dhtb.c68 err = tca_parse(tb, TCA_HTB_MAX, (struct rtnl_tca *) qdisc, htb_policy); in htb_qdisc_msg_parser()
106 err = tca_parse(tb, TCA_HTB_MAX, (struct rtnl_tca *) class, htb_policy); in htb_class_msg_parser()
Dtbf.c61 err = tca_parse(tb, TCA_TBF_MAX, (struct rtnl_tca *) q, tbf_policy); in tbf_msg_parser()
/external/libnl/lib/route/
Dqdisc_obj.c34 tca_free_data((struct rtnl_tca *) qdisc); in qdisc_free_data()
48 err = tca_clone((struct rtnl_tca *) dst, (struct rtnl_tca *) src); in qdisc_clone()
64 tca_dump_line((struct rtnl_tca *) qdisc, "qdisc", p); in qdisc_dump_line()
80 tca_dump_details((struct rtnl_tca *) qdisc, p); in qdisc_dump_details()
96 tca_dump_stats((struct rtnl_tca *) qdisc, p); in qdisc_dump_stats()
185 tca_set_ifindex((struct rtnl_tca *) qdisc, ifindex); in rtnl_qdisc_set_ifindex()
190 return tca_get_ifindex((struct rtnl_tca *) qdisc); in rtnl_qdisc_get_ifindex()
195 tca_set_handle((struct rtnl_tca *) qdisc, handle); in rtnl_qdisc_set_handle()
200 return tca_get_handle((struct rtnl_tca *) qdisc); in rtnl_qdisc_get_handle()
205 tca_set_parent((struct rtnl_tca *) qdisc, parent); in rtnl_qdisc_set_parent()
[all …]
Dclass_obj.c33 tca_free_data((struct rtnl_tca *) class); in class_free_data()
47 err = tca_clone((struct rtnl_tca *) dst, (struct rtnl_tca *) src); in class_clone()
63 tca_dump_line((struct rtnl_tca *) class, "class", p); in class_dump_line()
77 tca_dump_details((struct rtnl_tca *) class, p); in class_dump_details()
100 tca_dump_stats((struct rtnl_tca *) class, p); in class_dump_stats()
220 tca_set_ifindex((struct rtnl_tca *) class, ifindex); in rtnl_class_set_ifindex()
225 return tca_get_ifindex((struct rtnl_tca *) class); in rtnl_class_get_ifindex()
230 tca_set_handle((struct rtnl_tca *) class, handle); in rtnl_class_set_handle()
235 return tca_get_handle((struct rtnl_tca *) class); in rtnl_class_get_handle()
240 tca_set_parent((struct rtnl_tca *) class, parent); in rtnl_class_set_parent()
[all …]
Dtc.c36 int tca_parse(struct nlattr **tb, int maxattr, struct rtnl_tca *g, in tca_parse()
58 int tca_msg_parser(struct nlmsghdr *n, struct rtnl_tca *g) in tca_msg_parser()
163 void tca_free_data(struct rtnl_tca *tca) in tca_free_data()
169 int tca_clone(struct rtnl_tca *dst, struct rtnl_tca *src) in tca_clone()
186 void tca_dump_line(struct rtnl_tca *g, const char *type, in tca_dump_line()
209 void tca_dump_details(struct rtnl_tca *g, struct nl_dump_params *p) in tca_dump_details()
214 void tca_dump_stats(struct rtnl_tca *g, struct nl_dump_params *p) in tca_dump_stats()
248 struct rtnl_tca *a = (struct rtnl_tca *) _a; in tca_compare()
249 struct rtnl_tca *b = (struct rtnl_tca *) _b; in tca_compare()
264 void tca_set_ifindex(struct rtnl_tca *t, int ifindex) in tca_set_ifindex()
[all …]
Dcls_obj.c37 tca_free_data((struct rtnl_tca *) cls); in cls_free_data()
53 err = tca_clone((struct rtnl_tca *) dst, (struct rtnl_tca *) src); in cls_clone()
77 tca_dump_line((struct rtnl_tca *) cls, "cls", p); in cls_dump_line()
94 tca_dump_details((struct rtnl_tca *) cls, p); in cls_dump_details()
109 tca_dump_stats((struct rtnl_tca *) cls, p); in cls_dump_stats()
142 tca_set_ifindex((struct rtnl_tca *) f, ifindex); in rtnl_cls_set_ifindex()
152 tca_set_handle((struct rtnl_tca *) f, handle); in rtnl_cls_set_handle()
157 tca_set_parent((struct rtnl_tca *) f, parent); in rtnl_cls_set_parent()
170 tca_set_kind((struct rtnl_tca *) cls, kind); in rtnl_cls_set_kind()
Dclass.c44 err = tca_msg_parser(n, (struct rtnl_tca *) class); in class_msg_parser()
84 err = tca_build_msg((struct rtnl_tca *) class, type, flags, result); in class_build()
Dcls.c52 err = tca_msg_parser(nlh, (struct rtnl_tca *) cls); in cls_msg_parser()
90 err = tca_build_msg((struct rtnl_tca *) cls, type, flags, result); in cls_build()
Dqdisc.c113 err = tca_msg_parser(n, (struct rtnl_tca *) qdisc); in qdisc_msg_parser()
153 err = tca_build_msg((struct rtnl_tca *) qdisc, type, flags, result); in qdisc_build()
/external/libnl/lib/route/cls/
Dcgroup.c50 err = tca_parse(tb, TCA_CGROUP_MAX, (struct rtnl_tca *) cls, in cgroup_msg_parser()
Dfw.c47 err = tca_parse(tb, TCA_FW_MAX, (struct rtnl_tca *) cls, fw_policy); in fw_msg_parser()
Dbasic.c70 err = tca_parse(tb, TCA_BASIC_MAX, (struct rtnl_tca *) cls, basic_policy); in basic_msg_parser()
Du32.c73 err = tca_parse(tb, TCA_U32_MAX, (struct rtnl_tca *) cls, u32_policy); in u32_msg_parser()
348 tca_set_handle((struct rtnl_tca *) cls, handle ); in rtnl_u32_set_handle()