Home
last modified time | relevance | path

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

/external/libnl/include/netlink/route/
Dclass.h23 struct rtnl_class;
27 extern struct rtnl_class * rtnl_class_alloc(void);
28 extern void rtnl_class_put(struct rtnl_class *);
31 extern struct rtnl_class *rtnl_class_get(struct nl_cache *, int, uint32_t);
34 extern struct rtnl_qdisc * rtnl_class_leaf_qdisc(struct rtnl_class *,
37 extern int rtnl_class_build_add_request(struct rtnl_class *, int,
39 extern int rtnl_class_add(struct nl_sock *, struct rtnl_class *,
42 extern int rtnl_class_build_delete_request(struct rtnl_class *,
44 extern int rtnl_class_delete(struct nl_sock *, struct rtnl_class *);
46 extern void rtnl_class_set_ifindex(struct rtnl_class *, int);
[all …]
Dclass-modules.h35 void (*co_dump[NL_DUMP_MAX+1])(struct rtnl_class *,
41 struct nl_msg *(*co_get_opts)(struct rtnl_class *);
46 int (*co_msg_parser)(struct rtnl_class *);
51 void (*co_free_data)(struct rtnl_class *);
56 int (*co_clone)(struct rtnl_class *, struct rtnl_class *);
66 extern struct rtnl_class_ops * rtnl_class_lookup_ops(struct rtnl_class *);
/external/libnl/lib/route/
Dclass_obj.c30 struct rtnl_class *class = (struct rtnl_class *) obj; in class_free_data()
42 struct rtnl_class *dst = nl_object_priv(_dst); in class_clone()
43 struct rtnl_class *src = nl_object_priv(_src); in class_clone()
60 struct rtnl_class *class = (struct rtnl_class *) obj; in class_dump_line()
73 struct rtnl_class *class = (struct rtnl_class *) obj; in class_dump_details()
96 struct rtnl_class *class = (struct rtnl_class *) obj; in class_dump_stats()
113 struct rtnl_class *rtnl_class_alloc(void) in rtnl_class_alloc()
115 return (struct rtnl_class *) nl_object_alloc(&class_obj_ops); in rtnl_class_alloc()
118 void rtnl_class_put(struct rtnl_class *class) in rtnl_class_put()
137 struct rtnl_qdisc *rtnl_class_leaf_qdisc(struct rtnl_class *class, in rtnl_class_leaf_qdisc()
[all …]
Dclass.c34 struct rtnl_class *class; in class_msg_parser()
78 static int class_build(struct rtnl_class *class, int type, int flags, in class_build()
123 int rtnl_class_build_add_request(struct rtnl_class *class, int flags, in rtnl_class_build_add_request()
144 int rtnl_class_add(struct nl_sock *sk, struct rtnl_class *class, int flags) in rtnl_class_add()
160 int rtnl_class_build_delete_request(struct rtnl_class *class, in rtnl_class_build_delete_request()
198 int rtnl_class_delete(struct nl_sock *sk, struct rtnl_class *class) in rtnl_class_delete()
260 struct rtnl_class *rtnl_class_get(struct nl_cache *cache, int ifindex, in rtnl_class_get()
263 struct rtnl_class *class; in rtnl_class_get()
Dclass_api.c91 struct rtnl_class_ops *rtnl_class_lookup_ops(struct rtnl_class *class) in rtnl_class_lookup_ops()
Dqdisc_obj.c137 struct rtnl_class *filter; in rtnl_qdisc_foreach_child()
/external/libnl/include/netlink/route/sch/
Dhtb.h27 extern void rtnl_htb_set_prio(struct rtnl_class *, uint32_t);
28 extern void rtnl_htb_set_mtu(struct rtnl_class *, uint32_t);
29 extern void rtnl_htb_set_rate(struct rtnl_class *, uint32_t);
30 extern void rtnl_htb_set_ceil(struct rtnl_class *, uint32_t);
31 extern void rtnl_htb_set_rbuffer(struct rtnl_class *, uint32_t);
32 extern void rtnl_htb_set_cbuffer(struct rtnl_class *, uint32_t);
33 extern void rtnl_htb_set_quantum(struct rtnl_class *, uint32_t quantum);
34 extern void rtnl_htb_set_overhead(struct rtnl_class *, uint8_t overhead);
35 extern void rtnl_htb_set_mpu(struct rtnl_class *, uint8_t mpu);
Ddsmark.h21 extern int rtnl_class_dsmark_set_bmask(struct rtnl_class *, uint8_t);
22 extern int rtnl_class_dsmark_get_bmask(struct rtnl_class *);
24 extern int rtnl_class_dsmark_set_value(struct rtnl_class *, uint8_t);
25 extern int rtnl_class_dsmark_get_value(struct rtnl_class *);
/external/libnl/lib/route/sch/
Dhtb.c92 static inline struct rtnl_htb_class *htb_class(struct rtnl_class *class) in htb_class()
100 static int htb_class_msg_parser(struct rtnl_class *class) in htb_class_msg_parser()
134 static void htb_class_free_data(struct rtnl_class *class) in htb_class_free_data()
157 static void htb_class_dump_line(struct rtnl_class *class, in htb_class_dump_line()
177 static void htb_class_dump_details(struct rtnl_class *class, in htb_class_dump_details()
266 static struct nl_msg *htb_class_get_opts(struct rtnl_class *class) in htb_class_get_opts()
378 void rtnl_htb_set_prio(struct rtnl_class *class, uint32_t prio) in rtnl_htb_set_prio()
396 void rtnl_htb_set_mtu(struct rtnl_class *class, uint32_t mtu) in rtnl_htb_set_mtu()
411 void rtnl_htb_set_rate(struct rtnl_class *class, uint32_t rate) in rtnl_htb_set_rate()
427 void rtnl_htb_set_ceil(struct rtnl_class *class, uint32_t ceil) in rtnl_htb_set_ceil()
[all …]
Ddsmark.c94 static inline struct rtnl_dsmark_class *dsmark_class(struct rtnl_class *class) in dsmark_class()
100 dsmark_class_alloc(struct rtnl_class *class) in dsmark_class_alloc()
108 static int dsmark_class_msg_parser(struct rtnl_class *class) in dsmark_class_msg_parser()
160 static void dsmark_class_dump_line(struct rtnl_class *class, in dsmark_class_dump_line()
204 static struct nl_msg *dsmark_class_get_opts(struct rtnl_class *class) in dsmark_class_get_opts()
240 int rtnl_class_dsmark_set_bitmask(struct rtnl_class *class, uint8_t mask) in rtnl_class_dsmark_set_bitmask()
259 int rtnl_class_dsmark_get_bitmask(struct rtnl_class *class) in rtnl_class_dsmark_get_bitmask()
276 int rtnl_class_dsmark_set_value(struct rtnl_class *class, uint8_t value) in rtnl_class_dsmark_set_value()
295 int rtnl_class_dsmark_get_value(struct rtnl_class *class) in rtnl_class_dsmark_get_value()
Dcbq.c121 static int cbq_class_msg_parser(struct rtnl_class *class) in cbq_class_msg_parser()
146 static void cbq_class_free_data(struct rtnl_class *class) in cbq_class_free_data()
151 static int cbq_class_clone(struct rtnl_class *dst, struct rtnl_class *src) in cbq_class_clone()
179 static void cbq_class_dump_line(struct rtnl_class *class, in cbq_class_dump_line()
231 static void cbq_class_dump_details(struct rtnl_class *class, in cbq_class_dump_details()
256 static void cbq_class_dump_stats(struct rtnl_class *class, in cbq_class_dump_stats()
/external/libnl/src/
Dnl-tctree-list.c42 struct rtnl_class *class = (struct rtnl_class *) obj; in print_class()
/external/libnl/include/
Dnetlink-types.h471 struct rtnl_class struct