Searched refs:TUN_OPEN (Results 1 – 2 of 2) sorted by relevance
39 #define TUN_OPEN 0x0001 macro50 #define TUN_READY (TUN_OPEN | TUN_INITED | TUN_IASET)
201 KASSERTMSG(!tp || (tp->tun_flags & (TUN_INITED|TUN_OPEN)) == TUN_OPEN, in tun_find_zunit()318 if (tp->tun_flags & TUN_OPEN) { in tun_clone_destroy()368 if (tp->tun_flags & TUN_OPEN) { in tunopen()374 tp->tun_flags |= TUN_OPEN; in tunopen()405 tp->tun_flags &= ~TUN_OPEN; in tunclose()