Lines Matching refs:rtnh
5244 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
5262 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_add()
5267 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add()
5269 if (rtnh->rtnh_ifindex) in ip6_route_multipath_add()
5270 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
5272 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_add()
5274 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_add()
5295 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5310 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5319 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add()
5428 struct rtnexthop *rtnh; in ip6_route_multipath_del() local
5435 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_del()
5438 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del()
5440 if (rtnh->rtnh_ifindex) in ip6_route_multipath_del()
5441 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
5443 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_del()
5445 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_del()
5464 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()