X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fnode.h;h=50ee141c6cba88b42e74b1f0fe400ff2e6fe1972;hp=e42aac4a4d894f02d4a840408c029aceda1d8349;hb=947f09ff2c507a80bbe7f92ed0d41b06c98d5375;hpb=f9235480fa69f92b50156ac8b6a70f3558bb0bbf diff --git a/src/node.h b/src/node.h index e42aac4a..50ee141c 100644 --- a/src/node.h +++ b/src/node.h @@ -50,8 +50,9 @@ typedef struct node_t { dev_class_t devclass; // Used for packet I/O - sptps_t sptps; int sock; /* Socket to use for outgoing UDP packets */ + uint32_t session_id; /* Unique ID for this node's currently running process */ + sptps_t sptps; sockaddr_t address; /* his real (internet) ip to send UDP packets to */ struct utcp *utcp;