summaryrefslogtreecommitdiff
path: root/yocto/esp32d/tun.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-05-28 00:00:25 +0200
committerUros Majstorovic <majstor@majstor.org>2025-05-28 00:00:25 +0200
commit040f2299065caf64dbe5228b91f8abf8add9862b (patch)
treefe8371912709f4a52c43ed8e7cc5f864a225b6bc /yocto/esp32d/tun.h
parent51181684435dc6cf1cbeaed592adb4340a33fb1e (diff)
added mikrophone yocto layer; added esp32 driver;HEADmaster
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