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);