Home
last modified time | relevance | path

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

/third_party/libnl/include/netlink/route/cls/
Du32.h24 extern void rtnl_u32_set_handle(struct rtnl_cls *, int, int, int);
25 extern int rtnl_u32_set_classid(struct rtnl_cls *, uint32_t);
26 extern int rtnl_u32_get_classid(struct rtnl_cls *, uint32_t *);
27 extern int rtnl_u32_set_divisor(struct rtnl_cls *, uint32_t);
28 extern int rtnl_u32_set_link(struct rtnl_cls *, uint32_t);
29 extern int rtnl_u32_set_hashtable(struct rtnl_cls *, uint32_t);
30 extern int rtnl_u32_set_hashmask(struct rtnl_cls *, uint32_t, uint32_t);
31 extern int rtnl_u32_set_selector(struct rtnl_cls *, int, uint32_t, char, uint16_t, char);
32 extern int rtnl_u32_set_cls_terminal(struct rtnl_cls *);
34 extern int rtnl_u32_set_flags(struct rtnl_cls *, int);
[all …]
Dmatchall.h24 extern int rtnl_mall_set_classid(struct rtnl_cls *, uint32_t);
25 extern int rtnl_mall_get_classid(struct rtnl_cls *, uint32_t *);
26 extern int rtnl_mall_set_flags(struct rtnl_cls *, uint32_t);
27 extern int rtnl_mall_get_flags(struct rtnl_cls *, uint32_t *);
28 extern int rtnl_mall_append_action(struct rtnl_cls *, struct rtnl_act *);
29 extern struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *);
30 extern int rtnl_mall_del_action(struct rtnl_cls *, struct rtnl_act *);
Dbasic.h24 extern void rtnl_basic_set_target(struct rtnl_cls *, uint32_t);
25 extern uint32_t rtnl_basic_get_target(struct rtnl_cls *);
26 extern void rtnl_basic_set_ematch(struct rtnl_cls *,
28 extern struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *);
29 extern int rtnl_basic_add_action(struct rtnl_cls *, struct rtnl_act *);
30 extern int rtnl_basic_del_action(struct rtnl_cls *, struct rtnl_act *);
31 extern struct rtnl_act* rtnl_basic_get_action(struct rtnl_cls *);
Dcgroup.h24 extern void rtnl_cgroup_set_ematch(struct rtnl_cls *,
26 struct rtnl_ematch_tree * rtnl_cgroup_get_ematch(struct rtnl_cls *);
Dfw.h24 extern int rtnl_fw_set_classid(struct rtnl_cls *, uint32_t);
25 extern int rtnl_fw_set_mask(struct rtnl_cls *, uint32_t);
/third_party/libnl/include/netlink/route/
Dclassifier.h24 extern struct rtnl_cls *rtnl_cls_alloc(void);
25 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);
35 extern int rtnl_cls_change(struct nl_sock *, struct rtnl_cls *, int);
37 extern int rtnl_cls_build_change_request(struct rtnl_cls *, int,
39 extern int rtnl_cls_build_delete_request(struct rtnl_cls *, int,
41 extern int rtnl_cls_delete(struct nl_sock *, struct rtnl_cls *,
44 extern void rtnl_cls_set_prio(struct rtnl_cls *, uint16_t);
45 extern uint16_t rtnl_cls_get_prio(struct rtnl_cls *);
[all …]
/third_party/libnl/lib/route/
Dcls.c36 static int cls_build(struct rtnl_cls *cls, int type, int flags, in cls_build()
65 struct rtnl_cls *rtnl_cls_alloc(void) in rtnl_cls_alloc()
73 return (struct rtnl_cls *) tc; in rtnl_cls_alloc()
76 void rtnl_cls_put(struct rtnl_cls *cls) in rtnl_cls_put()
88 void rtnl_cls_set_prio(struct rtnl_cls *cls, uint16_t prio) in rtnl_cls_set_prio()
94 uint16_t rtnl_cls_get_prio(struct rtnl_cls *cls) in rtnl_cls_get_prio()
102 void rtnl_cls_set_protocol(struct rtnl_cls *cls, uint16_t protocol) in rtnl_cls_set_protocol()
108 uint16_t rtnl_cls_get_protocol(struct rtnl_cls *cls) in rtnl_cls_get_protocol()
138 int rtnl_cls_build_add_request(struct rtnl_cls *cls, int flags, in rtnl_cls_build_add_request()
185 int rtnl_cls_add(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_add()
[all …]
Dclass.c442 struct rtnl_cls *filter; in rtnl_class_foreach_cls()
Dqdisc.c478 struct rtnl_cls *filter; in rtnl_qdisc_foreach_cls()
/third_party/libnl/lib/route/cls/
Du32.c397 void rtnl_u32_set_handle(struct rtnl_cls *cls, int htid, int hash, in rtnl_u32_set_handle()
405 int rtnl_u32_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_u32_set_classid()
418 int rtnl_u32_get_classid(struct rtnl_cls *cls, uint32_t *classid) in rtnl_u32_get_classid()
432 int rtnl_u32_set_divisor(struct rtnl_cls *cls, uint32_t divisor) in rtnl_u32_set_divisor()
444 int rtnl_u32_set_link(struct rtnl_cls *cls, uint32_t link) in rtnl_u32_set_link()
456 int rtnl_u32_set_hashtable(struct rtnl_cls *cls, uint32_t ht) in rtnl_u32_set_hashtable()
468 int rtnl_u32_set_hashmask(struct rtnl_cls *cls, uint32_t hashmask, uint32_t offset) in rtnl_u32_set_hashmask()
487 int rtnl_u32_set_selector(struct rtnl_cls *cls, int offoff, uint32_t offmask, char offshift, uint16… in rtnl_u32_set_selector()
510 int rtnl_u32_set_cls_terminal(struct rtnl_cls *cls) in rtnl_u32_set_cls_terminal()
526 int rtnl_u32_add_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_u32_add_action()
[all …]
Dbasic.c171 void rtnl_basic_set_target(struct rtnl_cls *cls, uint32_t target) in rtnl_basic_set_target()
182 uint32_t rtnl_basic_get_target(struct rtnl_cls *cls) in rtnl_basic_get_target()
192 void rtnl_basic_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_basic_set_ematch()
210 struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *cls) in rtnl_basic_get_ematch()
220 int rtnl_basic_add_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_basic_add_action()
240 struct rtnl_act* rtnl_basic_get_action(struct rtnl_cls *cls) in rtnl_basic_get_action()
253 int rtnl_basic_del_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_basic_del_action()
Dmall.c45 int rtnl_mall_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_mall_set_classid()
57 int rtnl_mall_get_classid(struct rtnl_cls *cls, uint32_t *classid) in rtnl_mall_get_classid()
71 int rtnl_mall_set_flags(struct rtnl_cls *cls, uint32_t flags) in rtnl_mall_set_flags()
84 int rtnl_mall_get_flags(struct rtnl_cls *cls, uint32_t *flags) in rtnl_mall_get_flags()
98 int rtnl_mall_append_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_mall_append_action()
118 struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *cls) in rtnl_mall_get_first_action()
135 int rtnl_mall_del_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_mall_del_action()
Dcgroup.c148 void rtnl_cgroup_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_cgroup_set_ematch()
166 struct rtnl_ematch_tree *rtnl_cgroup_get_ematch(struct rtnl_cls *cls) in rtnl_cgroup_get_ematch()
Dfw.c167 int rtnl_fw_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_fw_set_classid()
180 int rtnl_fw_set_mask(struct rtnl_cls *cls, uint32_t mask) in rtnl_fw_set_mask()
/third_party/libnl/src/lib/
Dcls.c23 struct rtnl_cls *nl_cli_cls_alloc(void) in nl_cli_cls_alloc()
25 struct rtnl_cls *cls; in nl_cli_cls_alloc()
46 void nl_cli_cls_parse_proto(struct rtnl_cls *cls, char *arg) in nl_cli_cls_parse_proto()
56 struct rtnl_ematch_tree *nl_cli_cls_parse_ematch(struct rtnl_cls *cls, char *arg) in nl_cli_cls_parse_ematch()
/third_party/libnl/include/netlink/cli/
Dcls.h18 extern struct rtnl_cls * nl_cli_cls_alloc(void);
21 extern void nl_cli_cls_parse_proto(struct rtnl_cls *, char *);
22 extern struct rtnl_ematch_tree *nl_cli_cls_parse_ematch(struct rtnl_cls *, char *);
/third_party/libnl/python/netlink/route/
Dcapi.i356 struct nl_object *cls2obj(struct rtnl_cls *cls) in cls2obj()
361 struct rtnl_cls *obj2cls(struct nl_object *obj) in obj2cls()
363 return (struct rtnl_cls *) obj; in obj2cls()
397 extern struct rtnl_cls *rtnl_cls_alloc(void);
398 extern void rtnl_cls_put(struct rtnl_cls *);
400 extern int rtnl_cls_add(struct nl_sock *, struct rtnl_cls *, int);
402 extern int rtnl_cls_delete(struct nl_sock *, struct rtnl_cls *,
405 extern void rtnl_cls_set_prio(struct rtnl_cls *, uint16_t);
406 extern uint16_t rtnl_cls_get_prio(struct rtnl_cls *);
408 extern void rtnl_cls_set_protocol(struct rtnl_cls *, uint16_t);
[all …]
/third_party/libnl/src/
Dnl-cls-delete.c52 struct rtnl_cls *cls = nl_object_priv(obj); in delete_cb()
74 static void __delete_link(int ifindex, struct rtnl_cls *filter) in __delete_link()
93 struct rtnl_cls *cls; in main()
Dnl-cls-list.c52 static void __dump_link(int ifindex, struct rtnl_cls *filter) in __dump_link()
71 struct rtnl_cls *cls; in main()
Dnl-cls-add.c57 struct rtnl_cls *cls; in main()
/third_party/libnl/lib/cli/cls/
Dcgroup.c32 struct rtnl_cls *cls = (struct rtnl_cls *) tc; in parse_argv()
Dbasic.c35 struct rtnl_cls *cls = (struct rtnl_cls *) tc; in parse_argv()
/third_party/libnl/tests/
Dtest-u32-filter-with-actions.c110 struct rtnl_cls *cls; in u32_add_filter_on_ht_with_hashmask()
162 struct rtnl_cls *cls; in u32_add_ht()
Dtest-complex-HTB-with-hash-filters.c145 struct rtnl_cls *cls; in u32_add_filter_on_ht()
197 struct rtnl_cls *cls; in u32_add_filter_on_ht_with_hashmask()
247 struct rtnl_cls *cls; in u32_add_ht()
/third_party/libnl/include/netlink-private/
Dtypes.h564 struct rtnl_cls struct