summaryrefslogtreecommitdiff
path: root/yocto/esp32d/tun.h
diff options
context:
space:
mode:
Diffstat (limited to 'yocto/esp32d/tun.h')
-rw-r--r--yocto/esp32d/tun.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/yocto/esp32d/tun.h b/yocto/esp32d/tun.h
new file mode 100644
index 0000000..793a4c9
--- /dev/null
+++ b/yocto/esp32d/tun.h
@@ -0,0 +1,5 @@
+#include <sys/types.h>
+
+ssize_t tun_read(unsigned char *buffer, size_t buf_size);
+ssize_t tun_write(unsigned char *buffer, size_t buf_len);
+int tun_init(char *name); \ No newline at end of file