X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnode.h;h=36c8253e62f5c9182518f7e3f838c4ff3ffaf93b;hb=708825e4b229a4a1e182e682e2d1021fa2765396;hp=a9322aa54256ca9698e582379bb133a6d66a6caa;hpb=a22041922f160667573e9a5ae3f4195e1668906a;p=tinc diff --git a/src/node.h b/src/node.h index a9322aa5..36c8253e 100644 --- a/src/node.h +++ b/src/node.h @@ -25,6 +25,7 @@ #include "cipher.h" #include "connection.h" #include "digest.h" +#include "event.h" #include "list.h" #include "subnet.h" @@ -69,7 +70,8 @@ typedef struct node_t { uint32_t sent_seqno; /* Sequence number last sent to this node */ uint32_t received_seqno; /* Sequence number last received from this node */ - unsigned char late[16]; /* Bitfield marking late packets */ + uint32_t farfuture; /* Packets in a row that have arrived from the far future */ + unsigned char* late; /* Bitfield marking late packets */ length_t mtu; /* Maximum size of packets to send to this node */ length_t minmtu; /* Probed minimum MTU */