Lines Matching refs:rtnh
5083 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
5101 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_add()
5106 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add()
5108 if (rtnh->rtnh_ifindex) in ip6_route_multipath_add()
5109 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
5111 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_add()
5113 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_add()
5134 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5149 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5158 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add()
5253 struct rtnexthop *rtnh; in ip6_route_multipath_del() local
5259 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_del()
5262 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del()
5264 if (rtnh->rtnh_ifindex) in ip6_route_multipath_del()
5265 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
5267 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_del()
5269 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_del()
5288 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()