Lines Matching defs:ifp
1229 rtredirect(struct ifnet *ifp, struct sockaddr *dst, struct sockaddr *gateway,
1238 unsigned int ifscope = (ifp != NULL) ? ifp->if_index : IFSCOPE_NONE;
3176 rte_if_ref(struct ifnet *ifp, int cnt)
3186 old = atomic_add_32_ov(&ifp->if_route_refcnt, cnt);
3188 panic("%s: ifp=%p negative route refcnt!", __func__, ifp);
3201 if ((ifp->if_idle_flags & IFRF_IDLE_NOTIFY) && cnt < 0 && old == 1) {
3210 strlcpy(&ev_data.if_name[0], ifp->if_name, IFNAMSIZ);
3212 ev_data.if_family = ifp->if_family;
3213 ev_data.if_unit = ifp->if_unit;