Home
last modified time | relevance | path

Searched refs:tun (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/drivers/net/
Dtun.c80 #define tun_debug(level, tun, fmt, args...) \ argument
82 if (tun->debug) \
83 netdev_printk(level, tun->dev, fmt, ##args); \
91 #define tun_debug(level, tun, fmt, args...) \ argument
94 netdev_printk(level, tun->dev, fmt, ##args); \
112 struct tun_struct *tun; member
143 struct tun_struct *tun; member
151 static int tun_attach(struct tun_struct *tun, struct file *file) in tun_attach() argument
158 netif_tx_lock_bh(tun->dev); in tun_attach()
161 if (tfile->tun) in tun_attach()
[all …]
DMakefile21 obj-$(CONFIG_TUN) += tun.o
DKconfig208 When a program opens /dev/net/tun, driver creates and registers
217 will be called tun.
/linux-3.4.99/drivers/staging/media/go7007/
Dwis-sony-tuner.c84 struct sony_tunertype *tun; in set_freq() local
87 tun = &sony_tuners[t->type - 200]; in set_freq()
88 if (freq < tun->thresh1) { in set_freq()
90 band_select = tun->VHF_L; in set_freq()
91 } else if (freq < tun->thresh2) { in set_freq()
93 band_select = tun->VHF_H; in set_freq()
96 band_select = tun->UHF; in set_freq()
100 n = freq + tun->IFPCoff; in set_freq()
104 buffer[2] = tun->config; in set_freq()
608 struct v4l2_tuner *tun = arg; local
[all …]
/linux-3.4.99/drivers/media/common/tuners/
Dtuner-simple.c114 struct tunertype *tun; member
237 struct tunertype *tun = priv->tun; in simple_tuner_params() local
240 for (i = 0; i < tun->count; i++) in simple_tuner_params()
241 if (desired_type == tun->params[i].type) in simple_tuner_params()
245 if (i == tun->count) { in simple_tuner_params()
252 tuner_param_name(tun->params[i].type)); in simple_tuner_params()
254 return &tun->params[i]; in simple_tuner_params()
668 struct tunertype *tun; in simple_set_radio_freq() local
676 tun = priv->tun; in simple_set_radio_freq()
678 for (j = tun->count-1; j > 0; j--) in simple_set_radio_freq()
[all …]
/linux-3.4.99/Documentation/networking/
Dtuntap.txt19 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.
[all …]
/linux-3.4.99/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt1204 helper do the host setup for you. This involves insmod-ing the tun.o
1216 kernel or as the tun.o module.
1423 Also, the /dev/net/tun device must be writable by the user running
1428 host# chmod 666 /dev/net/tun
1438 devices and chgrp /dev/net/tun to that group with mode 664 or 660.
/linux-3.4.99/tools/power/cpupower/po/
Dde.po403 " [nur der Administrator kann dies tun] *\n"
/linux-3.4.99/Documentation/
Ddevices.txt414 200 = /dev/net/tun TAP/TUN network device
/linux-3.4.99/
DMAINTAINERS6804 W: http://vtun.sourceforge.net/tun