]> tinc-vpn.org Git - tinc/blobdiff - src/net.h
Introduce node IDs.
[tinc] / src / net.h
index d8aa64cde0b65b3ac2501a6d9db0e41ba3566a83..6e575d45c536d215ca3391b2544daeaab76dd90e 100644 (file)
--- a/src/net.h
+++ b/src/net.h
@@ -52,6 +52,10 @@ typedef struct ipv6_t {
        uint16_t x[8];
 } ipv6_t;
 
+typedef struct node_id_t {
+       uint8_t x[6];
+} node_id_t;
+
 typedef short length_t;
 
 #define AF_UNKNOWN 255