Each entry is stored in the "message_array[]", to keep track of the order used to create the routes, and in a hash table for quick lookup, hashing being made based on the muid and the function.
Query hit routes and push routes are precious, therefore they are moved to the tail of the "message_array[]" when they get used to increase their liftime.
Data Fields | |
gchar | muid [GUID_RAW_SIZE] |
Message UID. | |
message ** | slot |
Place where we're referenced from. | |
GSList * | routes |
route_data from where the message came | |
GSList * | ttls |
For broadcasted messages: TTL by route. | |
guint8 | function |
Type of the message. | |
guint8 | ttl |
Max TTL we saw for this message. |
|
Type of the message.
|
|
Message UID.
|
|
route_data from where the message came
|
|
Place where we're referenced from.
|
|
Max TTL we saw for this message.
|
|
For broadcasted messages: TTL by route.
|