X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fnode.h;h=acbf2e8bfec4b866458fdc4e94d5959952065bc1;hp=eaba79d0b01ae8bb959c773947d046688540cf81;hb=ed1f31db1e8840ffd6849b48bcad93e9975a24bb;hpb=2cd74834fff509cdd9ed51232a3a78e7cad04803 diff --git a/src/node.h b/src/node.h index eaba79d0..acbf2e8b 100644 --- a/src/node.h +++ b/src/node.h @@ -24,6 +24,7 @@ #include "sockaddr.h" #include "sptps.h" #include "utcp/utcp.h" +#include "submesh.h" typedef struct node_status_t { unsigned int unused_active: 1; /* 1 if active (not used for nodes) */ @@ -49,6 +50,7 @@ typedef struct node_t { dev_class_t devclass; struct meshlink_handle *mesh; /* The mesh this node belongs to */ + struct submesh_t *submesh; /* Nodes Sub-Mesh Handle*/ int sock; /* Socket to use for outgoing UDP packets */ sockaddr_t address; /* his real (internet) ip to send UDP packets to */