Home
last modified time | relevance | path

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

12345

/external/libnl/include/netlink/
Dcache.h36 struct nl_cache;
37 typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *);
46 extern int nl_cache_nitems(struct nl_cache *);
47 extern int nl_cache_nitems_filter(struct nl_cache *,
49 extern struct nl_cache_ops * nl_cache_get_ops(struct nl_cache *);
50 extern struct nl_object * nl_cache_get_first(struct nl_cache *);
51 extern struct nl_object * nl_cache_get_last(struct nl_cache *);
55 extern struct nl_cache * nl_cache_alloc(struct nl_cache_ops *);
58 struct nl_cache **);
60 struct nl_cache **);
[all …]
/external/libnl/lib/
Dcache.c68 int nl_cache_nitems(struct nl_cache *cache) in nl_cache_nitems()
78 int nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) in nl_cache_nitems_filter()
101 int nl_cache_is_empty(struct nl_cache *cache) in nl_cache_is_empty()
110 struct nl_cache_ops *nl_cache_get_ops(struct nl_cache *cache) in nl_cache_get_ops()
119 struct nl_object *nl_cache_get_first(struct nl_cache *cache) in nl_cache_get_first()
132 struct nl_object *nl_cache_get_last(struct nl_cache *cache) in nl_cache_get_last()
183 struct nl_cache *nl_cache_alloc(struct nl_cache_ops *ops) in nl_cache_alloc()
185 struct nl_cache *cache; in nl_cache_alloc()
234 struct nl_cache **result) in nl_cache_alloc_and_fill()
236 struct nl_cache *cache; in nl_cache_alloc_and_fill()
[all …]
Dcache_mngt.c329 void nl_cache_mngt_provide(struct nl_cache *cache) in nl_cache_mngt_provide()
362 void nl_cache_mngt_unprovide(struct nl_cache *cache) in nl_cache_mngt_unprovide()
380 struct nl_cache *__nl_cache_mngt_require(const char *name) in __nl_cache_mngt_require()
383 struct nl_cache *cache = NULL; in __nl_cache_mngt_require()
405 struct nl_cache *nl_cache_mngt_require(const char *name) in nl_cache_mngt_require()
407 struct nl_cache *cache; in nl_cache_mngt_require()
427 struct nl_cache *nl_cache_mngt_require_safe(const char *name) in nl_cache_mngt_require_safe()
429 struct nl_cache *cache; in nl_cache_mngt_require_safe()
/external/libnl/python/netlink/
Dcapi.i300 typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *);
303 struct nl_cache *alloc_cache_name(const char *name) in alloc_cache_name()
305 struct nl_cache *c; in alloc_cache_name()
322 struct nl_cache *cache_mngr_add(struct nl_cache_mngr *mngr, in cache_mngr_add()
326 struct nl_cache *cache; in cache_mngr_add()
336 extern int nl_cache_nitems(struct nl_cache *);
337 extern int nl_cache_nitems_filter(struct nl_cache *,
339 extern struct nl_cache_ops * nl_cache_get_ops(struct nl_cache *);
340 extern struct nl_object * nl_cache_get_first(struct nl_cache *);
341 extern struct nl_object * nl_cache_get_last(struct nl_cache *);
[all …]
/external/libnl/include/netlink/route/
Dclass.h30 struct nl_cache **);
32 rtnl_class_get(struct nl_cache *, int, uint32_t);
36 struct nl_cache *);
50 struct nl_cache *,
56 struct nl_cache *,
Dqdisc.h29 extern int rtnl_qdisc_alloc_cache(struct nl_sock *, struct nl_cache **);
32 rtnl_qdisc_get(struct nl_cache *, int, uint32_t);
35 rtnl_qdisc_get_by_parent(struct nl_cache *, int, uint32_t);
53 extern void rtnl_qdisc_foreach_child(struct rtnl_qdisc *, struct nl_cache *,
57 extern void rtnl_qdisc_foreach_cls(struct rtnl_qdisc *, struct nl_cache *,
Dlink.h112 extern int rtnl_link_alloc_cache(struct nl_sock *, int, struct nl_cache **);
113 extern struct rtnl_link *rtnl_link_get(struct nl_cache *, int);
114 extern struct rtnl_link *rtnl_link_get_by_name(struct nl_cache *, const char *);
135 extern char * rtnl_link_i2name(struct nl_cache *, int, char *, size_t);
136 extern int rtnl_link_name2i(struct nl_cache *, const char *);
/external/libnl/include/netlink-private/
Dcache-api.h192 int (*co_request_update)(struct nl_cache *, struct nl_sock *);
224 int (*co_event_filter)(struct nl_cache *, struct nl_object *obj);
239 int (*co_include_event)(struct nl_cache *cache, struct nl_object *obj,
257 struct nl_cache *co_major_cache;
/external/libnl/include/netlink/genl/
Dctrl.h26 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/
Droute.h19 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 *);
Dlink.h19 extern struct nl_cache *nl_cli_link_alloc_cache_family(struct nl_sock *, int);
20 extern struct nl_cache *nl_cli_link_alloc_cache(struct nl_sock *);
Dutils.h73 extern struct nl_cache *nl_cli_alloc_cache(struct nl_sock *, const char *,
74 int (*ac)(struct nl_sock *, struct nl_cache **));
/external/libnl/lib/route/
Dclass.c60 static int class_request_update(struct nl_cache *cache, struct nl_sock *sk) in class_request_update()
278 struct nl_cache *cache) in rtnl_class_leaf_qdisc()
313 struct nl_cache **result) in rtnl_class_alloc_cache()
315 struct nl_cache * cache; in rtnl_class_alloc_cache()
353 struct rtnl_class *rtnl_class_get(struct nl_cache *cache, int ifindex, in rtnl_class_get()
383 void rtnl_class_foreach_child(struct rtnl_class *class, struct nl_cache *cache, in rtnl_class_foreach_child()
406 void rtnl_class_foreach_cls(struct rtnl_class *class, struct nl_cache *cache, in rtnl_class_foreach_cls()
Dqdisc.c50 static int qdisc_request_update(struct nl_cache *c, struct nl_sock *sk) in qdisc_request_update()
368 int rtnl_qdisc_alloc_cache(struct nl_sock *sk, struct nl_cache **result) in rtnl_qdisc_alloc_cache()
387 struct rtnl_qdisc *rtnl_qdisc_get_by_parent(struct nl_cache *cache, in rtnl_qdisc_get_by_parent()
419 struct rtnl_qdisc *rtnl_qdisc_get(struct nl_cache *cache, int ifindex, in rtnl_qdisc_get()
450 void rtnl_qdisc_foreach_child(struct rtnl_qdisc *qdisc, struct nl_cache *cache, in rtnl_qdisc_foreach_child()
474 void rtnl_qdisc_foreach_cls(struct rtnl_qdisc *qdisc, struct nl_cache *cache, in rtnl_qdisc_foreach_cls()
/external/libnl/src/
Dnl-tctree-list.c19 static struct nl_cache *qdisc_cache, *class_cache;
45 struct nl_cache *cls_cache; in print_class()
82 struct nl_cache *cls_cache; in print_qdisc()
133 struct nl_cache *link_cache; in main()
Dnl-qdisc-list.c66 struct nl_cache *class_cache; in list_classes()
82 struct nl_cache *cls_cache; in list_cls()
112 struct nl_cache *qdisc_cache; in list_qdiscs()
131 struct nl_cache *link_cache, *qdisc_cache; in main()
Dgenl-ctrl-list.c14 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/src/lib/
Dlink.c34 struct nl_cache *nl_cli_link_alloc_cache_family(struct nl_sock *sock, int family) in nl_cli_link_alloc_cache_family()
36 struct nl_cache *cache; in nl_cli_link_alloc_cache_family()
48 struct nl_cache *nl_cli_link_alloc_cache(struct nl_sock *sock) in nl_cli_link_alloc_cache()
Dclass.c31 struct nl_cache *nl_cli_class_alloc_cache(struct nl_sock *sock, int ifindex) in nl_cli_class_alloc_cache()
33 struct nl_cache *cache; in nl_cli_class_alloc_cache()
Dutils.c168 struct nl_cache *nl_cli_alloc_cache(struct nl_sock *sock, const char *name, in nl_cli_alloc_cache()
169 int (*ac)(struct nl_sock *, struct nl_cache **)) in nl_cli_alloc_cache() argument
171 struct nl_cache *cache; in nl_cli_alloc_cache()
Drule.c33 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()
Droute.c33 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()
268 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/
Dlookup.h29 extern struct nl_cache * flnl_result_alloc_cache(void);
36 struct nl_cache *);
/external/autotest/client/deps/iwcap/src/
Diwcap.c42 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/python/netlink/genl/
Dcapi.i13 extern int genl_ctrl_alloc_cache(struct nl_sock *, struct nl_cache **o_cache);
14 extern struct genl_family *genl_ctrl_search(struct nl_cache *, int);
15 extern struct genl_family *genl_ctrl_search_by_name(struct nl_cache *,

12345