]> git.meshlink.io Git - meshlink/blobdiff - src/connection.h
Add a configurable fast connection retry period.
[meshlink] / src / connection.h
index fd633b3ffcb9e7535ba8c0263ff16dd938b07e62..25e122d05f0726de19da9d04f665e7b11a975b31 100644 (file)
@@ -34,12 +34,13 @@ typedef struct connection_status_t {
        uint16_t pinged: 1;                 /* sent ping */
        uint16_t active: 1;                 /* 1 if active.. */
        uint16_t connecting: 1;             /* 1 if we are waiting for a non-blocking connect() to finish */
-       uint16_t mst: 1;                    /* 1 if this connection is part of a minimum spanning tree */
+       uint16_t unused: 1;
        uint16_t control: 1;                /* 1 if this is a control connection */
        uint16_t pcap: 1;                   /* 1 if this is a control connection requesting packet capture */
        uint16_t log: 1;                    /* 1 if this is a control connection requesting log dump */
        uint16_t invitation: 1;             /* 1 if this is an invitation */
        uint16_t invitation_used: 1;        /* 1 if the invitation has been consumed */
+       uint16_t initiator: 1;              /* 1 if we initiated this connection */
 } connection_status_t;
 
 #include "ecdsa.h"