Lines Matching refs:rtnh
5231 struct rtnexthop *rtnh; in ip6_route_multipath_add() local
5249 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_add()
5254 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add()
5256 if (rtnh->rtnh_ifindex) in ip6_route_multipath_add()
5257 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_add()
5259 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_add()
5261 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_add()
5282 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5297 rt->fib6_nh->fib_nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()
5306 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add()
5422 struct rtnexthop *rtnh; in ip6_route_multipath_del() local
5429 rtnh = (struct rtnexthop *)cfg->fc_mp; in ip6_route_multipath_del()
5432 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del()
5434 if (rtnh->rtnh_ifindex) in ip6_route_multipath_del()
5435 r_cfg.fc_ifindex = rtnh->rtnh_ifindex; in ip6_route_multipath_del()
5437 attrlen = rtnh_attrlen(rtnh); in ip6_route_multipath_del()
5439 struct nlattr *nla, *attrs = rtnh_attrs(rtnh); in ip6_route_multipath_del()
5458 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()