Lines Matching refs:tuntap
83 struct tuntap_info tuntap; member
160 char *dev_name = lp->tp.info.tuntap.dev_name; in tuntap_open()
183 lp->tp.info.tuntap.fd = fd; in tuntap_open()
189 simc_close(lp->tp.info.tuntap.fd); in tuntap_close()
190 lp->tp.info.tuntap.fd = -1; in tuntap_close()
195 return simc_read(lp->tp.info.tuntap.fd, in tuntap_read()
201 return simc_write(lp->tp.info.tuntap.fd, (*skb)->data, (*skb)->len); in tuntap_write()
211 return simc_poll(lp->tp.info.tuntap.fd); in tuntap_poll()
257 strscpy(lp->tp.info.tuntap.dev_name, dev_name, in tuntap_probe()
258 sizeof(lp->tp.info.tuntap.dev_name)); in tuntap_probe()
264 lp->tp.info.tuntap.fd = -1; in tuntap_probe()