Home
last modified time | relevance | path

Searched refs:rtnl_cls (Results 1 – 23 of 23) sorted by relevance

/external/libnl/include/netlink/route/
Dclassifier.h26 extern struct rtnl_cls *rtnl_cls_alloc(void);
27 extern void rtnl_cls_put(struct rtnl_cls *);
32 extern int rtnl_cls_build_add_request(struct rtnl_cls *, int,
34 extern int rtnl_cls_add(struct nl_sock *, struct rtnl_cls *, int);
36 extern int rtnl_cls_build_change_request(struct rtnl_cls *, int,
38 extern int rtnl_cls_build_delete_request(struct rtnl_cls *, int,
40 extern int rtnl_cls_delete(struct nl_sock *, struct rtnl_cls *, int);
42 extern void rtnl_cls_set_ifindex(struct rtnl_cls *, int);
43 extern int rtnl_cls_get_ifindex(struct rtnl_cls *);
44 extern void rtnl_cls_set_handle(struct rtnl_cls *, uint32_t);
[all …]
Dclassifier-modules.h41 void (*co_dump[NL_DUMP_MAX+1])(struct rtnl_cls *,
46 int (*co_get_opts)(struct rtnl_cls *, struct nl_msg *);
51 int (*co_msg_parser)(struct rtnl_cls *);
56 void (*co_free_data)(struct rtnl_cls *);
61 int (*co_clone)(struct rtnl_cls *, struct rtnl_cls *);
71 extern struct rtnl_cls_ops * rtnl_cls_lookup_ops(struct rtnl_cls *);
/external/libnl/lib/route/
Dcls_obj.c34 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_free_data()
48 struct rtnl_cls *dst = nl_object_priv(_dst); in cls_clone()
49 struct rtnl_cls *src = nl_object_priv(_src); in cls_clone()
74 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_dump_line()
90 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_dump_details()
105 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in cls_dump_stats()
122 struct rtnl_cls *rtnl_cls_alloc(void) in rtnl_cls_alloc()
124 return (struct rtnl_cls *) nl_object_alloc(&cls_obj_ops); in rtnl_cls_alloc()
127 void rtnl_cls_put(struct rtnl_cls *cls) in rtnl_cls_put()
140 void rtnl_cls_set_ifindex(struct rtnl_cls *f, int ifindex) in rtnl_cls_set_ifindex()
[all …]
Dcls.c42 struct rtnl_cls *cls; in cls_msg_parser()
83 static int cls_build(struct rtnl_cls *cls, int type, int flags, in cls_build()
142 int rtnl_cls_build_add_request(struct rtnl_cls *cls, int flags, in rtnl_cls_build_add_request()
160 int rtnl_cls_add(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_add()
189 int rtnl_cls_build_change_request(struct rtnl_cls *cls, int flags, in rtnl_cls_build_change_request()
207 int rtnl_cls_change(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_change()
236 int rtnl_cls_build_delete_request(struct rtnl_cls *cls, int flags, in rtnl_cls_build_delete_request()
255 int rtnl_cls_delete(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_delete()
Dcls_api.c92 struct rtnl_cls_ops *rtnl_cls_lookup_ops(struct rtnl_cls *cls) in rtnl_cls_lookup_ops()
Dqdisc_obj.c163 struct rtnl_cls *filter; in rtnl_qdisc_foreach_cls()
Dclass_obj.c197 struct rtnl_cls *filter; in rtnl_class_foreach_cls()
/external/libnl/include/netlink/route/cls/
Du32.h22 extern void rtnl_u32_set_handle(struct rtnl_cls *, int, int, int);
23 extern int rtnl_u32_set_classid(struct rtnl_cls *, uint32_t);
25 extern int rtnl_u32_set_flags(struct rtnl_cls *, int);
26 extern int rtnl_u32_add_key(struct rtnl_cls *, uint32_t, uint32_t,
28 extern int rtnl_u32_add_key_uint8(struct rtnl_cls *, uint8_t, uint8_t,
30 extern int rtnl_u32_add_key_uint16(struct rtnl_cls *, uint16_t, uint16_t,
32 extern int rtnl_u32_add_key_uint32(struct rtnl_cls *, uint32_t, uint32_t,
34 extern int rtnl_u32_add_key_in_addr(struct rtnl_cls *, struct in_addr *,
36 extern int rtnl_u32_add_key_in6_addr(struct rtnl_cls *, struct in6_addr *,
Dbasic.h22 extern int rtnl_basic_set_classid(struct rtnl_cls *, uint32_t);
23 extern uint32_t rtnl_basic_get_classid(struct rtnl_cls *);
24 extern int rtnl_basic_set_ematch(struct rtnl_cls *,
27 rtnl_basic_get_ematch(struct rtnl_cls *);
Dcgroup.h22 extern int rtnl_cgroup_set_ematch(struct rtnl_cls *,
25 rtnl_cgroup_get_ematch(struct rtnl_cls *);
Dfw.h23 extern int rtnl_fw_set_classid(struct rtnl_cls *, uint32_t);
/external/libnl/src/cls/
Dutils.h22 void (*parse_argv)(struct rtnl_cls *, int, char **);
42 extern struct rtnl_cls *nlt_alloc_cls(void);
43 extern void parse_dev(struct rtnl_cls *, struct nl_cache *, char *);
44 extern void parse_prio(struct rtnl_cls *, char *);
45 extern void parse_parent(struct rtnl_cls *, char *);
46 extern void parse_handle(struct rtnl_cls *, char *);
47 extern void parse_proto(struct rtnl_cls *, char *);
Dutils.c13 struct rtnl_cls *nlt_alloc_cls(void) in nlt_alloc_cls()
15 struct rtnl_cls *cls; in nlt_alloc_cls()
24 void parse_dev(struct rtnl_cls *cls, struct nl_cache *link_cache, char *arg) in parse_dev()
34 void parse_prio(struct rtnl_cls *cls, char *arg) in parse_prio()
40 void parse_parent(struct rtnl_cls *cls, char *arg) in parse_parent()
52 void parse_handle(struct rtnl_cls *cls, char *arg) in parse_handle()
64 void parse_proto(struct rtnl_cls *cls, char *arg) in parse_proto()
Dcgroup.c28 static void basic_parse_argv(struct rtnl_cls *cls, int argc, char **argv) in basic_parse_argv()
Dbasic.c28 static void basic_parse_argv(struct rtnl_cls *cls, int argc, char **argv) in basic_parse_argv()
/external/libnl/lib/route/cls/
Dbasic.c52 static int basic_clone(struct rtnl_cls *_dst, struct rtnl_cls *_src) in basic_clone()
57 static void basic_free_data(struct rtnl_cls *cls) in basic_free_data()
64 static int basic_msg_parser(struct rtnl_cls *cls) in basic_msg_parser()
99 static void basic_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in basic_dump_line()
114 static void basic_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in basic_dump_details()
126 static int basic_get_opts(struct rtnl_cls *cls, struct nl_msg *msg) in basic_get_opts()
146 int rtnl_basic_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_basic_set_classid()
156 uint32_t rtnl_basic_get_classid(struct rtnl_cls *cls) in rtnl_basic_get_classid()
163 int rtnl_basic_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_basic_set_ematch()
180 struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *cls) in rtnl_basic_get_ematch()
Du32.c67 static int u32_msg_parser(struct rtnl_cls *cls) in u32_msg_parser()
154 static void u32_free_data(struct rtnl_cls *cls) in u32_free_data()
164 static int u32_clone(struct rtnl_cls *_dst, struct rtnl_cls *_src) in u32_clone()
185 static void u32_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in u32_dump_line()
198 struct rtnl_cls *cls, struct rtnl_u32 *u) in print_selector()
256 static void u32_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in u32_dump_details()
292 static void u32_dump_stats(struct rtnl_cls *cls, struct nl_dump_params *p) in u32_dump_stats()
304 static int u32_get_opts(struct rtnl_cls *cls, struct nl_msg *msg) in u32_get_opts()
343 void rtnl_u32_set_handle(struct rtnl_cls *cls, int htid, int hash, in rtnl_u32_set_handle()
351 int rtnl_u32_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_u32_set_classid()
[all …]
Dfw.c41 static int fw_msg_parser(struct rtnl_cls *cls) in fw_msg_parser()
78 static void fw_free_data(struct rtnl_cls *cls) in fw_free_data()
86 static int fw_clone(struct rtnl_cls *_dst, struct rtnl_cls *_src) in fw_clone()
100 static void fw_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in fw_dump_line()
110 static void fw_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in fw_dump_details()
118 static int fw_get_opts(struct rtnl_cls *cls, struct nl_msg *msg) in fw_get_opts()
145 int rtnl_fw_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_fw_set_classid()
Dcgroup.c37 static void cgroup_free_data(struct rtnl_cls *cls) in cgroup_free_data()
44 static int cgroup_msg_parser(struct rtnl_cls *cls) in cgroup_msg_parser()
71 static void cgroup_dump_line(struct rtnl_cls *cls, struct nl_dump_params *p) in cgroup_dump_line()
81 static void cgroup_dump_details(struct rtnl_cls *cls, struct nl_dump_params *p) in cgroup_dump_details()
97 int rtnl_cgroup_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_cgroup_set_ematch()
114 struct rtnl_ematch_tree *rtnl_cgroup_get_ematch(struct rtnl_cls *cls) in rtnl_cgroup_get_ematch()
/external/libnl/src/
Dnl-cls-delete.c42 struct rtnl_cls *cls = (struct rtnl_cls *) obj; in delete_cb()
67 struct rtnl_cls *cls; in main()
Dnl-cls-list.c15 static struct rtnl_cls *cls;
Dnl-cls-add.c38 struct rtnl_cls *cls; in main()
/external/libnl/include/
Dnetlink-types.h477 struct rtnl_cls struct