Lines Matching defs:rth
108 if (rtnl_send(&rth, filter.flushb, filter.flushp) < 0) {
283 fn->nlmsg_seq = ++rth.seq;
893 ll_init_map(&rth);
940 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
946 static int rtnl_rtcache_request(struct rtnl_handle *rth, int family)
962 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
966 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr));
1129 ll_init_map(&rth);
1172 if (rtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE) < 0) {
1177 if (rtnl_dump_filter(&rth, print_route, stdout, NULL, NULL) < 0) {
1208 if (rtnl_wilddump_request(&rth, do_ipv6, RTM_GETROUTE) < 0) {
1213 if (rtnl_rtcache_request(&rth, do_ipv6) < 0) {
1219 if (rtnl_dump_filter(&rth, print_route, stdout, NULL, NULL) < 0) {
1309 ll_init_map(&rth);
1333 if (rtnl_talk(&rth, &req.n, 0, 0, &req.n, NULL, NULL) < 0)
1374 if (rtnl_talk(&rth, &req.n, 0, 0, &req.n, NULL, NULL) < 0)