Home
last modified time | relevance | path

Searched refs:rtnl_class (Results 1 – 22 of 22) sorted by relevance

/third_party/libnl/include/netlink/route/qdisc/
Dhtb.h31 extern uint32_t rtnl_htb_get_prio(struct rtnl_class *);
32 extern int rtnl_htb_set_prio(struct rtnl_class *, uint32_t);
34 extern uint32_t rtnl_htb_get_rate(struct rtnl_class *);
35 extern int rtnl_htb_set_rate(struct rtnl_class *, uint32_t);
36 extern uint32_t rtnl_htb_get_ceil(struct rtnl_class *);
37 extern int rtnl_htb_set_ceil(struct rtnl_class *, uint32_t);
39 extern int rtnl_htb_get_rate64(struct rtnl_class *, uint64_t *);
40 extern int rtnl_htb_set_rate64(struct rtnl_class *, uint64_t);
41 extern int rtnl_htb_get_ceil64(struct rtnl_class *, uint64_t *);
42 extern int rtnl_htb_set_ceil64(struct rtnl_class *, uint64_t);
[all …]
Dhfsc.h29 extern int rtnl_class_hfsc_get_rsc(const struct rtnl_class *cls, struct tc_service_curve *tsc);
30 extern int rtnl_class_hfsc_set_rsc(struct rtnl_class *cls, const struct tc_service_curve *tsc);
31 extern int rtnl_class_hfsc_get_fsc(const struct rtnl_class *cls, struct tc_service_curve *tsc);
32 extern int rtnl_class_hfsc_set_fsc(struct rtnl_class *cls, const struct tc_service_curve *tsc);
33 extern int rtnl_class_hfsc_get_usc(const struct rtnl_class *cls, struct tc_service_curve *tsc);
34 extern int rtnl_class_hfsc_set_usc(struct rtnl_class *cls, const struct tc_service_curve *tsc);
Ddsmark.h23 extern int rtnl_class_dsmark_set_bitmask(struct rtnl_class *, uint8_t);
24 extern int rtnl_class_dsmark_get_bitmask(struct rtnl_class *);
26 extern int rtnl_class_dsmark_set_value(struct rtnl_class *, uint8_t);
27 extern int rtnl_class_dsmark_get_value(struct rtnl_class *);
/third_party/libnl/include/netlink/route/
Dclass.h23 struct rtnl_class;
25 extern struct rtnl_class *
27 extern void rtnl_class_put(struct rtnl_class *);
31 extern struct rtnl_class *
34 extern struct rtnl_class *
38 rtnl_class_leaf_qdisc(struct rtnl_class *,
41 extern int rtnl_class_build_add_request(struct rtnl_class *, int,
43 extern int rtnl_class_add(struct nl_sock *, struct rtnl_class *,
46 extern int rtnl_class_build_delete_request(struct rtnl_class *,
49 struct rtnl_class *);
[all …]
/third_party/libnl/lib/route/
Dclass.c33 struct rtnl_class *class = (struct rtnl_class *) tc; in class_dump_details()
45 struct rtnl_class *class; in class_msg_parser()
77 struct rtnl_class *rtnl_class_alloc(void) in rtnl_class_alloc()
85 return (struct rtnl_class *) tc; in rtnl_class_alloc()
88 void rtnl_class_put(struct rtnl_class *class) in rtnl_class_put()
101 static int class_build(struct rtnl_class *class, int type, int flags, in class_build()
130 int rtnl_class_build_add_request(struct rtnl_class *class, int flags, in rtnl_class_build_add_request()
172 int rtnl_class_add(struct nl_sock *sk, struct rtnl_class *class, int flags) in rtnl_class_add()
196 int rtnl_class_build_delete_request(struct rtnl_class *class, struct nl_msg **result) in rtnl_class_build_delete_request()
253 int rtnl_class_delete(struct nl_sock *sk, struct rtnl_class *class) in rtnl_class_delete()
[all …]
Dqdisc.c454 struct rtnl_class *filter; in rtnl_qdisc_foreach_child()
/third_party/libnl/python/netlink/route/
Dcapi.i346 struct nl_object *class2obj(struct rtnl_class *cl) in class2obj()
351 struct rtnl_class *obj2class(struct nl_object *obj) in obj2class()
353 return (struct rtnl_class *) obj; in obj2class()
418 extern uint32_t rtnl_htb_get_prio(struct rtnl_class *);
419 extern int rtnl_htb_set_prio(struct rtnl_class *, uint32_t);
420 extern uint32_t rtnl_htb_get_rate(struct rtnl_class *);
421 extern int rtnl_htb_set_rate(struct rtnl_class *, uint32_t);
422 extern uint32_t rtnl_htb_get_ceil(struct rtnl_class *);
423 extern int rtnl_htb_set_ceil(struct rtnl_class *, uint32_t);
424 extern uint32_t rtnl_htb_get_rbuffer(struct rtnl_class *);
[all …]
/third_party/libnl/lib/route/qdisc/
Dhtb.c294 static struct rtnl_htb_class *htb_class_data(struct rtnl_class *class, int *err) in htb_class_data()
374 uint32_t rtnl_htb_get_prio(struct rtnl_class *class) in rtnl_htb_get_prio()
385 int rtnl_htb_set_prio(struct rtnl_class *class, uint32_t prio) in rtnl_htb_set_prio()
407 uint32_t rtnl_htb_get_rate(struct rtnl_class *class) in rtnl_htb_get_rate()
428 int rtnl_htb_get_rate64(struct rtnl_class *class, uint64_t *out_rate64) in rtnl_htb_get_rate64()
448 int rtnl_htb_set_rate(struct rtnl_class *class, uint32_t rate) in rtnl_htb_set_rate()
460 int rtnl_htb_set_rate64(struct rtnl_class *class, uint64_t rate) in rtnl_htb_set_rate64()
483 uint32_t rtnl_htb_get_ceil(struct rtnl_class *class) in rtnl_htb_get_ceil()
504 int rtnl_htb_get_ceil64(struct rtnl_class *class, uint64_t *out_ceil64) in rtnl_htb_get_ceil64()
524 int rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil) in rtnl_htb_set_ceil()
[all …]
Dhfsc.c183 static struct rtnl_hfsc_class *hfsc_class_data(const struct rtnl_class *class, int *err) in hfsc_class_data()
232 int rtnl_class_hfsc_get_rsc(const struct rtnl_class *class, struct tc_service_curve *tsc) in rtnl_class_hfsc_get_rsc()
246 int rtnl_class_hfsc_set_rsc(struct rtnl_class *class, const struct tc_service_curve *tsc) in rtnl_class_hfsc_set_rsc()
260 int rtnl_class_hfsc_get_fsc(const struct rtnl_class *class, struct tc_service_curve *tsc) in rtnl_class_hfsc_get_fsc()
274 int rtnl_class_hfsc_set_fsc(struct rtnl_class *class, const struct tc_service_curve *tsc) in rtnl_class_hfsc_set_fsc()
288 int rtnl_class_hfsc_get_usc(const struct rtnl_class *class, struct tc_service_curve *tsc) in rtnl_class_hfsc_get_usc()
302 int rtnl_class_hfsc_set_usc(struct rtnl_class *class, const struct tc_service_curve *tsc) in rtnl_class_hfsc_set_usc()
Ddsmark.c191 int rtnl_class_dsmark_set_bitmask(struct rtnl_class *class, uint8_t mask) in rtnl_class_dsmark_set_bitmask()
209 int rtnl_class_dsmark_get_bitmask(struct rtnl_class *class) in rtnl_class_dsmark_get_bitmask()
228 int rtnl_class_dsmark_set_value(struct rtnl_class *class, uint8_t value) in rtnl_class_dsmark_set_value()
246 int rtnl_class_dsmark_get_value(struct rtnl_class *class) in rtnl_class_dsmark_get_value()
/third_party/libnl/src/lib/
Dclass.c22 struct rtnl_class *nl_cli_class_alloc(void) in nl_cli_class_alloc()
24 struct rtnl_class *class; in nl_cli_class_alloc()
/third_party/libnl/src/
Dnl-tctree-list.c47 struct rtnl_class *class = (struct rtnl_class *) obj; in print_class()
70 struct rtnl_class *filter; in print_tc_childs()
Dnl-class-list.c50 static void __dump_class(int ifindex, struct rtnl_class *filter) in __dump_class()
67 struct rtnl_class *class; in main()
Dnl-class-delete.c50 struct rtnl_class *class = nl_object_priv(obj); in delete_cb()
73 struct rtnl_class *class; in main()
Dnl-class-add.c57 struct rtnl_class *class; in main()
Dnl-qdisc-list.c71 struct rtnl_class *filter = nl_cli_class_alloc(); in list_classes()
/third_party/libnl/lib/cli/qdisc/
Dhtb.c89 struct rtnl_class *class = (struct rtnl_class *) tc; in htb_parse_class_argv()
Dhfsc.c147 struct rtnl_class *class = (struct rtnl_class *) tc; in hfsc_parse_class_argv()
/third_party/libnl/include/netlink/cli/
Dclass.h18 extern struct rtnl_class *nl_cli_class_alloc(void);
/third_party/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c341 struct rtnl_class *class; in class_add_HTB()
363 rtnl_htb_set_prio((struct rtnl_class *)class, prio); in class_add_HTB()
400 struct rtnl_class *class; in class_add_HTB_root()
403 class = (struct rtnl_class *)rtnl_class_alloc(); in class_add_HTB_root()
/third_party/libnl/doc/
Droute.txt1878 uint32_t rtnl_htb_get_prio(struct rtnl_class *class);
1879 int rtnl_htb_set_prio(struct rtnl_class *class, uint32_t prio);
1889 uint32_t rtnl_htb_get_rate(struct rtnl_class *class);
1890 int rtnl_htb_set_rate(struct rtnl_class *class, uint32_t ceil);
1902 uint32_t rtnl_htb_get_ceil(struct rtnl_class *class);
1903 int rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil);
1911 uint32_t rtnl_htb_get_rbuffer(struct rtnl_class *class);
1912 int rtnl_htb_set_rbuffer(struct rtnl_class *class, uint32_t burst);
1920 uint32_t rtnl_htb_get_bbuffer(struct rtnl_class *class);
1921 int rtnl_htb_set_bbuffer(struct rtnl_class *class, uint32_t burst);
[all …]
/third_party/libnl/include/netlink-private/
Dtypes.h559 struct rtnl_class struct