Home
last modified time | relevance | path

Searched refs:rtnl_tc (Results 1 – 25 of 53) sorted by relevance

123

/external/libnl/include/netlink/route/
Dtc.h46 struct rtnl_tc;
56 #define TC_CAST(ptr) ((struct rtnl_tc *) (ptr))
81 extern void rtnl_tc_set_ifindex(struct rtnl_tc *, int);
82 extern int rtnl_tc_get_ifindex(struct rtnl_tc *);
83 extern void rtnl_tc_set_link(struct rtnl_tc *, struct rtnl_link *);
84 extern struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *);
85 extern void rtnl_tc_set_mtu(struct rtnl_tc *, uint32_t);
86 extern uint32_t rtnl_tc_get_mtu(struct rtnl_tc *);
87 extern void rtnl_tc_set_mpu(struct rtnl_tc *, uint32_t);
88 extern uint32_t rtnl_tc_get_mpu(struct rtnl_tc *);
[all …]
/external/libnl/include/netlink-private/route/
Dtc-api.h51 void (*to_dump[NL_DUMP_MAX+1])(struct rtnl_tc *, void *,
56 int (*to_msg_fill)(struct rtnl_tc *, void *, struct nl_msg *);
63 int (*to_msg_fill_raw)(struct rtnl_tc *, void *, struct nl_msg *);
68 int (*to_msg_parser)(struct rtnl_tc *, void *);
73 void (*to_free_data)(struct rtnl_tc *, void *);
95 void (*tt_dump[NL_DUMP_MAX+1])(struct rtnl_tc *,
100 struct rtnl_tc *);
101 extern int rtnl_tc_msg_build(struct rtnl_tc *, int,
117 extern void * rtnl_tc_data(struct rtnl_tc *);
118 extern void * rtnl_tc_data_check(struct rtnl_tc *,
[all …]
/external/libnl/include/netlink/cli/
Dtc.h19 extern void nl_cli_tc_parse_dev(struct rtnl_tc *, struct nl_cache *, char *);
20 extern void nl_cli_tc_parse_parent(struct rtnl_tc *, char *);
21 extern void nl_cli_tc_parse_handle(struct rtnl_tc *, char *, int);
22 extern void nl_cli_tc_parse_mtu(struct rtnl_tc *, char *);
23 extern void nl_cli_tc_parse_mpu(struct rtnl_tc *, char *);
24 extern void nl_cli_tc_parse_overhead(struct rtnl_tc *, char *);
25 extern void nl_cli_tc_parse_linktype(struct rtnl_tc *, char *);
26 extern void nl_cli_tc_parse_kind(struct rtnl_tc *, char *);
33 void (*tm_parse_argv)(struct rtnl_tc *, int, char **);
/external/libnl/lib/route/
Dtc.c39 int tca_parse(struct nlattr **tb, int maxattr, struct rtnl_tc *g, in tca_parse()
61 int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc) in rtnl_tc_msg_parse()
193 int rtnl_tc_msg_build(struct rtnl_tc *tc, int type, int flags, in rtnl_tc_msg_build()
241 void tca_set_kind(struct rtnl_tc *t, const char *kind) in tca_set_kind()
265 void rtnl_tc_set_ifindex(struct rtnl_tc *tc, int ifindex) in rtnl_tc_set_ifindex()
280 int rtnl_tc_get_ifindex(struct rtnl_tc *tc) in rtnl_tc_get_ifindex()
297 void rtnl_tc_set_link(struct rtnl_tc *tc, struct rtnl_link *link) in rtnl_tc_set_link()
328 struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *tc) in rtnl_tc_get_link()
351 void rtnl_tc_set_mtu(struct rtnl_tc *tc, uint32_t mtu) in rtnl_tc_set_mtu()
366 uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) in rtnl_tc_get_mtu()
[all …]
Dact.c70 struct rtnl_tc *tc = TC_CAST(act); in rtnl_act_fill_one()
172 struct rtnl_tc *tc; in rtnl_act_alloc()
368 static void act_dump_line(struct rtnl_tc *tc, struct nl_dump_params *p) in act_dump_line()
400 struct rtnl_tc *tc; in rtnl_act_parse()
461 struct rtnl_tc *tc = TC_CAST(*act); in rtnl_act_msg_parse()
/external/libnl/python/netlink/route/
Dcapi.i304 extern void rtnl_tc_set_ifindex(struct rtnl_tc *, int);
305 extern int rtnl_tc_get_ifindex(struct rtnl_tc *);
306 extern void rtnl_tc_set_link(struct rtnl_tc *, struct rtnl_link *);
307 extern struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *);
308 extern void rtnl_tc_set_mtu(struct rtnl_tc *, uint32_t);
309 extern uint32_t rtnl_tc_get_mtu(struct rtnl_tc *);
310 extern void rtnl_tc_set_mpu(struct rtnl_tc *, uint32_t);
311 extern uint32_t rtnl_tc_get_mpu(struct rtnl_tc *);
312 extern void rtnl_tc_set_overhead(struct rtnl_tc *, uint32_t);
313 extern uint32_t rtnl_tc_get_overhead(struct rtnl_tc *);
[all …]
/external/libnl/src/lib/
Dtc.c21 void nl_cli_tc_parse_dev(struct rtnl_tc *tc, struct nl_cache *link_cache, char *name) in nl_cli_tc_parse_dev()
33 void nl_cli_tc_parse_parent(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_parent()
45 void nl_cli_tc_parse_handle(struct rtnl_tc *tc, char *arg, int create) in nl_cli_tc_parse_handle()
64 void nl_cli_tc_parse_mtu(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_mtu()
69 void nl_cli_tc_parse_mpu(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_mpu()
74 void nl_cli_tc_parse_overhead(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_overhead()
79 void nl_cli_tc_parse_kind(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_kind()
84 void nl_cli_tc_parse_linktype(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_linktype()
/external/libnl/src/
Dnl-qdisc-list.c57 struct rtnl_tc *tc = nl_object_priv(obj); in list_class()
71 rtnl_tc_set_parent((struct rtnl_tc *) filter, parent); in list_classes()
96 struct rtnl_tc *tc = (struct rtnl_tc *) qdisc; in list_qdisc()
117 rtnl_tc_set_ifindex((struct rtnl_tc *) filter, ifindex); in list_qdiscs()
118 rtnl_tc_set_parent((struct rtnl_tc *) filter, parent); in list_qdiscs()
130 struct rtnl_tc *tc; in main()
139 tc = (struct rtnl_tc *) qdisc; in main()
Dnl-tctree-list.c26 static void print_tc_childs(struct rtnl_tc *, void *);
46 uint32_t parent = rtnl_tc_get_handle((struct rtnl_tc *) class); in print_class()
65 static void print_tc_childs(struct rtnl_tc *tc, void *arg) in print_tc_childs()
83 uint32_t parent = rtnl_tc_get_handle((struct rtnl_tc *) qdisc); in print_qdisc()
Dnl-cls-list.c52 uint32_t parent = rtnl_tc_get_parent((struct rtnl_tc *) filter); in __dump_link()
69 struct rtnl_tc *tc; in main()
77 tc = (struct rtnl_tc *) cls; in main()
Dnl-qdisc-delete.c51 if (rtnl_tc_get_handle((struct rtnl_tc *) qdisc) == 0) in delete_cb()
71 struct rtnl_tc *tc; in main()
80 tc = (struct rtnl_tc *) qdisc; in main()
Dnl-cls-delete.c74 uint32_t parent = rtnl_tc_get_parent((struct rtnl_tc *) filter); in __delete_link()
91 struct rtnl_tc *tc; in main()
99 tc = (struct rtnl_tc *) cls; in main()
/external/libnl/lib/route/cls/
Dcgroup.c42 static void cgroup_free_data(struct rtnl_tc *tc, void *data) in cgroup_free_data()
52 static int cgroup_msg_parser(struct rtnl_tc *tc, void *data) in cgroup_msg_parser()
78 static void cgroup_dump_line(struct rtnl_tc *tc, void *data, in cgroup_dump_line()
92 static void cgroup_dump_details(struct rtnl_tc *tc, void *data, in cgroup_dump_details()
111 static int cgroup_fill_msg(struct rtnl_tc *tc, void *data, in cgroup_fill_msg()
Dfw.c43 static int fw_msg_parser(struct rtnl_tc *tc, void *data) in fw_msg_parser()
85 static void fw_free_data(struct rtnl_tc *tc, void *data) in fw_free_data()
106 static void fw_dump_line(struct rtnl_tc *tc, void *data, in fw_dump_line()
125 static void fw_dump_details(struct rtnl_tc *tc, void *data, in fw_dump_details()
134 static int fw_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in fw_msg_fill()
Dbasic.c58 static void basic_free_data(struct rtnl_tc *tc, void *data) in basic_free_data()
70 static int basic_msg_parser(struct rtnl_tc *tc, void *data) in basic_msg_parser()
103 static void basic_dump_line(struct rtnl_tc *tc, void *data, in basic_dump_line()
122 static void basic_dump_details(struct rtnl_tc *tc, void *data, in basic_dump_details()
137 static int basic_msg_fill(struct rtnl_tc *tc, void *data, in basic_msg_fill()
/external/libnl/lib/route/act/
Dmirred.c31 static int mirred_msg_parser(struct rtnl_tc *tc, void *data) in mirred_msg_parser()
48 static void mirred_free_data(struct rtnl_tc *tc, void *data) in mirred_free_data()
60 static void mirred_dump_line(struct rtnl_tc *tc, void *data, in mirred_dump_line()
96 static void mirred_dump_details(struct rtnl_tc *tc, void *data, in mirred_dump_details()
101 static void mirred_dump_stats(struct rtnl_tc *tc, void *data, in mirred_dump_stats()
112 static int mirred_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in mirred_msg_fill()
/external/libnl/lib/route/qdisc/
Dred.c41 static int red_msg_parser(struct rtnl_tc *tc, void *data) in red_msg_parser()
75 static void red_dump_line(struct rtnl_tc *tc, void *data, in red_dump_line()
85 static void red_dump_details(struct rtnl_tc *tc, void *data, in red_dump_details()
95 static void red_dump_stats(struct rtnl_tc *tc, void *data, in red_dump_stats()
105 static int red_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in red_msg_fill()
Dingress.c30 static int dumb_msg_parser(struct rtnl_tc *tc, void *data) in dumb_msg_parser()
35 static void dumb_dump_line(struct rtnl_tc *tc, void *data, in dumb_dump_line()
40 static int dumb_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in dumb_msg_fill()
Ddsmark.c45 static int dsmark_qdisc_msg_parser(struct rtnl_tc *tc, void *data) in dsmark_qdisc_msg_parser()
74 static int dsmark_class_msg_parser(struct rtnl_tc *tc, void *data) in dsmark_class_msg_parser()
97 static void dsmark_qdisc_dump_line(struct rtnl_tc *tc, void *data, in dsmark_qdisc_dump_line()
106 static void dsmark_qdisc_dump_details(struct rtnl_tc *tc, void *data, in dsmark_qdisc_dump_details()
121 static void dsmark_class_dump_line(struct rtnl_tc *tc, void *data, in dsmark_class_dump_line()
136 static int dsmark_qdisc_msg_fill(struct rtnl_tc *tc, void *data, in dsmark_qdisc_msg_fill()
160 static int dsmark_class_msg_fill(struct rtnl_tc *tc, void *data, in dsmark_class_msg_fill()
Dfifo.c44 static int fifo_msg_parser(struct rtnl_tc *tc, void *data) in fifo_msg_parser()
59 static void pfifo_dump_line(struct rtnl_tc *tc, void *data, in pfifo_dump_line()
68 static void bfifo_dump_line(struct rtnl_tc *tc, void *data, in bfifo_dump_line()
82 static int fifo_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in fifo_msg_fill()
Dsfq.c42 static int sfq_msg_parser(struct rtnl_tc *tc, void *data) in sfq_msg_parser()
68 static void sfq_dump_line(struct rtnl_tc *tc, void *data, in sfq_dump_line()
78 static void sfq_dump_details(struct rtnl_tc *tc, void *data, in sfq_dump_details()
88 static int sfq_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in sfq_msg_fill()
Dprio.c42 static int prio_msg_parser(struct rtnl_tc *tc, void *data) in prio_msg_parser()
58 static void prio_dump_line(struct rtnl_tc *tc, void *data, in prio_dump_line()
67 static void prio_dump_details(struct rtnl_tc *tc, void *data, in prio_dump_details()
104 static int prio_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in prio_msg_fill()
Dcbq.c75 static int cbq_msg_parser(struct rtnl_tc *tc, void *data) in cbq_msg_parser()
97 static void cbq_dump_line(struct rtnl_tc *tc, void *data, in cbq_dump_line()
114 static void cbq_dump_details(struct rtnl_tc *tc, void *data, in cbq_dump_details()
154 static void cbq_dump_stats(struct rtnl_tc *tc, void *data, in cbq_dump_stats()
Dhtb.c50 static int htb_qdisc_msg_parser(struct rtnl_tc *tc, void *data) in htb_qdisc_msg_parser()
73 static int htb_class_msg_parser(struct rtnl_tc *tc, void *data) in htb_class_msg_parser()
108 static void htb_qdisc_dump_line(struct rtnl_tc *tc, void *data, in htb_qdisc_dump_line()
126 static void htb_class_dump_line(struct rtnl_tc *tc, void *data, in htb_class_dump_line()
146 static void htb_class_dump_details(struct rtnl_tc *tc, void *data, in htb_class_dump_details()
189 static int htb_qdisc_msg_fill(struct rtnl_tc *tc, void *data, in htb_qdisc_msg_fill()
209 static int htb_class_msg_fill(struct rtnl_tc *tc, void *data, in htb_class_msg_fill()
/external/libnl/include/netlink-private/
Dtc.h37 extern int tca_parse(struct nlattr **, int, struct rtnl_tc *,
42 extern int rtnl_tc_build_rate_table(struct rtnl_tc *tc, struct rtnl_ratespec *,
46 static inline void *tca_xstats(struct rtnl_tc *tca) in tca_xstats()

123