/external/libnfnetlink/src/ |
D | rtnl.c | 33 find_handler(struct rtnl_handle *rtnl_handle, u_int16_t type) in find_handler() argument 36 for (h = rtnl_handle->handlers; h; h = h->next) { in find_handler() 43 static int call_handler(struct rtnl_handle *rtnl_handle, in call_handler() argument 47 struct rtnl_handler *h = find_handler(rtnl_handle, type); in call_handler() 60 int rtnl_handler_register(struct rtnl_handle *rtnl_handle, in rtnl_handler_register() argument 65 hdlr->next = rtnl_handle->handlers; in rtnl_handler_register() 66 rtnl_handle->handlers = hdlr; in rtnl_handler_register() 73 int rtnl_handler_unregister(struct rtnl_handle *rtnl_handle, in rtnl_handler_unregister() argument 81 for (h = rtnl_handle->handlers; h; h = h->next) { in rtnl_handler_unregister() 86 rtnl_handle->handlers = h->next; in rtnl_handler_unregister() [all …]
|
D | rtnl.h | 15 struct rtnl_handle { struct 24 int rtnl_handler_register(struct rtnl_handle *rtnl_handle, argument 26 int rtnl_handler_unregister(struct rtnl_handle *rtnl_handle, 29 int rtnl_dump_type(struct rtnl_handle *rtnl_handle, unsigned int type); 32 struct rtnl_handle *rtnl_open(void); 33 void rtnl_close(struct rtnl_handle *rtnl_handle); 34 int rtnl_receive(struct rtnl_handle *rtnl_handle); 35 int rtnl_receive_multi(struct rtnl_handle *rtnl_handle);
|
D | iftable.c | 40 struct rtnl_handle *rtnl_handle; member 235 h->rtnl_handle = rtnl_open(); in nlif_open() 236 if (h->rtnl_handle == NULL) in nlif_open() 239 if (rtnl_handler_register(h->rtnl_handle, &h->ifadd_handler) < 0) in nlif_open() 242 if (rtnl_handler_register(h->rtnl_handle, &h->ifdel_handler) < 0) in nlif_open() 248 rtnl_handler_unregister(h->rtnl_handle, &h->ifadd_handler); in nlif_open() 250 rtnl_close(h->rtnl_handle); in nlif_open() 268 rtnl_handler_unregister(h->rtnl_handle, &h->ifadd_handler); in nlif_close() 269 rtnl_handler_unregister(h->rtnl_handle, &h->ifdel_handler); in nlif_close() 270 rtnl_close(h->rtnl_handle); in nlif_close() [all …]
|
/external/iproute2/include/ |
D | libnetlink.h | 15 struct rtnl_handle { struct 40 int rtnl_open(struct rtnl_handle *rth, unsigned int subscriptions) argument 43 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned int subscriptions, 47 void rtnl_close(struct rtnl_handle *rth); 48 int rtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type) 50 int rtnl_wilddump_req_filter(struct rtnl_handle *rth, int fam, int type, 56 int rtnl_wilddump_req_filter_fn(struct rtnl_handle *rth, int fam, int type, 59 int rtnl_wilddump_stats_req_filter(struct rtnl_handle *rth, int fam, int type, 62 int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, 65 int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n) [all …]
|
D | libgenl.h | 23 extern int genl_resolve_family(struct rtnl_handle *grth, const char *family); 24 extern int genl_init_handle(struct rtnl_handle *grth, const char *family,
|
D | ll_map.h | 7 void ll_init_map(struct rtnl_handle *rth);
|
/external/iproute2/lib/ |
D | libnetlink.c | 129 void rtnl_close(struct rtnl_handle *rth) in rtnl_close() 137 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned int subscriptions, in rtnl_open_byproto() 197 int rtnl_open(struct rtnl_handle *rth, unsigned int subscriptions) in rtnl_open() 202 int rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type) in rtnl_wilddump_request() 207 int rtnl_wilddump_req_filter(struct rtnl_handle *rth, int family, int type, in rtnl_wilddump_req_filter() 230 int rtnl_wilddump_req_filter_fn(struct rtnl_handle *rth, int family, int type, in rtnl_wilddump_req_filter_fn() 256 int rtnl_wilddump_stats_req_filter(struct rtnl_handle *rth, int fam, int type, in rtnl_wilddump_stats_req_filter() 276 int rtnl_send(struct rtnl_handle *rth, const void *buf, int len) in rtnl_send() 281 int rtnl_send_check(struct rtnl_handle *rth, const void *buf, int len) in rtnl_send_check() 315 int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) in rtnl_dump_request() [all …]
|
D | libgenl.c | 48 int genl_resolve_family(struct rtnl_handle *grth, const char *family) in genl_resolve_family() 64 int genl_init_handle(struct rtnl_handle *grth, const char *family, in genl_init_handle()
|
D | ll_map.c | 204 void ll_init_map(struct rtnl_handle *rth) in ll_init_map()
|
/external/iproute2/genl/ |
D | ctrl.c | 44 struct rtnl_handle rth; in genl_ctrl_resolve_family() 288 struct rtnl_handle rth; in ctrl_list() 367 struct rtnl_handle rth; in ctrl_listen()
|
/external/iproute2/ip/ |
D | ipaddrlabel.c | 46 extern struct rtnl_handle rth; 188 struct rtnl_handle rth2; in flush_addrlabel()
|
D | xfrm_policy.c | 246 struct rtnl_handle rth; in xfrm_policy_modify() 556 struct rtnl_handle rth; in xfrm_policy_get_or_delete() 702 struct rtnl_handle *rth = xb->rth; in xfrm_policy_keep() 774 struct rtnl_handle rth; in xfrm_policy_list_or_deleteall() 1015 struct rtnl_handle rth; in xfrm_spd_setinfo() 1081 struct rtnl_handle rth; in xfrm_spd_getinfo() 1108 struct rtnl_handle rth; in xfrm_policy_flush()
|
D | xfrm_state.c | 290 struct rtnl_handle rth; in xfrm_state_modify() 748 struct rtnl_handle rth; in xfrm_state_allocspi() 1000 struct rtnl_handle rth; in xfrm_state_get_or_delete() 1087 struct rtnl_handle *rth = xb->rth; in xfrm_state_keep() 1149 struct rtnl_handle rth; in xfrm_state_list_or_deleteall() 1334 struct rtnl_handle rth; in xfrm_sad_getinfo() 1361 struct rtnl_handle rth; in xfrm_state_flush()
|
D | ipfou.c | 39 static struct rtnl_handle genl_rth = { .fd = -1 };
|
D | rtmon.c | 76 struct rtnl_handle rth; in main()
|
D | iptoken.c | 30 extern struct rtnl_handle rth;
|
D | ip_common.h | 109 extern struct rtnl_handle rth;
|
D | ipila.c | 39 static struct rtnl_handle genl_rth = { .fd = -1 };
|
D | ip.c | 43 struct rtnl_handle rth = { .fd = -1 };
|
D | ipseg6.c | 43 static struct rtnl_handle grth = { .fd = -1 };
|
/external/iproute2/tc/ |
D | tc_core.h | 31 extern struct rtnl_handle g_rth;
|
D | tc_common.h | 4 extern struct rtnl_handle rth;
|
D | tc_monitor.c | 74 struct rtnl_handle rth; in do_tcmonitor()
|
/external/iproute2/bridge/ |
D | br_common.h | 28 extern struct rtnl_handle rth;
|
D | bridge.c | 19 struct rtnl_handle rth = { .fd = -1 };
|