Lines Matching refs:nh_orig
447 * Creates new nexthop based on @nh_orig and augmentation data from @info.
456 nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig,
469 nh_priv->nh_family = nh_orig->nh_priv->nh_family;
470 nh_priv->rt_flags = nh_orig->nh_priv->rt_flags;
471 nh_priv->nh_type = nh_orig->nh_priv->nh_type;
473 nh->nh_ifp = nh_orig->nh_ifp;
474 nh->nh_ifa = nh_orig->nh_ifa;
475 nh->nh_aifp = nh_orig->nh_aifp;
476 nh->nh_mtu = nh_orig->nh_mtu;
477 nh->nh_flags = nh_orig->nh_flags;
478 memcpy(&nh->gw_sa, &nh_orig->gw_sa, nh_orig->gw_sa.sa_len);