Lines Matching refs:tuntap_softc
119 struct tuntap_softc { struct
120 TAILQ_ENTRY(tuntap_softc) tun_list;
194 static TAILQ_HEAD(,tuntap_softc) tunhead = TAILQ_HEAD_INITIALIZER(tunhead);
220 static int tun_busy_locked(struct tuntap_softc *tp);
221 static void tun_unbusy_locked(struct tuntap_softc *tp);
222 static int tun_busy(struct tuntap_softc *tp);
223 static void tun_unbusy(struct tuntap_softc *tp);
346 tun_busy_locked(struct tuntap_softc *tp) in tun_busy_locked()
365 tun_unbusy_locked(struct tuntap_softc *tp) in tun_unbusy_locked()
378 tun_busy(struct tuntap_softc *tp) in tun_busy()
389 tun_unbusy(struct tuntap_softc *tp) in tun_unbusy()
554 struct tuntap_softc *tp; in tun_clone_create()
632 tun_destroy(struct tuntap_softc *tp, bool may_intr) in tun_destroy()
691 struct tuntap_softc *tp = ifp->if_softc; in tun_clone_destroy()
717 struct tuntap_softc *tp; in tun_uninit()
849 struct tuntap_softc *tp; in tun_create_device()
889 struct tuntap_softc *tp = ifp->if_softc; in tunstart()
925 struct tuntap_softc *tp = ifp->if_softc; in tunstart_l2()
992 struct tuntap_softc *tp; in tuncreate()
1054 struct tuntap_softc *tp; in tunrename()
1106 struct tuntap_softc *tp; in tunopen()
1175 struct tuntap_softc *tp; in tundtor()
1273 struct tuntap_softc *tp = ifp->if_softc; in tuninit()
1308 struct tuntap_softc *tp; in tunifinit()
1310 tp = (struct tuntap_softc *)xtp; in tunifinit()
1323 TUN_LOCK_ASSERT((struct tuntap_softc *)ifp->if_softc); in tun_caps_changed()
1343 struct tuntap_softc *tp = ifp->if_softc; in tun_vnethdr_set()
1380 struct tuntap_softc *tp; in tunifioctl()
1466 struct tuntap_softc *tp = ifp->if_softc; in tunoutput()
1555 struct tuntap_softc *tp = dev->si_drv1; in tunioctl()
1781 struct tuntap_softc *tp = dev->si_drv1; in tunread()
1838 tunwrite_l2(struct tuntap_softc *tp, struct mbuf *m, in tunwrite_l2()
1914 tunwrite_l3(struct tuntap_softc *tp, struct mbuf *m) in tunwrite_l3()
1971 struct tuntap_softc *tp; in tunwrite()
2037 struct tuntap_softc *tp = dev->si_drv1; in tunpoll()
2065 struct tuntap_softc *tp = dev->si_drv1; in tunkqfilter()
2100 struct tuntap_softc *tp = kn->kn_hook; in tunkqread()
2125 struct tuntap_softc *tp = kn->kn_hook; in tunkqwrite()
2136 struct tuntap_softc *tp = kn->kn_hook; in tunkqdetach()