Lines Matching refs:nh
95 struct nhop_object *nh)
100 nhop_set_pxtype_flag(nh, NHF_HOST);
102 nhop_set_pxtype_flag(nh, NHF_DEFAULT);
104 nhop_set_pxtype_flag(nh, 0);
110 rib6_augment_nh(u_int fibnum, struct nhop_object *nh)
117 if (nh->nh_mtu == 0) {
118 nh->nh_mtu = IN6_LINKMTU(nh->nh_ifp);
119 } else if (nh->nh_mtu > IN6_LINKMTU(nh->nh_ifp))
120 nh->nh_mtu = IN6_LINKMTU(nh->nh_ifp);
123 if (nhop_get_type(nh) == 0) {
125 if (nh->nh_flags & NHF_GATEWAY)
130 nhop_set_type(nh, nh_type);