/external/libnl/include/netlink/route/cls/ |
D | u32.h | 18 extern void rtnl_u32_set_handle(struct rtnl_cls *, int, int, int); 19 extern int rtnl_u32_set_classid(struct rtnl_cls *, uint32_t); 20 extern int rtnl_u32_get_classid(struct rtnl_cls *, uint32_t *); 21 extern int rtnl_u32_set_divisor(struct rtnl_cls *, uint32_t); 22 extern int rtnl_u32_set_link(struct rtnl_cls *, uint32_t); 23 extern int rtnl_u32_set_hashtable(struct rtnl_cls *, uint32_t); 24 extern int rtnl_u32_set_hashmask(struct rtnl_cls *, uint32_t, uint32_t); 25 extern int rtnl_u32_set_selector(struct rtnl_cls *, int, uint32_t, char, uint16_t, char); 26 extern int rtnl_u32_set_cls_terminal(struct rtnl_cls *); 28 extern int rtnl_u32_set_flags(struct rtnl_cls *, int); [all …]
|
D | flower.h | 18 extern int rtnl_flower_set_proto(struct rtnl_cls *cls, uint16_t); 19 extern int rtnl_flower_get_proto(struct rtnl_cls *cls, uint16_t *); 21 extern int rtnl_flower_set_vlan_id(struct rtnl_cls *, uint16_t); 22 extern int rtnl_flower_get_vlan_id(struct rtnl_cls *, uint16_t *); 24 extern int rtnl_flower_set_vlan_prio(struct rtnl_cls *, uint8_t); 25 extern int rtnl_flower_get_vlan_prio(struct rtnl_cls *, uint8_t *); 27 extern int rtnl_flower_set_vlan_ethtype(struct rtnl_cls *, uint16_t); 29 extern int rtnl_flower_set_dst_mac(struct rtnl_cls *, unsigned char *, 31 extern int rtnl_flower_get_dst_mac(struct rtnl_cls *, unsigned char *, 34 extern int rtnl_flower_set_src_mac(struct rtnl_cls *, unsigned char *, [all …]
|
D | matchall.h | 18 extern int rtnl_mall_set_classid(struct rtnl_cls *, uint32_t); 19 extern int rtnl_mall_get_classid(struct rtnl_cls *, uint32_t *); 20 extern int rtnl_mall_set_flags(struct rtnl_cls *, uint32_t); 21 extern int rtnl_mall_get_flags(struct rtnl_cls *, uint32_t *); 22 extern int rtnl_mall_append_action(struct rtnl_cls *, struct rtnl_act *); 23 extern struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *); 24 extern int rtnl_mall_del_action(struct rtnl_cls *, struct rtnl_act *);
|
D | basic.h | 18 extern void rtnl_basic_set_target(struct rtnl_cls *, uint32_t); 19 extern uint32_t rtnl_basic_get_target(struct rtnl_cls *); 20 extern void rtnl_basic_set_ematch(struct rtnl_cls *, 22 extern struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *); 23 extern int rtnl_basic_add_action(struct rtnl_cls *, struct rtnl_act *); 24 extern int rtnl_basic_del_action(struct rtnl_cls *, struct rtnl_act *); 25 extern struct rtnl_act* rtnl_basic_get_action(struct rtnl_cls *);
|
D | fw.h | 18 extern int rtnl_fw_set_classid(struct rtnl_cls *, uint32_t); 19 extern int rtnl_fw_set_mask(struct rtnl_cls *, uint32_t);
|
D | cgroup.h | 18 extern void rtnl_cgroup_set_ematch(struct rtnl_cls *, 20 struct rtnl_ematch_tree * rtnl_cgroup_get_ematch(struct rtnl_cls *);
|
/external/libnl/include/netlink/route/ |
D | classifier.h | 18 extern struct rtnl_cls *rtnl_cls_alloc(void); 19 extern void rtnl_cls_put(struct rtnl_cls *); 23 extern struct rtnl_cls *rtnl_cls_find_by_handle(struct nl_cache *cache, int ifindex, 25 extern struct rtnl_cls *rtnl_cls_find_by_prio(struct nl_cache *cache, int ifindex, 30 extern int rtnl_cls_build_add_request(struct rtnl_cls *, int, 32 extern int rtnl_cls_add(struct nl_sock *, struct rtnl_cls *, int); 33 extern int rtnl_cls_change(struct nl_sock *, struct rtnl_cls *, int); 35 extern int rtnl_cls_build_change_request(struct rtnl_cls *, int, 37 extern int rtnl_cls_build_delete_request(struct rtnl_cls *, int, 39 extern int rtnl_cls_delete(struct nl_sock *, struct rtnl_cls *, [all …]
|
/external/libnl/lib/route/ |
D | cls.c | 29 static int cls_build(struct rtnl_cls *cls, int type, int flags, in cls_build() 58 struct rtnl_cls *rtnl_cls_alloc(void) in rtnl_cls_alloc() 66 return (struct rtnl_cls *) tc; in rtnl_cls_alloc() 69 void rtnl_cls_put(struct rtnl_cls *cls) in rtnl_cls_put() 81 void rtnl_cls_set_prio(struct rtnl_cls *cls, uint16_t prio) in rtnl_cls_set_prio() 87 uint16_t rtnl_cls_get_prio(struct rtnl_cls *cls) in rtnl_cls_get_prio() 95 void rtnl_cls_set_protocol(struct rtnl_cls *cls, uint16_t protocol) in rtnl_cls_set_protocol() 101 uint16_t rtnl_cls_get_protocol(struct rtnl_cls *cls) in rtnl_cls_get_protocol() 131 int rtnl_cls_build_add_request(struct rtnl_cls *cls, int flags, in rtnl_cls_build_add_request() 178 int rtnl_cls_add(struct nl_sock *sk, struct rtnl_cls *cls, int flags) in rtnl_cls_add() [all …]
|
/external/libnl/lib/route/cls/ |
D | flower.c | 346 int rtnl_flower_set_proto(struct rtnl_cls *cls, uint16_t proto) in rtnl_flower_set_proto() 365 int rtnl_flower_get_proto(struct rtnl_cls *cls, uint16_t *proto) in rtnl_flower_get_proto() 386 int rtnl_flower_set_vlan_id(struct rtnl_cls *cls, uint16_t vid) in rtnl_flower_set_vlan_id() 408 int rtnl_flower_get_vlan_id(struct rtnl_cls *cls, uint16_t *vid) in rtnl_flower_get_vlan_id() 429 int rtnl_flower_set_vlan_prio(struct rtnl_cls *cls, uint8_t prio) in rtnl_flower_set_vlan_prio() 451 int rtnl_flower_get_vlan_prio(struct rtnl_cls *cls, uint8_t *prio) in rtnl_flower_get_vlan_prio() 472 int rtnl_flower_set_vlan_ethtype(struct rtnl_cls *cls, uint16_t ethtype) in rtnl_flower_set_vlan_ethtype() 498 int rtnl_flower_set_dst_mac(struct rtnl_cls *cls, unsigned char *mac, in rtnl_flower_set_dst_mac() 528 int rtnl_flower_get_dst_mac(struct rtnl_cls *cls, unsigned char *mac, in rtnl_flower_get_dst_mac() 555 int rtnl_flower_set_src_mac(struct rtnl_cls *cls, unsigned char *mac, in rtnl_flower_set_src_mac() [all …]
|
D | u32.c | 461 void rtnl_u32_set_handle(struct rtnl_cls *cls, int htid, int hash, in rtnl_u32_set_handle() 469 int rtnl_u32_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_u32_set_classid() 482 int rtnl_u32_get_classid(struct rtnl_cls *cls, uint32_t *classid) in rtnl_u32_get_classid() 496 int rtnl_u32_set_divisor(struct rtnl_cls *cls, uint32_t divisor) in rtnl_u32_set_divisor() 508 int rtnl_u32_set_link(struct rtnl_cls *cls, uint32_t link) in rtnl_u32_set_link() 520 int rtnl_u32_set_hashtable(struct rtnl_cls *cls, uint32_t ht) in rtnl_u32_set_hashtable() 532 int rtnl_u32_set_hashmask(struct rtnl_cls *cls, uint32_t hashmask, uint32_t offset) in rtnl_u32_set_hashmask() 551 int rtnl_u32_set_selector(struct rtnl_cls *cls, int offoff, uint32_t offmask, char offshift, uint16… in rtnl_u32_set_selector() 574 int rtnl_u32_set_cls_terminal(struct rtnl_cls *cls) in rtnl_u32_set_cls_terminal() 590 int rtnl_u32_add_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_u32_add_action() [all …]
|
D | basic.c | 165 void rtnl_basic_set_target(struct rtnl_cls *cls, uint32_t target) in rtnl_basic_set_target() 176 uint32_t rtnl_basic_get_target(struct rtnl_cls *cls) in rtnl_basic_get_target() 186 void rtnl_basic_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_basic_set_ematch() 204 struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *cls) in rtnl_basic_get_ematch() 214 int rtnl_basic_add_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_basic_add_action() 234 struct rtnl_act* rtnl_basic_get_action(struct rtnl_cls *cls) in rtnl_basic_get_action() 247 int rtnl_basic_del_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_basic_del_action()
|
D | mall.c | 39 int rtnl_mall_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_mall_set_classid() 51 int rtnl_mall_get_classid(struct rtnl_cls *cls, uint32_t *classid) in rtnl_mall_get_classid() 65 int rtnl_mall_set_flags(struct rtnl_cls *cls, uint32_t flags) in rtnl_mall_set_flags() 78 int rtnl_mall_get_flags(struct rtnl_cls *cls, uint32_t *flags) in rtnl_mall_get_flags() 92 int rtnl_mall_append_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_mall_append_action() 112 struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *cls) in rtnl_mall_get_first_action() 129 int rtnl_mall_del_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_mall_del_action()
|
D | cgroup.c | 139 void rtnl_cgroup_set_ematch(struct rtnl_cls *cls, struct rtnl_ematch_tree *tree) in rtnl_cgroup_set_ematch() 157 struct rtnl_ematch_tree *rtnl_cgroup_get_ematch(struct rtnl_cls *cls) in rtnl_cgroup_get_ematch()
|
D | fw.c | 164 int rtnl_fw_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_fw_set_classid() 177 int rtnl_fw_set_mask(struct rtnl_cls *cls, uint32_t mask) in rtnl_fw_set_mask()
|
/external/libnl/src/lib/ |
D | cls.c | 16 struct rtnl_cls *nl_cli_cls_alloc(void) in nl_cli_cls_alloc() 18 struct rtnl_cls *cls; in nl_cli_cls_alloc() 39 void nl_cli_cls_parse_proto(struct rtnl_cls *cls, char *arg) in nl_cli_cls_parse_proto() 49 struct rtnl_ematch_tree *nl_cli_cls_parse_ematch(struct rtnl_cls *cls, char *arg) in nl_cli_cls_parse_ematch()
|
/external/libnl/python/netlink/route/ |
D | capi.i | 356 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 …]
|
/external/libnl/include/netlink/cli/ |
D | cls.h | 16 extern struct rtnl_cls * nl_cli_cls_alloc(void); 19 extern void nl_cli_cls_parse_proto(struct rtnl_cls *, char *); 20 extern struct rtnl_ematch_tree *nl_cli_cls_parse_ematch(struct rtnl_cls *, char *);
|
/external/libnl/src/ |
D | nl-cls-delete.c | 45 struct rtnl_cls *cls = nl_object_priv(obj); in delete_cb() 67 static void __delete_link(int ifindex, struct rtnl_cls *filter) in __delete_link() 86 struct rtnl_cls *cls; in main()
|
D | nl-cls-list.c | 45 static void __dump_link(int ifindex, struct rtnl_cls *filter) in __dump_link() 64 struct rtnl_cls *cls; in main()
|
/external/libnl/include/netlink-private/ |
D | nl-auto.h | 92 struct rtnl_cls; 93 void rtnl_cls_put(struct rtnl_cls *); 95 _NL_AUTO_DEFINE_FCN_TYPED0(struct rtnl_cls *, _nl_auto_rtnl_cls_fcn, rtnl_cls_put);
|
/external/libnl/tests/ |
D | cksuite-all-attr.c | 82 _nl_auto_rtnl_cls struct rtnl_cls *cls = NULL; in START_TEST() 83 _nl_auto_rtnl_cls struct rtnl_cls *cls2 = NULL; in START_TEST() 115 cls2 = (struct rtnl_cls *)nl_object_clone((struct nl_object *)cls); in START_TEST()
|
D | test-u32-filter-with-actions.c | 104 struct rtnl_cls *cls; in u32_add_filter_on_ht_with_hashmask() 156 struct rtnl_cls *cls; in u32_add_ht()
|
D | test-complex-HTB-with-hash-filters.c | 139 struct rtnl_cls *cls; in u32_add_filter_on_ht() 191 struct rtnl_cls *cls; in u32_add_filter_on_ht_with_hashmask() 241 struct rtnl_cls *cls; in u32_add_ht()
|
/external/libnl/lib/cli/cls/ |
D | cgroup.c | 26 struct rtnl_cls *cls = (struct rtnl_cls *) tc; in parse_argv()
|
D | basic.c | 29 struct rtnl_cls *cls = (struct rtnl_cls *) tc; in parse_argv()
|