Home
last modified time | relevance | path

Searched refs:tun_pgid (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/sys/net/
Dif_tun.c327 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_clone_destroy()
328 fownsignal(tp->tun_pgid, SIGIO, POLL_HUP, 0, NULL); in tun_clone_destroy()
407 tp->tun_pgid = 0; in tunclose()
646 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_output()
662 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_i_softintr()
663 fownsignal(tp->tun_pgid, SIGIO, POLL_IN, POLLIN|POLLRDNORM, in tun_i_softintr()
672 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_o_softintr()
673 fownsignal(tp->tun_pgid, SIGIO, POLL_OUT, POLLOUT|POLLWRNORM, in tun_o_softintr()
763 error = fsetown(&tp->tun_pgid, cmd, data); in tunioctl()
768 error = fgetown(tp->tun_pgid, cmd, data); in tunioctl()
[all …]
Dif_tun.h52 pid_t tun_pgid; /* PID or process group ID */ member