Lines Matching refs:tuntap
85 struct tuntap_info tuntap; member
166 char *dev_name = lp->tp.info.tuntap.dev_name; in tuntap_open()
189 lp->tp.info.tuntap.fd = fd; in tuntap_open()
195 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
196 lp->tp.info.tuntap.fd = -1; in tuntap_close()
201 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
207 return simc_write(lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); in tuntap_write()
217 return simc_poll(lp->tp.info.tuntap.fd); in tuntap_poll()
254 strlcpy(lp->tp.info.tuntap.dev_name, dev_name, in tuntap_probe()
255 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
261 lp->tp.info.tuntap.fd = -1; in tuntap_probe()