Lines Matching defs:rth
31 struct rtnl_handle *rth;
51 if (rtnl_send(filter.rth, filter.flushb, filter.flushp) < 0) {
191 fn->nlmsg_seq = ++filter.rth->seq;
317 struct rtnl_handle rth;
430 xrtnl_open(&rth);
435 ll_init_map(&rth);
467 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0) {
474 static int rtnl_rtcache_request(struct rtnl_handle *rth, int family)
490 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
494 return xsendto(rth->fd, (void*)&req, sizeof(req), (struct sockaddr*)&nladdr, sizeof(nladdr));
524 struct rtnl_handle rth;
620 xrtnl_open(&rth);
622 ll_init_map(&rth);
652 filter.rth = &rth;
655 xrtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE);
657 xrtnl_dump_filter(&rth, print_route, stdout);
666 xrtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE);
667 } else if (rtnl_rtcache_request(&rth, do_ipv6) < 0) {
670 xrtnl_dump_filter(&rth, print_route, stdout);
679 struct rtnl_handle rth;
762 xrtnl_open(&rth);
764 ll_init_map(&rth);
783 if (rtnl_talk(&rth, &req.n, 0, 0, &req.n, NULL, NULL) < 0) {
823 if (rtnl_talk(&rth, &req.n, 0, 0, &req.n, NULL, NULL) < 0) {