Searched refs:rta_mpath_nh (Results 1 – 4 of 4) sorted by relevance
49 struct rta_mpath_nh { struct59 #define _OUT(_field) offsetof(struct rta_mpath_nh, _field) argument81 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;
397 struct rta_mpath_nh { struct405 #define _OUT(_field) offsetof(struct rta_mpath_nh, _field) argument421 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()
475 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()
240 struct rta_mpath_nh *nhop = rt.rta_multipath.nhops[i]; in p_rtentry_netlink()