Searched refs:ifops (Results 1 – 4 of 4) sorted by relevance
| /netbsd/src/sys/net/npf/ |
| D | npf_if.c | 79 npf_ifmap_init(npf_t *npf, const npf_ifops_t *ifops) in npf_ifmap_init() argument 83 KASSERT(ifops != NULL); in npf_ifmap_init() 84 ifops->flush(npf, (void *)(uintptr_t)0); in npf_ifmap_init() 90 npf->ifops = ifops; in npf_ifmap_init() 147 if ((ifp = npf->ifops->lookup(npf, ifname)) != NULL) { in npf_ifmap_register() 148 npf->ifops->setmeta(npf, ifp, (void *)(uintptr_t)id); in npf_ifmap_register() 159 npf->ifops->flush(npf, (void *)(uintptr_t)NPF_IFMAP_NOID); in npf_ifmap_flush() 190 const unsigned id = (uintptr_t)npf->ifops->getmeta(npf, ifp); in npf_ifmap_getid() 228 const npf_ifops_t *ifops = npf->ifops; in npfk_ifmap_attach() local 232 id = npf_ifmap_lookup(npf, ifops->getname(npf, ifp)); in npfk_ifmap_attach() [all …]
|
| D | npf_ifaddr.c | 52 const npf_ifops_t *ifops = npf->ifops; in lookup_ifnet_table() local 60 ifname = ifops->getname(npf, ifp); in lookup_ifnet_table()
|
| D | npf.c | 76 const npf_ifops_t *ifops, void *arg) in npfk_create() argument 88 npf_ifmap_init(npf, ifops); in npfk_create()
|
| D | npf_impl.h | 243 const npf_ifops_t * ifops; member
|