summaryrefslogtreecommitdiff
path: root/yocto/meta-bsp-rvphone/recipes-bsp/esp32spid/src/tun.h
blob: bcfdac530defcbe9c1f86f27ef3a77a224cf5748 (plain)
1
2
3
4
5
6
7
8
#include <stdint.h>

#define TUN_OK      0
#define TUN_ERR     -1

void *tun_read(void *arg);
int tun_write(unsigned char *buffer, uint16_t len);
int tun_init(void);