Lines Matching refs:rtnh
5232 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
5250 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_add()
5255 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add()
5257 if (rtnh->rtnh_ifindex) in ip6_route_multipath_add()
5258 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
5260 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_add()
5262 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_add()
5283 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5298 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5307 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add()
5423 struct rtnexthop *rtnh; in ip6_route_multipath_del() local
5430 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_del()
5433 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del()
5435 if (rtnh->rtnh_ifindex) in ip6_route_multipath_del()
5436 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
5438 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_del()
5440 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_del()
5459 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()