Home
last modified time | relevance | path

Searched refs:rta_multipath (Results 1 – 6 of 6) sorted by relevance

/freebsd/usr.bin/netstat/
H A Droute_netlink.c236 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()
/freebsd/sbin/route/
H A Droute_netlink.c541 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()
/freebsd/sys/netlink/route/
H A Drt.c485 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
/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h113 struct rta_mpath rta_multipath; member
141 { .type = NL_RTA_MULTIPATH, .off = _OUT(rta_multipath), .cb = nlattr_get_multipath },
/freebsd/usr.sbin/arp/
H A Darp_netlink.c132 if (r.rta_multipath.num_nhops > 0 || (r.rta_rtflags & RTF_GATEWAY)) in guess_ifindex()
/freebsd/usr.sbin/ndp/
H A Dndp_netlink.c167 if (r.rta_multipath.num_nhops > 0 || (r.rta_rtflags & RTF_GATEWAY)) in guess_ifindex()