#include "../device.h"
#include "../logger.h"
#include "../names.h"
-#include "../net.h"
#include "../route.h"
-#include "../utils.h"
#include "../xalloc.h"
-#include "../device.h"
typedef enum device_type_t {
DEVICE_TYPE_TUN,
}
static bool read_packet(vpn_packet_t *packet) {
- int inlen;
+ size_t inlen;
switch(device_type) {
case DEVICE_TYPE_TUN: