The route_data structure points to a node and keeps track of the amount of messages that it is used to track. When a node disappears, the `node' field in the associated route_data structure is set to NULL. Dangling references are removed only when needed.
Data Fields | |
gnutella_node * | node |
gint32 | saved_messages |
# msg from this host in routing table |
|
|
|
# msg from this host in routing table
|