Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dtun.c74 struct tun_struct *tun = (struct tun_struct *)dev->priv; in tun_net_xmit() local
76 DBG(KERN_INFO "%s: tun_net_xmit %d\n", tun->name, skb->len); in tun_net_xmit()
79 if (!tun->attached) in tun_net_xmit()
83 if (!(tun->flags & TUN_ONE_QUEUE)) { in tun_net_xmit()
86 if (skb_queue_len(&tun->readq) >= TUN_READQ_SIZE) in tun_net_xmit()
91 if (skb_queue_len(&tun->readq) >= dev->tx_queue_len) in tun_net_xmit()
94 skb_queue_tail(&tun->readq, skb); in tun_net_xmit()
97 if (tun->flags & TUN_FASYNC) in tun_net_xmit()
98 kill_fasync(&tun->fasync, SIGIO, POLL_IN); in tun_net_xmit()
99 wake_up_interruptible(&tun->read_wait); in tun_net_xmit()
[all …]
DMakefile243 obj-$(CONFIG_TUN) += tun.o
/linux-2.4.37.9/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 0700 /dev/net/tun
52 alias char-major-10-200 tun
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-2.4.37.9/drivers/media/video/
Dtuner.c617 struct tunertype *tun; in set_tv_freq() local
641 tun=&tuners[t->type]; in set_tv_freq()
642 if (freq < tun->thresh1) in set_tv_freq()
643 config = tun->VHF_L; in set_tv_freq()
644 else if (freq < tun->thresh2) in set_tv_freq()
645 config = tun->VHF_H; in set_tv_freq()
647 config = tun->UHF; in set_tv_freq()
724 div=freq + tun->IFPCoff; in set_tv_freq()
726 buffer[0] = tun->config; in set_tv_freq()
733 buffer[2] = tun->config; in set_tv_freq()
[all …]
/linux-2.4.37.9/include/linux/
Dif_tun.h27 #define DBG if(tun->debug)printk
/linux-2.4.37.9/
DMAINTAINERS1915 W: http://vtun.sourceforge.net/tun
/linux-2.4.37.9/Documentation/
Ddevices.txt401 200 = /dev/net/tun TAP/TUN network device
DConfigure.help10649 When a program opens /dev/net/tun, driver creates and registers
10659 The module will be called tun.o. If you want to compile it as a