/external/libnfnetlink/src/ |
rtnl.h | 15 struct rtnl_handle { struct 24 int rtnl_handler_register(struct rtnl_handle *rtnl_handle, 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); [all...] |
iftable.c | 40 struct rtnl_handle *rtnl_handle; member in struct:nlif_handle 235 h->rtnl_handle = rtnl_open(); 236 if (h->rtnl_handle == NULL) 239 if (rtnl_handler_register(h->rtnl_handle, &h->ifadd_handler) < 0) 242 if (rtnl_handler_register(h->rtnl_handle, &h->ifdel_handler) < 0) 248 rtnl_handler_unregister(h->rtnl_handle, &h->ifadd_handler); 250 rtnl_close(h->rtnl_handle); 268 rtnl_handler_unregister(h->rtnl_handle, &h->ifadd_handler); 269 rtnl_handler_unregister(h->rtnl_handle, &h->ifdel_handler) [all...] |
/external/iproute2/include/ |
libnetlink.h | 14 struct rtnl_handle struct 29 int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions) 32 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions, 36 void rtnl_close(struct rtnl_handle *rth); 37 int rtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type) 39 int rtnl_wilddump_req_filter(struct rtnl_handle *rth, int fam, int type, 42 int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, 45 int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n) 66 int rtnl_dump_filter_l(struct rtnl_handle *rth, 68 int rtnl_dump_filter_nc(struct rtnl_handle *rth [all...] |