Lines Matching refs:nh
54 struct nhop_object *nh)
61 nhop_set_pxtype_flag(nh, NHF_HOST);
74 if (in_broadcast(addr4->sin_addr, nh->nh_ifp))
77 nhop_set_pxtype_flag(nh, NHF_DEFAULT);
79 nhop_set_pxtype_flag(nh, 0);
81 nhop_set_broadcast(nh, is_broadcast);
87 rib4_augment_nh(u_int fibnum, struct nhop_object *nh)
94 if (nh->nh_mtu == 0) {
95 nh->nh_mtu = nh->nh_ifp->if_mtu;
96 } else if (nh->nh_mtu > nh->nh_ifp->if_mtu)
97 nh->nh_mtu = nh->nh_ifp->if_mtu;
100 if (nhop_get_type(nh) == 0) {
102 if (nh->nh_flags & NHF_GATEWAY)
107 nhop_set_type(nh, nh_type);
155 in_ifadownkill(const struct rtentry *rt, const struct nhop_object *nh,
160 if (nh->nh_ifa != ap->ifa)
163 if ((nhop_get_rtflags(nh) & RTF_STATIC) != 0 && ap->del == 0)