Lines Matching refs:tun_softc

69 static LIST_HEAD(, tun_softc) tun_softc_list;
70 static LIST_HEAD(, tun_softc) tunz_softc_list;
82 static void tunattach0(struct tun_softc *);
83 static void tun_enable(struct tun_softc *, const struct ifaddr *);
89 static struct tun_softc *tun_find_unit(dev_t);
90 static struct tun_softc *tun_find_zunit(int);
168 static struct tun_softc *
171 struct tun_softc *tp; in tun_find_unit()
189 static struct tun_softc *
192 struct tun_softc *tp; in tun_find_zunit()
208 tun_init(struct tun_softc *tp, int unit) in tun_init()
222 tun_fini(struct tun_softc *tp) in tun_fini()
234 static struct tun_softc *
237 struct tun_softc *tp; in tun_alloc()
246 tun_recycle(struct tun_softc *tp) in tun_recycle()
253 tun_free(struct tun_softc *tp) in tun_free()
263 struct tun_softc *tp; in tun_clone_create()
283 tunattach0(struct tun_softc *tp) in tunattach0()
309 struct tun_softc *tp = (void *)ifp; in tun_clone_destroy()
350 struct tun_softc *tp; in tunopen()
391 struct tun_softc *tp; in tunclose()
444 tun_enable(struct tun_softc *tp, const struct ifaddr *ifa) in tun_enable()
500 struct tun_softc *tp = (struct tun_softc *)(ifp->if_softc); in tun_ioctl()
557 struct tun_softc *tp = ifp->if_softc; in tun_output()
660 struct tun_softc *tp = cookie; in tun_i_softintr()
670 struct tun_softc *tp = cookie; in tun_o_softintr()
683 struct tun_softc *tp; in tunioctl()
788 struct tun_softc *tp; in tunread()
854 struct tun_softc *tp; in tunwrite()
1007 struct tun_softc *tp = ifp->if_softc; in tunstart()
1031 struct tun_softc *tp; in tunpoll()
1066 struct tun_softc *tp = kn->kn_hook; in filt_tunrdetach()
1076 struct tun_softc *tp = kn->kn_hook; in filt_tunread()
1109 struct tun_softc *tp; in tunkqfilter()