Home
last modified time | relevance | path

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

123

/external/libnl/include/netlink/
Dobject.h23 struct nl_object;
26 #define OBJ_CAST(ptr) ((struct nl_object *) (ptr))
29 extern struct nl_object * nl_object_alloc(struct nl_object_ops *);
31 struct nl_object **);
32 extern void nl_object_free(struct nl_object *);
33 extern struct nl_object * nl_object_clone(struct nl_object *obj);
34 extern void nl_object_get(struct nl_object *);
35 extern void nl_object_put(struct nl_object *);
36 extern int nl_object_shared(struct nl_object *);
37 extern void nl_object_dump(struct nl_object *,
[all …]
Dcache.h27 typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *);
32 struct nl_object *);
34 extern struct nl_object * nl_cache_get_first(struct nl_cache *);
35 extern struct nl_object * nl_cache_get_last(struct nl_cache *);
36 extern struct nl_object * nl_cache_get_next(struct nl_object *);
37 extern struct nl_object * nl_cache_get_prev(struct nl_object *);
46 struct nl_object *);
52 struct nl_object *);
55 extern void nl_cache_remove(struct nl_object *);
65 struct nl_object *,
[all …]
Dobject-api.h283 void (*oo_constructor)(struct nl_object *);
292 void (*oo_free_data)(struct nl_object *);
304 int (*oo_clone)(struct nl_object *, struct nl_object *);
315 void (*oo_dump[NL_DUMP_MAX+1])(struct nl_object *,
329 int (*oo_compare)(struct nl_object *, struct nl_object *,
/external/libnl/lib/
Dobject.c24 static inline struct nl_object_ops *obj_ops(struct nl_object *obj) in obj_ops()
42 struct nl_object *nl_object_alloc(struct nl_object_ops *ops) in nl_object_alloc()
44 struct nl_object *new; in nl_object_alloc()
70 int nl_object_alloc_name(const char *kind, struct nl_object **result) in nl_object_alloc_name()
94 struct nl_object *nl_object_clone(struct nl_object *obj) in nl_object_clone()
96 struct nl_object *new; in nl_object_clone()
133 void nl_object_free(struct nl_object *obj) in nl_object_free()
162 void nl_object_get(struct nl_object *obj) in nl_object_get()
173 void nl_object_put(struct nl_object *obj) in nl_object_put()
194 int nl_object_shared(struct nl_object *obj) in nl_object_shared()
[all …]
Dcache.c68 int nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) in nl_cache_nitems_filter()
71 struct nl_object *obj; in nl_cache_nitems_filter()
112 struct nl_object *nl_cache_get_first(struct nl_cache *cache) in nl_cache_get_first()
118 struct nl_object, ce_list); in nl_cache_get_first()
125 struct nl_object *nl_cache_get_last(struct nl_cache *cache) in nl_cache_get_last()
131 struct nl_object, ce_list); in nl_cache_get_last()
138 struct nl_object *nl_cache_get_next(struct nl_object *obj) in nl_cache_get_next()
144 struct nl_object, ce_list); in nl_cache_get_next()
151 struct nl_object *nl_cache_get_prev(struct nl_object *obj) in nl_cache_get_prev()
157 struct nl_object, ce_list); in nl_cache_get_prev()
[all …]
/external/libnl/lib/route/
Dqdisc_obj.c29 static void qdisc_free_data(struct nl_object *obj) in qdisc_free_data()
41 static int qdisc_clone(struct nl_object *_dst, struct nl_object *_src) in qdisc_clone()
59 static void qdisc_dump_line(struct nl_object *obj, struct nl_dump_params *p) in qdisc_dump_line()
73 static void qdisc_dump_details(struct nl_object *arg, struct nl_dump_params *p) in qdisc_dump_details()
90 static void qdisc_dump_stats(struct nl_object *arg, struct nl_dump_params *p) in qdisc_dump_stats()
116 nl_object_put((struct nl_object *) qdisc); in rtnl_qdisc_put()
135 void (*cb)(struct nl_object *, void *), void *arg) in rtnl_qdisc_foreach_child() argument
147 nl_cache_foreach_filter(cache, (struct nl_object *) filter, cb, arg); in rtnl_qdisc_foreach_child()
161 void (*cb)(struct nl_object *, void *), void *arg) in rtnl_qdisc_foreach_cls() argument
172 nl_cache_foreach_filter(cache, (struct nl_object *) filter, cb, arg); in rtnl_qdisc_foreach_cls()
Dclass_obj.c28 static void class_free_data(struct nl_object *obj) in class_free_data()
40 static int class_clone(struct nl_object *_dst, struct nl_object *_src) in class_clone()
58 static void class_dump_line(struct nl_object *obj, struct nl_dump_params *p) in class_dump_line()
71 static void class_dump_details(struct nl_object *obj, struct nl_dump_params *p) in class_dump_details()
94 static void class_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in class_dump_stats()
120 nl_object_put((struct nl_object *) class); in rtnl_class_put()
170 void (*cb)(struct nl_object *, void *), void *arg) in rtnl_class_foreach_child() argument
182 nl_cache_foreach_filter(cache, (struct nl_object *) filter, cb, arg); in rtnl_class_foreach_child()
195 void (*cb)(struct nl_object *, void *), void *arg) in rtnl_class_foreach_cls() argument
206 nl_cache_foreach_filter(cache, (struct nl_object *) filter, cb, arg); in rtnl_class_foreach_cls()
Dcls_obj.c32 static void cls_free_data(struct nl_object *obj) in cls_free_data()
46 static int cls_clone(struct nl_object *_dst, struct nl_object *_src) in cls_clone()
71 static void cls_dump_line(struct nl_object *obj, struct nl_dump_params *p) in cls_dump_line()
88 static void cls_dump_details(struct nl_object *obj, struct nl_dump_params *p) in cls_dump_details()
103 static void cls_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in cls_dump_stats()
129 nl_object_put((struct nl_object *) cls); in rtnl_cls_put()
Dneigh.c172 static void neigh_free_data(struct nl_object *c) in neigh_free_data()
183 static int neigh_clone(struct nl_object *_dst, struct nl_object *_src) in neigh_clone()
199 static int neigh_compare(struct nl_object *_a, struct nl_object *_b, in neigh_compare()
319 err = pp->pp_cb((struct nl_object *) neigh, pp); in neigh_msg_parser()
331 static void neigh_dump_line(struct nl_object *a, struct nl_dump_params *p) in neigh_dump_line()
365 static void neigh_dump_details(struct nl_object *a, struct nl_dump_params *p) in neigh_dump_details()
381 static void neigh_dump_stats(struct nl_object *a, struct nl_dump_params *p) in neigh_dump_stats()
386 static void neigh_dump_env(struct nl_object *obj, struct nl_dump_params *p) in neigh_dump_env()
443 nl_object_put((struct nl_object *) neigh); in rtnl_neigh_put()
483 nl_object_get((struct nl_object *) neigh); in rtnl_neigh_get()
Drule.c45 static void rule_free_data(struct nl_object *c) in rule_free_data()
56 static int rule_clone(struct nl_object *_dst, struct nl_object *_src) in rule_clone()
157 err = pp->pp_cb((struct nl_object *) rule, pp); in rule_msg_parser()
172 static void rule_dump_line(struct nl_object *o, struct nl_dump_params *p) in rule_dump_line()
213 static void rule_dump_details(struct nl_object *obj, struct nl_dump_params *p) in rule_dump_details()
225 static void rule_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in rule_dump_stats()
230 static void rule_dump_env(struct nl_object *obj, struct nl_dump_params *p) in rule_dump_env()
277 static int rule_compare(struct nl_object *_a, struct nl_object *_b, in rule_compare()
338 nl_object_put((struct nl_object *) rule); in rtnl_rule_put()
Daddr.c135 static void addr_constructor(struct nl_object *obj) in addr_constructor()
142 static void addr_free_data(struct nl_object *obj) in addr_free_data()
156 static int addr_clone(struct nl_object *_dst, struct nl_object *_src) in addr_clone()
291 err = pp->pp_cb((struct nl_object *) addr, pp); in addr_msg_parser()
307 static void addr_dump_line(struct nl_object *obj, struct nl_dump_params *p) in addr_dump_line()
344 static void addr_dump_details(struct nl_object *obj, struct nl_dump_params *p) in addr_dump_details()
398 static void addr_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in addr_dump_stats()
403 static void addr_dump_env(struct nl_object *obj, struct nl_dump_params *p) in addr_dump_env()
478 static int addr_compare(struct nl_object *_a, struct nl_object *_b, in addr_compare()
541 nl_object_put((struct nl_object *) addr); in rtnl_addr_put()
Dlink.c195 static void link_free_data(struct nl_object *c) in link_free_data()
210 static int link_clone(struct nl_object *_dst, struct nl_object *_src) in link_clone()
419 err = pp->pp_cb((struct nl_object *) link, pp); in link_msg_parser()
430 static void link_dump_line(struct nl_object *obj, struct nl_dump_params *p) in link_dump_line()
466 static void link_dump_details(struct nl_object *obj, struct nl_dump_params *p) in link_dump_details()
506 static void link_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in link_dump_stats()
569 static void link_dump_env(struct nl_object *obj, struct nl_dump_params *p) in link_dump_env()
637 static int link_handle_event(struct nl_object *a, struct rtnl_link_event_cb *cb)
682 static int link_compare(struct nl_object *_a, struct nl_object *_b, in link_compare()
755 nl_object_put((struct nl_object *) link); in rtnl_link_put()
[all …]
Dneightbl.c57 static int neightbl_compare(struct nl_object *_a, struct nl_object *_b, in neightbl_compare()
219 err = pp->pp_cb((struct nl_object *) ntbl, pp); in neightbl_msg_parser()
231 static void neightbl_dump_line(struct nl_object *arg, struct nl_dump_params *p) in neightbl_dump_line()
268 static void neightbl_dump_details(struct nl_object *arg, struct nl_dump_params *p) in neightbl_dump_details()
326 static void neightbl_dump_stats(struct nl_object *arg, struct nl_dump_params *p) in neightbl_dump_stats()
366 nl_object_put((struct nl_object *) neightbl); in rtnl_neightbl_put()
417 nl_object_get((struct nl_object *) nt); in rtnl_neightbl_get()
/external/libnl/src/
Dnl-tctree-list.c24 static void print_qdisc(struct nl_object *, void *);
39 static void print_class(struct nl_object *obj, void *arg) in print_class()
51 print_qdisc((struct nl_object *) leaf, arg + 2); in print_class()
63 static void print_qdisc(struct nl_object *obj, void *arg) in print_qdisc()
82 static void print_link(struct nl_object *obj, void *arg) in print_link()
96 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link()
102 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link()
108 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link()
/external/libnl/lib/genl/
Dfamily.c37 static void family_constructor(struct nl_object *c) in family_constructor()
44 static void family_free_data(struct nl_object *c) in family_free_data()
58 static int family_clone(struct nl_object *_dst, struct nl_object *_src) in family_clone()
74 static void family_dump_line(struct nl_object *obj, struct nl_dump_params *p) in family_dump_line()
94 static void family_dump_details(struct nl_object *obj, struct nl_dump_params *p) in family_dump_details()
123 static void family_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in family_dump_stats()
128 static int family_compare(struct nl_object *_a, struct nl_object *_b, in family_compare()
161 nl_object_put((struct nl_object *) family); in genl_family_put()
/external/libnl/lib/fib_lookup/
Dlookup.c49 static void result_free_data(struct nl_object *obj) in result_free_data()
57 static int result_clone(struct nl_object *_dst, struct nl_object *_src) in result_clone()
109 err = pp->pp_cb((struct nl_object *) res, pp); in result_msg_parser()
123 static void result_dump_line(struct nl_object *obj, struct nl_dump_params *p) in result_dump_line()
138 static void result_dump_details(struct nl_object *obj, struct nl_dump_params *p) in result_dump_details()
143 static int result_compare(struct nl_object *_a, struct nl_object *_b, in result_compare()
161 nl_object_put((struct nl_object *) res); in flnl_result_put()
Drequest.c36 static void request_free_data(struct nl_object *obj) in request_free_data()
44 static int request_clone(struct nl_object *_dst, struct nl_object *_src) in request_clone()
56 static int request_compare(struct nl_object *_a, struct nl_object *_b, in request_compare()
/external/libnl/lib/netfilter/
Dqueue_obj.c31 static void nfnl_queue_dump(struct nl_object *a, struct nl_dump_params *p) in nfnl_queue_dump()
85 nl_object_get((struct nl_object *) queue); in nfnl_queue_get()
90 nl_object_put((struct nl_object *) queue); in nfnl_queue_put()
164 static int nfnl_queue_compare(struct nl_object *_a, struct nl_object *_b, in nfnl_queue_compare()
Dlog_obj.c29 static void nfnl_log_dump(struct nl_object *a, struct nl_dump_params *p) in nfnl_log_dump()
89 nl_object_get((struct nl_object *) log); in nfnl_log_get()
94 nl_object_put((struct nl_object *) log); in nfnl_log_put()
232 static int nfnl_log_compare(struct nl_object *_a, struct nl_object *_b, in nfnl_log_compare()
Dlog_msg_obj.c38 static void log_msg_free_data(struct nl_object *c) in log_msg_free_data()
49 static int log_msg_clone(struct nl_object *_dst, struct nl_object *_src) in log_msg_clone()
73 static void log_msg_dump(struct nl_object *a, struct nl_dump_params *p) in log_msg_dump()
184 nl_object_get((struct nl_object *) msg); in nfnl_log_msg_get()
189 nl_object_put((struct nl_object *) msg); in nfnl_log_msg_put()
Dqueue_msg_obj.c35 static void nfnl_queue_msg_free_data(struct nl_object *c) in nfnl_queue_msg_free_data()
45 static int nfnl_queue_msg_clone(struct nl_object *_dst, struct nl_object *_src) in nfnl_queue_msg_clone()
63 static void nfnl_queue_msg_dump(struct nl_object *a, struct nl_dump_params *p) in nfnl_queue_msg_dump()
169 nl_object_get((struct nl_object *) msg); in nfnl_queue_msg_get()
174 nl_object_put((struct nl_object *) msg); in nfnl_queue_msg_put()
Dct_obj.c56 static void ct_free_data(struct nl_object *c) in ct_free_data()
69 static int ct_clone(struct nl_object *_dst, struct nl_object *_src) in ct_clone()
174 static void ct_dump_line(struct nl_object *a, struct nl_dump_params *p) in ct_dump_line()
198 static void ct_dump_details(struct nl_object *a, struct nl_dump_params *p) in ct_dump_details()
254 static void ct_dump_stats(struct nl_object *a, struct nl_dump_params *p) in ct_dump_stats()
273 static int ct_compare(struct nl_object *_a, struct nl_object *_b, in ct_compare()
372 nl_object_get((struct nl_object *) ct); in nfnl_ct_get()
377 nl_object_put((struct nl_object *) ct); in nfnl_ct_put()
/external/libnl/include/netlink/route/
Dclass.h60 void (*cb)(struct nl_object *,
65 void (*cb)(struct nl_object *,
Dqdisc.h60 void (*cb)(struct nl_object *, void *),
64 void (*cb)(struct nl_object *, void *),
/external/libnl/include/
Dnetlink-tc.h41 extern int tca_compare(struct nl_object *, struct nl_object *, uint32_t, int);

123