Home
last modified time | relevance | path

Searched refs:rta_mpath_nh (Results 1 – 4 of 4) sorted by relevance

/freebsd-head/sys/netlink/
HDnetlink_snl_route_parsers.h49 struct rta_mpath_nh { struct
59 #define _OUT(_field) offsetof(struct rta_mpath_nh, _field) argument
81 struct rta_mpath_nh *target = (struct rta_mpath_nh *)_target; in _cb_p_mp_nh()
89 sizeof(struct rta_mpath_nh), _fp_p_mp_nh, _nla_p_mp_nh,
94 struct rta_mpath_nh **nhops;
/freebsd-head/sys/netlink/route/
HDrt.c397 struct rta_mpath_nh { struct
405 #define _OUT(_field) offsetof(struct rta_mpath_nh, _field) argument
421 struct rta_mpath_nh *attrs = (struct rta_mpath_nh *)_attrs; in post_p_rtnh()
430 struct rta_mpath_nh nhops[0];
446 mp = npt_alloc(npt, (max_nhops + 2) * sizeof(struct rta_mpath_nh)); in nlattr_get_multipath()
450 struct rta_mpath_nh *mpnh; in nlattr_get_multipath()
818 create_nexthop_one(struct nl_parsed_route *attrs, struct rta_mpath_nh *mpnh, in create_nexthop_one()
862 struct rta_mpath_nh *mpnh = &attrs->rta_multipath->nhops[i]; in create_nexthop_from_attrs()
/freebsd-head/sbin/route/
HDroute_netlink.c475 struct rta_mpath_nh *nh, bool first) in print_nlmsg_route_nhop()
548 struct rta_mpath_nh *nh = r.rta_multipath.nhops[i]; in print_nlmsg_route()
556 struct rta_mpath_nh nh = { in print_nlmsg_route()
844 struct rta_mpath_nh *nh = r->rta_multipath.nhops[i]; in flushroute_one()
/freebsd-head/usr.bin/netstat/
HDroute_netlink.c240 struct rta_mpath_nh *nhop = rt.rta_multipath.nhops[i]; in p_rtentry_netlink()