Lines Matching refs:tuntap
82 struct tuntap_info tuntap; member
163 char *dev_name = lp->tp.info.tuntap.dev_name; in tuntap_open()
186 lp->tp.info.tuntap.fd = fd; in tuntap_open()
192 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
193 lp->tp.info.tuntap.fd = -1; in tuntap_close()
198 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
204 return simc_write(lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); in tuntap_write()
214 return simc_poll(lp->tp.info.tuntap.fd); in tuntap_poll()
251 strlcpy(lp->tp.info.tuntap.dev_name, dev_name, in tuntap_probe()
252 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
258 lp->tp.info.tuntap.fd = -1; in tuntap_probe()