]> git.meshlink.io Git - meshlink/blobdiff - src/route.h
Avoid allocating packet buffers unnecessarily.
[meshlink] / src / route.h
index 0d13ad601e78883fefe179b2423c27654f5056fb..284fc69a6733bffbda0d0b101f642c466dc3310b 100644 (file)
@@ -1,6 +1,9 @@
+#ifndef MESHLINK_ROUTE_H
+#define MESHLINK_ROUTE_H
+
 /*
     route.h -- header file for route.c
-    Copyright (C) 2014 Guus Sliepen <guus@meshlink.io>
+    Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef __TINC_ROUTE_H__
-#define __TINC_ROUTE_H__
-
 #include "net.h"
 #include "node.h"
 
-extern bool decrement_ttl;
-
 extern void route(struct meshlink_handle *mesh, struct node_t *, struct vpn_packet_t *);
 
-#endif /* __TINC_ROUTE_H__ */
+#endif