Lines Matching refs:rtnh
5030 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
5048 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_add()
5053 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add()
5055 if (rtnh->rtnh_ifindex) in ip6_route_multipath_add()
5056 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
5058 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_add()
5060 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_add()
5073 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5088 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5097 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add()
5196 struct rtnexthop *rtnh; in ip6_route_multipath_del() local
5202 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_del()
5205 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del()
5207 if (rtnh->rtnh_ifindex) in ip6_route_multipath_del()
5208 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
5210 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_del()
5212 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_del()
5224 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()