]> git.meshlink.io Git - meshlink/blobdiff - src/node.h
Attribution for Dennis Joachimsthaler.
[meshlink] / src / node.h
index e704ba82f56e10ed5fe412ffdcbaf6baa7f13d62..1c9f230afd2e551eb19088989e55f09116d3d16c 100644 (file)
@@ -37,7 +37,8 @@ typedef struct node_status_t {
        unsigned int indirect:1;                /* 1 if this node is not directly reachable by us */
        unsigned int sptps:1;                   /* 1 if this node supports SPTPS */
        unsigned int udp_confirmed:1;           /* 1 if the address is one that we received UDP traffic on */
-       unsigned int unused:24;
+       unsigned int broadcast:1;               /* 1 if the next UDP packet should be broadcast to the local network */
+       unsigned int unused:23;
 } node_status_t;
 
 typedef struct node_t {