Searched refs:tun (Results 1 – 8 of 8) sorted by relevance
74 struct tun_struct *tun = (struct tun_struct *)dev->priv; in tun_net_xmit() local76 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 …]
243 obj-$(CONFIG_TUN) += tun.o
19 In order to use the driver a program has to open /dev/net/tun and issue a26 IP packets (with tun) or ethernet frames (with tap). Which one is being used29 The package from http://vtun.sourceforge.net/tun contains two simple examples30 for how to use tun and tap devices. Both programs work like a bridge between39 mknod /dev/net/tun c 10 20042 e.g. chmod 0700 /dev/net/tun52 alias char-major-10-200 tun58 modprobe tun62 /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 …]
617 struct tunertype *tun; in set_tv_freq() local641 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 …]
27 #define DBG if(tun->debug)printk
1915 W: http://vtun.sourceforge.net/tun
401 200 = /dev/net/tun TAP/TUN network device
10649 When a program opens /dev/net/tun, driver creates and registers10659 The module will be called tun.o. If you want to compile it as a