#include <openssl/hmac.h>
#include <zlib.h>
-#include <lzo1x.h>
+#include LZO1X_H
#include "avl_tree.h"
#include "conf.h"
#include "connection.h"
#include "device.h"
#include "ethernet.h"
-#include "event.h"
+#include "tevent.h"
#include "graph.h"
#include "list.h"
#include "logger.h"
send_udppacket(n, &packet);
}
- n->mtuevent = xmalloc(sizeof(*n->mtuevent));
+ n->mtuevent = new_tevent();
n->mtuevent->handler = (event_handler_t)send_mtu_probe;
n->mtuevent->data = n;
n->mtuevent->time = now + 1;
- event_add(n->mtuevent);
+ tevent_add(n->mtuevent);
}
void mtu_probe_h(node_t *n, vpn_packet_t *packet) {