X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fconnection.h;h=c3c219be4d0ae0bce1463453f0ca11c88e3da1a8;hb=2200060c4eaadae36b8150aa33b0db7c0d74722f;hp=443930b50a9d7fb030a512b37006441921da62aa;hpb=a1b50920b9a52f86ca6e33fcb24d7fa34313a1ee;p=meshlink diff --git a/src/connection.h b/src/connection.h index 443930b5..c3c219be 100644 --- a/src/connection.h +++ b/src/connection.h @@ -17,8 +17,8 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_CONNECTION_H__ -#define __TINC_CONNECTION_H__ +#ifndef __MESHLINK_CONNECTION_H__ +#define __MESHLINK_CONNECTION_H__ #include "buffer.h" #include "list.h" @@ -64,8 +64,6 @@ typedef struct connection_t { int socket; /* socket used for this connection */ uint32_t options; /* options for this connection */ connection_status_t status; /* status info */ - int estimated_weight; /* estimation for the weight of the edge for this connection */ - struct timeval start; /* time this connection was started, used for above estimation */ struct outgoing_t *outgoing; /* used to keep track of outgoing connections */ struct meshlink_handle *mesh; /* the mesh this connection belongs to */ @@ -96,4 +94,4 @@ extern void free_connection(connection_t *); extern void connection_add(struct meshlink_handle *mesh, connection_t *); extern void connection_del(struct meshlink_handle *mesh, connection_t *); -#endif /* __TINC_CONNECTION_H__ */ +#endif /* __MESHLINK_CONNECTION_H__ */