/external/libnl/include/netlink/ |
D | cache.h | 25 struct nl_cache; 27 typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *); 30 extern int nl_cache_nitems(struct nl_cache *); 31 extern int nl_cache_nitems_filter(struct nl_cache *, 33 extern struct nl_cache_ops * nl_cache_get_ops(struct nl_cache *); 34 extern struct nl_object * nl_cache_get_first(struct nl_cache *); 35 extern struct nl_object * nl_cache_get_last(struct nl_cache *); 39 extern struct nl_cache * nl_cache_alloc(struct nl_cache_ops *); 42 struct nl_cache **); 44 struct nl_cache **); [all …]
|
D | cache-api.h | 175 int (*co_request_update)(struct nl_cache *, struct nl_sock *); 188 struct nl_cache *co_major_cache;
|
D | object.h | 22 struct nl_cache; 58 extern struct nl_cache * nl_object_get_cache(struct nl_object *);
|
/external/libnl/lib/ |
D | cache.c | 58 int nl_cache_nitems(struct nl_cache *cache) in nl_cache_nitems() 68 int nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) in nl_cache_nitems_filter() 94 int nl_cache_is_empty(struct nl_cache *cache) in nl_cache_is_empty() 103 struct nl_cache_ops *nl_cache_get_ops(struct nl_cache *cache) in nl_cache_get_ops() 112 struct nl_object *nl_cache_get_first(struct nl_cache *cache) in nl_cache_get_first() 125 struct nl_object *nl_cache_get_last(struct nl_cache *cache) in nl_cache_get_last() 173 struct nl_cache *nl_cache_alloc(struct nl_cache_ops *ops) in nl_cache_alloc() 175 struct nl_cache *cache; in nl_cache_alloc() 190 struct nl_cache **result) in nl_cache_alloc_and_fill() 192 struct nl_cache *cache; in nl_cache_alloc_and_fill() [all …]
|
D | cache_mngt.c | 190 void nl_cache_mngt_provide(struct nl_cache *cache) in nl_cache_mngt_provide() 209 void nl_cache_mngt_unprovide(struct nl_cache *cache) in nl_cache_mngt_unprovide() 230 struct nl_cache *nl_cache_mngt_require(const char *name) in nl_cache_mngt_require()
|
/external/libnl/include/netlink/route/ |
D | class.h | 30 struct nl_cache **); 31 extern struct rtnl_class *rtnl_class_get(struct nl_cache *, int, uint32_t); 35 struct nl_cache *); 59 struct nl_cache *, 64 struct nl_cache *,
|
D | qdisc.h | 30 extern int rtnl_qdisc_alloc_cache(struct nl_sock *, struct nl_cache **); 31 extern struct rtnl_qdisc *rtnl_qdisc_get(struct nl_cache *, int, uint32_t); 32 extern struct rtnl_qdisc *rtnl_qdisc_get_by_parent(struct nl_cache *, 59 extern void rtnl_qdisc_foreach_child(struct rtnl_qdisc *, struct nl_cache *, 63 extern void rtnl_qdisc_foreach_cls(struct rtnl_qdisc *, struct nl_cache *,
|
D | link.h | 60 extern int rtnl_link_alloc_cache(struct nl_sock *, struct nl_cache **); 61 extern struct rtnl_link *rtnl_link_get(struct nl_cache *, int); 62 extern struct rtnl_link *rtnl_link_get_by_name(struct nl_cache *, const char *); 72 extern char * rtnl_link_i2name(struct nl_cache *, int, char *, size_t); 73 extern int rtnl_link_name2i(struct nl_cache *, const char *);
|
D | neighbour.h | 28 extern int rtnl_neigh_alloc_cache(struct nl_sock *, struct nl_cache **); 29 extern struct rtnl_neigh *rtnl_neigh_get(struct nl_cache *, int,
|
D | neightbl.h | 28 extern int rtnl_neightbl_alloc_cache(struct nl_sock *, struct nl_cache **); 29 extern struct rtnl_neightbl *rtnl_neightbl_get(struct nl_cache *,
|
/external/libnl/include/netlink/genl/ |
D | ctrl.h | 26 struct nl_cache **); 27 extern struct genl_family * genl_ctrl_search(struct nl_cache *, int); 28 extern struct genl_family * genl_ctrl_search_by_name(struct nl_cache *,
|
/external/libnl/include/netlink/cli/ |
D | route.h | 19 extern struct nl_cache *nl_cli_route_alloc_cache(struct nl_sock *, int); 26 extern void nl_cli_route_parse_nexthop(struct rtnl_route *, char *, struct nl_cache *); 32 extern void nl_cli_route_parse_iif(struct rtnl_route *, char *, struct nl_cache *);
|
D | utils.h | 73 extern struct nl_cache *nl_cli_alloc_cache(struct nl_sock *, const char *, 74 int (*ac)(struct nl_sock *, struct nl_cache **));
|
/external/libnl/src/ |
D | nl-tctree-list.c | 18 static struct nl_cache *qdisc_cache, *class_cache; 43 struct nl_cache *cls_cache; in print_class() 66 struct nl_cache *cls_cache; in print_qdisc() 117 struct nl_cache *link_cache; in main()
|
D | genl-ctrl-list.c | 14 static struct nl_cache *alloc_genl_family_cache(struct nl_sock *sk) in alloc_genl_family_cache() 36 struct nl_cache *family_cache; in main()
|
/external/libnl/lib/genl/ |
D | ctrl.c | 34 static int ctrl_request_update(struct nl_cache *c, struct nl_sock *h) in ctrl_request_update() 141 int genl_ctrl_alloc_cache(struct nl_sock *sock, struct nl_cache **result) in genl_ctrl_alloc_cache() 158 struct genl_family *genl_ctrl_search(struct nl_cache *cache, int id) in genl_ctrl_search() 192 struct genl_family *genl_ctrl_search_by_name(struct nl_cache *cache, in genl_ctrl_search_by_name() 224 struct nl_cache *cache; in genl_ctrl_resolve()
|
/external/autotest/client/deps/iwcap/src/ |
D | iwcap.c | 42 static inline int __genl_ctrl_alloc_cache(struct nl_sock *h, struct nl_cache **cache) in __genl_ctrl_alloc_cache() 44 struct nl_cache *tmp = genl_ctrl_alloc_cache(h); in __genl_ctrl_alloc_cache() 55 struct nl_cache *nl_cache; member 75 if (genl_ctrl_alloc_cache(state->nl_sock, &state->nl_cache)) { in nl80211_init() 81 state->nl80211 = genl_ctrl_search_by_name(state->nl_cache, "nl80211"); in nl80211_init() 91 nl_cache_free(state->nl_cache); in nl80211_init() 100 nl_cache_free(state->nl_cache); in nl80211_cleanup()
|
/external/libnl/lib/route/ |
D | class.c | 62 static int class_request_update(struct nl_cache *cache, struct nl_sock *sk) in class_request_update() 233 struct nl_cache **result) in rtnl_class_alloc_cache() 235 struct nl_cache * cache; in rtnl_class_alloc_cache() 260 struct rtnl_class *rtnl_class_get(struct nl_cache *cache, int ifindex, in rtnl_class_get()
|
D | qdisc.c | 131 static int qdisc_request_update(struct nl_cache *c, struct nl_sock *sk) in qdisc_request_update() 386 int rtnl_qdisc_alloc_cache(struct nl_sock *sk, struct nl_cache **result) in rtnl_qdisc_alloc_cache() 398 struct rtnl_qdisc * rtnl_qdisc_get_by_parent(struct nl_cache *cache, in rtnl_qdisc_get_by_parent() 423 struct rtnl_qdisc * rtnl_qdisc_get(struct nl_cache *cache, in rtnl_qdisc_get()
|
D | route.c | 45 static int route_request_update(struct nl_cache *c, struct nl_sock *h) in route_request_update() 76 struct nl_cache **result) in rtnl_route_alloc_cache() 78 struct nl_cache *cache; in rtnl_route_alloc_cache()
|
/external/libnl/src/lib/ |
D | utils.c | 132 struct nl_cache *nl_cli_alloc_cache(struct nl_sock *sock, const char *name, in nl_cli_alloc_cache() 133 int (*ac)(struct nl_sock *, struct nl_cache **)) in nl_cli_alloc_cache() argument 135 struct nl_cache *cache; in nl_cli_alloc_cache()
|
D | rule.c | 33 struct nl_cache *nl_cli_rule_alloc_cache(struct nl_sock *sk) in nl_cli_rule_alloc_cache() 35 struct nl_cache *cache; in nl_cli_rule_alloc_cache()
|
D | route.c | 33 struct nl_cache *nl_cli_route_alloc_cache(struct nl_sock *sk, int flags) in nl_cli_route_alloc_cache() 35 struct nl_cache *cache; in nl_cli_route_alloc_cache() 138 struct nl_cache *link_cache) in nl_cli_route_parse_nexthop() 260 void nl_cli_route_parse_iif(struct rtnl_route *route, char *arg, struct nl_cache *link_cache) in nl_cli_route_parse_iif()
|
/external/libnl/include/netlink/fib_lookup/ |
D | lookup.h | 29 extern struct nl_cache * flnl_result_alloc_cache(void); 36 struct nl_cache *);
|
/external/libnl/tests/ |
D | test-nf-cache-mngr.c | 3 static void change_cb(struct nl_cache *cache, struct nl_object *obj, in change_cb() 28 struct nl_cache *ct; in main()
|