X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fedge.h;h=ba18e875df95108ef1bfa49c8c0f080868295831;hb=a5750efefc491d77ff6a45f0ebc21976831eebfe;hp=cc7a449b7e4b56fe6b962d61b22c5e36f3f27b6f;hpb=61d9b04f66055e61f0afdf8955ff890f4da39288;p=meshlink diff --git a/src/edge.h b/src/edge.h index cc7a449b..ba18e875 100644 --- a/src/edge.h +++ b/src/edge.h @@ -30,11 +30,11 @@ typedef struct edge_t { struct node_t *to; sockaddr_t address; - uint32_t options; /* options turned on for this edge */ - int weight; /* weight of this edge */ - struct connection_t *connection; /* connection associated with this edge, if available */ struct edge_t *reverse; /* edge in the opposite direction, if available */ + + int weight; /* weight of this edge */ + uint32_t session_id; /* the session_id of the from node */ } edge_t; extern void init_edges(struct meshlink_handle *mesh);