X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnode.h;h=73ff0a27a8f4da9007f67b2f559d6a09767b0b31;hp=98147d3ef8814f2f87c4c4082b0bae6ce0dab2c3;hb=e47e51e9d17416e2b614287d14a5518881decd44;hpb=f48f8f4fedba365ceea30e1133bf1c560e9a522a diff --git a/src/node.h b/src/node.h index 98147d3e..73ff0a27 100644 --- a/src/node.h +++ b/src/node.h @@ -17,12 +17,16 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: node.h,v 1.1.2.13 2002/03/19 22:48:25 guus Exp $ + $Id: node.h,v 1.1.2.15 2002/06/08 13:46:07 guus Exp $ */ #ifndef __TINC_NODE_H__ #define __TINC_NODE_H__ +#ifdef HAVE_INTTYPES_H + #include +#endif + #include #include "subnet.h" @@ -67,8 +71,8 @@ typedef struct node_t { struct connection_t *connection; /* Connection associated with this node (if a direct connection exists) */ - unsigned int sent_seqno; /* Sequence number last sent to this node */ - unsigned int received_seqno; /* Sequence number last received from this node */ + uint32_t sent_seqno; /* Sequence number last sent to this node */ + uint32_t received_seqno; /* Sequence number last received from this node */ } node_t; extern struct node_t *myself;