]> git.meshlink.io Git - meshlink/blobdiff - src/connection.h
Handle raw packets from tiny peers.
[meshlink] / src / connection.h
index 68d9e97143bb5efd2e6dc77fe1ac29e7539962f7..5e3a7ac7e4f84f372ad9bbe6436184e09f8985f0 100644 (file)
@@ -41,6 +41,7 @@ typedef struct connection_status_t {
        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 */
+       uint16_t raw_packet: 1;             /* 1 if we are expecting a raw packet next */
 } connection_status_t;
 
 #include "ecdsa.h"