X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnode.h;h=b3319e17350ae1e347c993d0a280d80f23d26ce0;hb=3730156165fd1aa7c8810cd8e390aba6a8badcfa;hp=2ea96922233fe0e3a3dfaef5a2af0664e1b917fc;hpb=eb391c52eed46f3f03b404553df417851fc0cb90;p=tinc diff --git a/src/node.h b/src/node.h index 2ea96922..b3319e17 100644 --- a/src/node.h +++ b/src/node.h @@ -25,13 +25,13 @@ #include "avl_tree.h" #include "connection.h" -#include "event.h" +#include "tevent.h" #include "list.h" #include "subnet.h" typedef union node_status_t { struct { - int active:1; /* 1 if active.. */ + int unused_active:1; /* 1 if active (not used for nodes) */ int validkey:1; /* 1 if we currently have a valid key for him */ int waitingforkey:1; /* 1 if we already sent out a request */ int visited:1; /* 1 if this node has been visited by one of the graph algorithms */ @@ -80,7 +80,7 @@ typedef struct node_t { length_t minmtu; /* Probed minimum MTU */ length_t maxmtu; /* Probed maximum MTU */ int mtuprobes; /* Number of probes */ - event_t *mtuevent; /* Probe event */ + tevent_t *mtuevent; /* Probe event */ } node_t; extern struct node_t *myself;