Searched refs:rta_multipath (Results 1 – 6 of 6) sorted by relevance
236 if (rt.rta_multipath.num_nhops != 0) { in p_rtentry_netlink()239 for (uint32_t i = 0; i < rt.rta_multipath.num_nhops; i++) { in p_rtentry_netlink()240 struct rta_mpath_nh *nhop = rt.rta_multipath.nhops[i]; in p_rtentry_netlink()
541 if (r.rta_multipath.num_nhops != 0) { in print_nlmsg_route()547 for (uint32_t i = 0; i < r.rta_multipath.num_nhops; i++) { in print_nlmsg_route()548 struct rta_mpath_nh *nh = r.rta_multipath.nhops[i]; in print_nlmsg_route()842 if (r->rta_multipath.num_nhops != 0) { in flushroute_one()843 for (uint32_t i = 0; i < r->rta_multipath.num_nhops; i++) { in flushroute_one()844 struct rta_mpath_nh *nh = r->rta_multipath.nhops[i]; in flushroute_one()
485 struct rta_mpath *rta_multipath;511 { .type = NL_RTA_MULTIPATH, .off = _OUT(rta_multipath), .cb = nlattr_get_multipath },855 if (attrs->rta_multipath != NULL) { in create_nexthop_from_attrs() 858 int num_nhops = attrs->rta_multipath->num_nhops; in create_nexthop_from_attrs() 862 struct rta_mpath_nh *mpnh = &attrs->rta_multipath->nhops[i]; in create_nexthop_from_attrs() 473 struct rta_mpath *rta_multipath; global() member
113 struct rta_mpath rta_multipath; member141 { .type = NL_RTA_MULTIPATH, .off = _OUT(rta_multipath), .cb = nlattr_get_multipath },
132 if (r.rta_multipath.num_nhops > 0 || (r.rta_rtflags & RTF_GATEWAY)) in guess_ifindex()
167 if (r.rta_multipath.num_nhops > 0 || (r.rta_rtflags & RTF_GATEWAY)) in guess_ifindex()