Lines Matching defs:ifp
83 afm_alloc(struct ifnet *ifp)
94 head->afh_ifp = ifp;
103 afm_dealloc(struct ifnet *ifp)
107 if ((head = afmhead_if(ifp)) == NULL)
110 afm_removeall(ifp);
119 afm_top(struct ifnet *ifp)
123 if ((head = afmhead_if(ifp)) == NULL)
130 afm_add(struct ifnet *ifp, struct atm_flowmap *flowmap)
135 if ((head = afmhead_if(ifp)) == NULL)
171 afm_removeall(struct ifnet *ifp)
176 if ((head = afmhead_if(ifp)) == NULL)
185 afm_lookup(struct ifnet *ifp, int vpi, int vci)
190 if ((head = afmhead_if(ifp)) == NULL)
269 afm_match(struct ifnet *ifp, struct flowinfo *flow)
273 if ((head = afmhead_if(ifp)) == NULL)
292 afmhead_if(struct ifnet *ifp)
297 if (head->afh_ifp == ifp)
341 struct ifnet *ifp;
359 ifp = ifunit(flowmap->af_ifname);
360 if (ifp == NULL)
363 IFNET_LOCK(ifp);
364 if ((ifp->if_flags & IFF_RUNNING) == 0)
367 error = if_ioctl(ifp, cmd, addr);
368 IFNET_UNLOCK(ifp);