Lines Matching refs:if_softc
632 TUN2IFP(tp)->if_softc = NULL; in tun_destroy()
645 struct tuntap_softc *tp = ifp->if_softc; in tun_clone_destroy()
818 struct tuntap_softc *tp = ifp->if_softc; in tunstart()
854 struct tuntap_softc *tp = ifp->if_softc; in tunstart_l2()
942 ifp->if_softc = tp; in tuncreate()
1002 tp = ifp->if_softc; in tunrename()
1186 struct tuntap_softc *tp = ifp->if_softc; in tuninit()
1236 TUN_LOCK_ASSERT((struct tuntap_softc *)ifp->if_softc); in tun_caps_changed()
1256 struct tuntap_softc *tp = ifp->if_softc; in tun_vnethdr_set()
1301 tp = ifp->if_softc; in tunifioctl()
1379 struct tuntap_softc *tp = ifp->if_softc; in tunoutput()