Lines Matching refs:rtnh
5253 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
5271 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_add()
5276 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add()
5278 if (rtnh->rtnh_ifindex) in ip6_route_multipath_add()
5279 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
5281 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_add()
5283 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_add()
5304 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5319 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5328 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add()
5437 struct rtnexthop *rtnh; in ip6_route_multipath_del() local
5444 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_del()
5447 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del()
5449 if (rtnh->rtnh_ifindex) in ip6_route_multipath_del()
5450 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
5452 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_del()
5454 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_del()
5473 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()