Home | History | Annotate | Download | only in libtun

Lines Matching defs:error

45 	int error;
47 error = devsw_attach("tun", NULL, &tun_bmajor,
49 if (error != 0)
50 panic("tun devsw attach failed: %d", error);
52 error = rump_vfs_makeonedevnode(S_IFCHR, "/dev/tun", tun_cmajor,
54 if (error != 0)
55 panic("cannot create tun device node: %d", error);
57 error = rump_vfs_makedevnodes(S_IFCHR, "/dev/tun", '0', tun_cmajor,
59 if (error != 0)
60 panic("cannot create tun[0-4] device node: %d", error);