Home | History | Annotate | Download | only in npf

Lines Matching refs:npf

31  * NPF network interface handling module.
50 lookup_ifnet_table(npf_t *npf, ifnet_t *ifp)
52 const npf_ifops_t *ifops = npf->ifops;
60 ifname = ifops->getname(npf, ifp);
64 nc = npf_config_enter(npf);
75 /* Create a new NPF table for the interface. */
82 npf_config_exit(npf);
88 replace_ifnet_table(npf_t *npf, npf_table_t *newt)
90 npf_tableset_t *ts = atomic_load_relaxed(&npf->config)->tableset;
93 KASSERT(npf_config_locked_p(npf));
101 npf_config_sync(npf);
102 npf_config_exit(npf);
109 npf_ifaddr_sync(npf_t *npf, ifnet_t *ifp)
117 * => Acquires npf-config-lock and kernel-lock on success.
119 t = lookup_ifnet_table(npf, ifp);
150 replace_ifnet_table(npf, t);
154 npf_ifaddr_flush(npf_t *npf, ifnet_t *ifp)
161 t = lookup_ifnet_table(npf, ifp);
165 replace_ifnet_table(npf, t);
169 npf_ifaddr_syncall(npf_t *npf)
176 npf_ifaddr_sync(npf, ifp);