Searched refs:nh_orig (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/sys/net/route/
H A Droute_ctl.c654 struct nhop_object *nh_orig; local
686 nh_orig = rnd_orig.rnd_nhop;
688 if (can_override_nhop(info, nh_orig) > 0) {
693 nhop_free(nh_orig);
924 struct nhop_object *nh_orig, struct nhop_object **nh_new)
934 if (((nh_orig->nh_flags & NHF_GATEWAY) &&
938 !sa_equal(info->rti_info[RTAX_IFA], nh_orig->nh_ifa->ifa_addr))) {
953 error = nhop_create_from_nhop(rnh, nh_orig, info, nh_new);
968 struct nhop_object *nh, *nh_orig, *nh_new; local
972 nh_orig
923 change_nhop(struct rib_head *rnh, struct rt_addrinfo *info, struct nhop_object *nh_orig, struct nhop_object **nh_new) argument
1027 struct nhop_object *nh, *nh_orig; local
1104 struct nhop_object *nh_orig; local
[all...]
H A Dnhop_ctl.c447 * 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, argument
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
[all...]
H A Droute_var.h260 int nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig,

Completed in 44 milliseconds