Lines Matching refs:tuntap_drivers
278 } tuntap_drivers[] = { variable
331 #define NDRV nitems(tuntap_drivers)
418 drv = &tuntap_drivers[i]; in tuntap_name2info()
455 tuntap_drivers[i].ident_flags) in tuntap_driver_from_flags()
456 return (&tuntap_drivers[i]); in tuntap_driver_from_flags()
661 .match_f = tuntap_drivers[i].clone_match_fn, in vnet_tun_init()
662 .create_f = tuntap_drivers[i].clone_create_fn, in vnet_tun_init()
663 .destroy_f = tuntap_drivers[i].clone_destroy_fn, in vnet_tun_init()
666 ifc_attach_cloner(tuntap_drivers[i].cdevsw.d_name, &req); in vnet_tun_init()
700 for (i = 0; i < nitems(tuntap_drivers); ++i) { in tun_uninit()
701 drv = &tuntap_drivers[i]; in tun_uninit()
718 for (i = 0; i < nitems(tuntap_drivers); ++i) { in tuntap_driver_from_ifnet()
719 drv = &tuntap_drivers[i]; in tuntap_driver_from_ifnet()
736 for (i = 0; i < nitems(tuntap_drivers); ++i) { in tuntapmodevent()
737 drv = &tuntap_drivers[i]; in tuntapmodevent()