Lines Matching refs:ifp
230 pfi_attach_ifnet(struct ifnet *ifp)
239 ifp->if_name, ifp->if_unit);
243 ifnet_lock_exclusive(ifp);
244 kif->pfik_ifp = ifp;
245 ifp->if_pf_kif = kif;
246 ifnet_lock_done(ifp);
255 pfi_detach_ifnet(struct ifnet *ifp)
261 if ((kif = (struct pfi_kif *)ifp->if_pf_kif) == NULL)
267 ifnet_lock_exclusive(ifp);
269 ifp->if_pf_kif = NULL;
270 ifnet_lock_done(ifp);
430 pfi_instance_add(struct ifnet *ifp, int net, int flags)
436 if (ifp == NULL)
438 ifnet_lock_shared(ifp);
439 TAILQ_FOREACH(ia, &ifp->if_addrhead, ifa_link) {
455 !(ifp->if_flags & IFF_BROADCAST)) {
460 !(ifp->if_flags & IFF_POINTOPOINT)) {
503 ifnet_lock_done(ifp);