Lines Matching refs:rth
39 struct rtnl_handle *rth; member
218 if (rtnl_send_check(G_filter.rth, G_filter.flushb, G_filter.flushp) < 0) { in flush_update()
291 fn->nlmsg_seq = ++G_filter.rth->seq; in print_addrinfo()
444 struct rtnl_handle rth; in ipaddr_list_or_flush() local
497 xrtnl_open(&rth); in ipaddr_list_or_flush()
499 xrtnl_wilddump_request(&rth, preferred_family, RTM_GETLINK); in ipaddr_list_or_flush()
500 xrtnl_dump_filter(&rth, store_nlmsg, &linfo); in ipaddr_list_or_flush()
512 G_filter.rth = &rth; in ipaddr_list_or_flush()
515 xrtnl_wilddump_request(&rth, G_filter.family, RTM_GETADDR); in ipaddr_list_or_flush()
517 xrtnl_dump_filter(&rth, print_addrinfo, NULL); in ipaddr_list_or_flush()
528 xrtnl_wilddump_request(&rth, G_filter.family, RTM_GETADDR); in ipaddr_list_or_flush()
529 xrtnl_dump_filter(&rth, store_nlmsg, &ainfo); in ipaddr_list_or_flush()
634 struct rtnl_handle rth; in ipaddr_modify() local
794 xrtnl_open(&rth); in ipaddr_modify()
796 ll_init_map(&rth); in ipaddr_modify()
818 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0) in ipaddr_modify()