/external/libnl/include/netlink/ |
D | object.h | 23 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 int nl_object_update(struct nl_object *dst, 35 struct nl_object *src); 36 extern void nl_object_get(struct nl_object *); 37 extern void nl_object_put(struct nl_object *); [all …]
|
D | cache.h | 37 typedef void (*change_func_t)(struct nl_cache *, struct nl_object *, int, void *); 48 struct nl_object *); 50 extern struct nl_object * nl_cache_get_first(struct nl_cache *); 51 extern struct nl_object * nl_cache_get_last(struct nl_cache *); 52 extern struct nl_object * nl_cache_get_next(struct nl_object *); 53 extern struct nl_object * nl_cache_get_prev(struct nl_object *); 62 struct nl_object *); 71 struct nl_object *); 75 struct nl_object *); 76 extern void nl_cache_remove(struct nl_object *); [all …]
|
D | hashtable.h | 22 struct nl_object * obj; 39 struct nl_object *obj); 41 struct nl_object *obj); 43 extern struct nl_object * nl_hash_table_lookup(nl_hash_table_t *ht, 44 struct nl_object *obj);
|
/external/libnl/lib/ |
D | object.c | 36 static inline struct nl_object_ops *obj_ops(struct nl_object *obj) in obj_ops() 54 struct nl_object *nl_object_alloc(struct nl_object_ops *ops) in nl_object_alloc() 56 struct nl_object *new; in nl_object_alloc() 84 int nl_object_alloc_name(const char *kind, struct nl_object **result) in nl_object_alloc_name() 110 struct nl_object *nl_object_clone(struct nl_object *obj) in nl_object_clone() 112 struct nl_object *new; in nl_object_clone() 154 int nl_object_update(struct nl_object *dst, struct nl_object *src) in nl_object_update() 170 void nl_object_free(struct nl_object *obj) in nl_object_free() 204 void nl_object_get(struct nl_object *obj) in nl_object_get() 215 void nl_object_put(struct nl_object *obj) in nl_object_put() [all …]
|
D | cache.c | 78 int nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) in nl_cache_nitems_filter() 80 struct nl_object *obj; in nl_cache_nitems_filter() 119 struct nl_object *nl_cache_get_first(struct nl_cache *cache) in nl_cache_get_first() 125 struct nl_object, ce_list); in nl_cache_get_first() 132 struct nl_object *nl_cache_get_last(struct nl_cache *cache) in nl_cache_get_last() 138 struct nl_object, ce_list); in nl_cache_get_last() 145 struct nl_object *nl_cache_get_next(struct nl_object *obj) in nl_cache_get_next() 151 struct nl_object, ce_list); in nl_cache_get_next() 158 struct nl_object *nl_cache_get_prev(struct nl_object *obj) in nl_cache_get_prev() 164 struct nl_object, ce_list); in nl_cache_get_prev() [all …]
|
D | hashtable.c | 86 struct nl_object* nl_hash_table_lookup(nl_hash_table_t *ht, in nl_hash_table_lookup() 87 struct nl_object *obj) in nl_hash_table_lookup() 117 int nl_hash_table_add(nl_hash_table_t *ht, struct nl_object *obj) in nl_hash_table_add() 161 int nl_hash_table_del(nl_hash_table_t *ht, struct nl_object *obj) in nl_hash_table_del()
|
/external/libnl/include/netlink-private/ |
D | object-api.h | 194 struct nl_object struct 290 void (*oo_constructor)(struct nl_object *); 299 void (*oo_free_data)(struct nl_object *); 311 int (*oo_clone)(struct nl_object *, struct nl_object *); 322 void (*oo_dump[NL_DUMP_MAX+1])(struct nl_object *, 336 int (*oo_compare)(struct nl_object *, struct nl_object *, 350 int (*oo_update)(struct nl_object *, struct nl_object *); 360 void (*oo_keygen)(struct nl_object *, uint32_t *, uint32_t); 367 uint32_t (*oo_id_attrs_get)(struct nl_object *);
|
D | cache-api.h | 152 int (*pp_cb)(struct nl_object *, struct nl_parser_param *); 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,
|
/external/libnl/python/netlink/ |
D | capi.i | 248 void (*cb)(struct nl_object *, void *), 254 struct nl_object *cast_obj(void *obj) in cast_obj() 256 return (struct nl_object *) obj; in cast_obj() 259 struct nl_object *object_alloc_name(const char *name) in object_alloc_name() 261 struct nl_object *obj; in object_alloc_name() 270 extern struct nl_object *nl_object_alloc(struct nl_object_ops *); 271 extern void nl_object_free(struct nl_object *); 272 extern struct nl_object *nl_object_clone(struct nl_object *); 273 extern void nl_object_get(struct nl_object *); 274 extern void nl_object_put(struct nl_object *); [all …]
|
/external/libnl/include/netlink-private/route/ |
D | tc-api.h | 104 extern void rtnl_tc_free_data(struct nl_object *); 105 extern int rtnl_tc_clone(struct nl_object *, 106 struct nl_object *); 107 extern void rtnl_tc_dump_line(struct nl_object *, 109 extern void rtnl_tc_dump_details(struct nl_object *, 111 extern void rtnl_tc_dump_stats(struct nl_object *, 113 extern int rtnl_tc_compare(struct nl_object *, 114 struct nl_object *,
|
/external/libnl/src/ |
D | nl-tctree-list.c | 25 static void print_qdisc(struct nl_object *, void *); 41 static void print_class(struct nl_object *obj, void *arg) in print_class() 53 print_qdisc((struct nl_object *) leaf, arg + 2); in print_class() 79 static void print_qdisc(struct nl_object *obj, void *arg) in print_qdisc() 98 static void print_link(struct nl_object *obj, void *arg) in print_link() 112 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link() 118 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link() 124 print_qdisc((struct nl_object *) qdisc, (void *) 2); in print_link()
|
/external/libnl/lib/fib_lookup/ |
D | lookup.c | 50 static void result_free_data(struct nl_object *obj) in result_free_data() 58 static int result_clone(struct nl_object *_dst, struct nl_object *_src) in result_clone() 110 err = pp->pp_cb((struct nl_object *) res, pp); in result_msg_parser() 124 static void result_dump_line(struct nl_object *obj, struct nl_dump_params *p) in result_dump_line() 139 static void result_dump_details(struct nl_object *obj, struct nl_dump_params *p) in result_dump_details() 144 static int result_compare(struct nl_object *_a, struct nl_object *_b, in result_compare() 162 nl_object_put((struct nl_object *) res); in flnl_result_put()
|
D | request.c | 36 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/genl/ |
D | family.c | 37 static void family_constructor(struct nl_object *c) in family_constructor() 45 static void family_free_data(struct nl_object *c) in family_free_data() 66 static int family_clone(struct nl_object *_dst, struct nl_object *_src) in family_clone() 90 static void family_dump_line(struct nl_object *obj, struct nl_dump_params *p) in family_dump_line() 110 static void family_dump_details(struct nl_object *obj, struct nl_dump_params *p) in family_dump_details() 145 static void family_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in family_dump_stats() 150 static int family_compare(struct nl_object *_a, struct nl_object *_b, in family_compare() 197 nl_object_put((struct nl_object *) family); in genl_family_put()
|
/external/libnl/python/netlink/route/ |
D | capi.i | 25 struct nl_object *link2obj(struct rtnl_link *link) in link2obj() 30 struct rtnl_link *obj2link(struct nl_object *obj) in obj2link() 54 extern struct nl_object *link2obj(struct rtnl_link *); 55 extern struct rtnl_link *obj2link(struct nl_object *); 336 struct nl_object *qdisc2obj(struct rtnl_qdisc *qdisc) in qdisc2obj() 341 struct rtnl_qdisc *obj2qdisc(struct nl_object *obj) in obj2qdisc() 346 struct nl_object *class2obj(struct rtnl_class *cl) in class2obj() 351 struct rtnl_class *obj2class(struct nl_object *obj) in obj2class() 356 struct nl_object *cls2obj(struct rtnl_cls *cls) in cls2obj() 361 struct rtnl_cls *obj2cls(struct nl_object *obj) in obj2cls() [all …]
|
/external/libnl/lib/idiag/ |
D | idiag_req_obj.c | 31 nl_object_get((struct nl_object *) req); in idiagnl_req_get() 36 nl_object_put((struct nl_object *) req); in idiagnl_req_put() 128 static void idiag_req_dump_line(struct nl_object *a, struct nl_dump_params *p) in idiag_req_dump_line() 140 static void idiag_req_dump_details(struct nl_object *a, struct nl_dump_params *p) in idiag_req_dump_details() 158 static void idiag_req_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in idiag_req_dump_stats() 163 static void idiagnl_req_free(struct nl_object *a) in idiagnl_req_free() 173 static int idiagnl_req_clone(struct nl_object *_dst, struct nl_object *_src) in idiagnl_req_clone()
|
D | idiag_meminfo_obj.c | 30 nl_object_get((struct nl_object *) minfo); in idiagnl_meminfo_get() 35 nl_object_put((struct nl_object *) minfo); in idiagnl_meminfo_put() 83 static int idiagnl_meminfo_clone(struct nl_object *_dst, struct nl_object *_src) in idiagnl_meminfo_clone()
|
D | idiag_vegasinfo_obj.c | 30 nl_object_get((struct nl_object *) vinfo); in idiagnl_vegasinfo_get() 35 nl_object_put((struct nl_object *) vinfo); in idiagnl_vegasinfo_put() 86 static int idiagnl_vegasinfo_clone(struct nl_object *_dst, in idiagnl_vegasinfo_clone() 87 struct nl_object *_src) in idiagnl_vegasinfo_clone()
|
/external/libnl/lib/route/ |
D | neigh.c | 176 static void neigh_free_data(struct nl_object *c) in neigh_free_data() 187 static int neigh_clone(struct nl_object *_dst, struct nl_object *_src) in neigh_clone() 203 static void neigh_keygen(struct nl_object *obj, uint32_t *hashkey, in neigh_keygen() 256 static int neigh_compare(struct nl_object *_a, struct nl_object *_b, in neigh_compare() 305 static uint32_t neigh_id_attrs_get(struct nl_object *obj) in neigh_id_attrs_get() 329 err = pp->pp_cb((struct nl_object *) neigh, pp); in neigh_msg_parser() 436 static void neigh_dump_line(struct nl_object *a, struct nl_dump_params *p) in neigh_dump_line() 474 static void neigh_dump_details(struct nl_object *a, struct nl_dump_params *p) in neigh_dump_details() 490 static void neigh_dump_stats(struct nl_object *a, struct nl_dump_params *p) in neigh_dump_stats() 507 nl_object_put((struct nl_object *) neigh); in rtnl_neigh_put() [all …]
|
D | addr.c | 135 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() 157 static int addr_clone(struct nl_object *_dst, struct nl_object *_src) in addr_clone() 317 err = pp->pp_cb((struct nl_object *) addr, pp); in addr_msg_parser() 333 static void addr_dump_line(struct nl_object *obj, struct nl_dump_params *p) in addr_dump_line() 373 static void addr_dump_details(struct nl_object *obj, struct nl_dump_params *p) in addr_dump_details() 427 static void addr_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in addr_dump_stats() 432 static int addr_compare(struct nl_object *_a, struct nl_object *_b, in addr_compare() 495 nl_object_put((struct nl_object *) addr); in rtnl_addr_put() 538 nl_object_get((struct nl_object *) a); in rtnl_addr_get()
|
D | class.c | 89 nl_object_put((struct nl_object *) class); in rtnl_class_put() 363 nl_object_get((struct nl_object *) class); in rtnl_class_get() 384 void (*cb)(struct nl_object *, void *), void *arg) in rtnl_class_foreach_child() argument 407 void (*cb)(struct nl_object *, void *), void *arg) in rtnl_class_foreach_cls() argument 418 nl_cache_foreach_filter(cache, (struct nl_object *) filter, cb, arg); in rtnl_class_foreach_cls()
|
D | rule.c | 46 static void rule_free_data(struct nl_object *c) in rule_free_data() 57 static int rule_clone(struct nl_object *_dst, struct nl_object *_src) in rule_clone() 175 err = pp->pp_cb((struct nl_object *) rule, pp); in rule_msg_parser() 190 static void rule_dump_line(struct nl_object *o, struct nl_dump_params *p) in rule_dump_line() 236 static void rule_dump_details(struct nl_object *obj, struct nl_dump_params *p) in rule_dump_details() 241 static void rule_dump_stats(struct nl_object *obj, struct nl_dump_params *p) in rule_dump_stats() 248 static int rule_compare(struct nl_object *_a, struct nl_object *_b, in rule_compare() 310 nl_object_put((struct nl_object *) rule); in rtnl_rule_put()
|
/external/libnl/lib/netfilter/ |
D | queue_obj.c | 31 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()
|
D | log_obj.c | 29 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()
|
D | log_msg_obj.c | 38 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() 187 nl_object_get((struct nl_object *) msg); in nfnl_log_msg_get() 192 nl_object_put((struct nl_object *) msg); in nfnl_log_msg_put()
|