Lines Matching refs:tuntap
87 struct tuntap_info tuntap; member
168 char *dev_name = lp->tp.info.tuntap.dev_name; in tuntap_open()
191 lp->tp.info.tuntap.fd = fd; in tuntap_open()
197 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
198 lp->tp.info.tuntap.fd = -1; in tuntap_close()
203 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
209 return simc_write(lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); in tuntap_write()
219 return simc_poll(lp->tp.info.tuntap.fd); in tuntap_poll()
256 strlcpy(lp->tp.info.tuntap.dev_name, dev_name, in tuntap_probe()
257 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
263 lp->tp.info.tuntap.fd = -1; in tuntap_probe()