Implementation of tun_netbsd.c
