Lines Matching refs:tun
19 In order to use the driver a program has to open /dev/net/tun and issue a
26 IP packets (with tun) or ethernet frames (with tap). Which one is being used
29 The package from http://vtun.sourceforge.net/tun contains two simple examples
30 for how to use tun and tap devices. Both programs work like a bridge between
39 mknod /dev/net/tun c 10 200
42 e.g. chmod 0666 /dev/net/tun
47 unprivileged users, then you need the /dev/net/tun device to be usable by
58 modprobe tun
62 /dev/net/tun is being opened.
68 "tun%d"), but (as far as I can see) this can be any valid network device name.
80 if( (fd = open("/dev/net/tun", O_RDWR)) < 0 )
143 if ((fd = open("/dev/net/tun", O_RDWR)) < 0)
217 This means that you have to read/write IP packets when you are using tun and