- struct node_t *nexthop; /* nearest node from us to him */
- struct node_t *via; /* next hop for UDP packets */
+ struct node_t *nexthop; /* nearest node from us to him */
+ struct edge_t *prevedge; /* nearest node from him to us */
+ struct node_t *via; /* next hop for UDP packets */
+
+ splay_tree_t subnet_tree; /* Pointer to a tree of subnets belonging to this node */
+
+ splay_tree_t edge_tree; /* Edges with this node as one of the endpoints */
+
+ struct connection_t *connection; /* Connection associated with this node (if a direct connection exists) */
+
+ uint32_t sent_seqno; /* Sequence number last sent to this node */
+ uint32_t received_seqno; /* Sequence number last received from this node */
+ uint32_t received; /* Total valid packets received from this node */
+ uint32_t farfuture; /* Packets in a row that have arrived from the far future */
+ uint8_t *late; /* Bitfield marking late packets */
+
+ struct timeval udp_reply_sent; /* Last time a (gratuitous) UDP probe reply was sent */
+ struct timeval udp_ping_sent; /* Last time a UDP probe was sent */
+ int udp_ping_rtt; /* Round trip time of UDP ping (in microseconds; or -1 if !status.udp_confirmed) */
+ timeout_t udp_ping_timeout; /* Ping timeout event */
+
+ struct timeval mtu_ping_sent; /* Last time a MTU probe was sent */