Lines Matching refs:tuntap
85 struct tuntap_info tuntap; member
162 char *dev_name = lp->tp.info.tuntap.dev_name; in tuntap_open()
185 lp->tp.info.tuntap.fd = fd; in tuntap_open()
191 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
192 lp->tp.info.tuntap.fd = -1; in tuntap_close()
197 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
203 return simc_write(lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); in tuntap_write()
213 return simc_poll(lp->tp.info.tuntap.fd); in tuntap_poll()
250 strlcpy(lp->tp.info.tuntap.dev_name, dev_name, in tuntap_probe()
251 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
257 lp->tp.info.tuntap.fd = -1; in tuntap_probe()