X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnode.h;h=50ee141c6cba88b42e74b1f0fe400ff2e6fe1972;hb=947f09ff2c507a80bbe7f92ed0d41b06c98d5375;hp=dc15e3f299f9c2767fa06a5b23ca95ae390a05d4;hpb=282b99f3c71705bd6e34d4e4f9e8369ea63c87ed;p=meshlink diff --git a/src/node.h b/src/node.h index dc15e3f2..50ee141c 100644 --- a/src/node.h +++ b/src/node.h @@ -47,11 +47,12 @@ typedef struct node_t { // Private member variables node_status_t status; uint16_t minmtu; /* Probed minimum MTU */ - int32_t devclass; + 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;