Lines Matching refs:ifops
79 npf_ifmap_init(npf_t *npf, const npf_ifops_t *ifops)
83 KASSERT(ifops != NULL);
84 ifops->flush(npf, (void *)(uintptr_t)0);
90 npf->ifops = ifops;
147 if ((ifp = npf->ifops->lookup(npf, ifname)) != NULL) {
148 npf->ifops->setmeta(npf, ifp, (void *)(uintptr_t)id);
159 npf->ifops->flush(npf, (void *)(uintptr_t)NPF_IFMAP_NOID);
190 const unsigned id = (uintptr_t)npf->ifops->getmeta(npf, ifp);
228 const npf_ifops_t *ifops = npf->ifops;
232 id = npf_ifmap_lookup(npf, ifops->getname(npf, ifp));
233 ifops->setmeta(npf, ifp, (void *)(uintptr_t)id);
242 npf->ifops->setmeta(npf, ifp, (void *)(uintptr_t)NPF_IFMAP_NOID);