Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

message Struct Reference


Detailed Description

An entry in the routing table.

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.


Field Documentation

guint8 message::function
 

Type of the message.

gchar message::muid[GUID_RAW_SIZE]
 

Message UID.

GSList* message::routes
 

route_data from where the message came

struct message** message::slot
 

Place where we're referenced from.

guint8 message::ttl
 

Max TTL we saw for this message.

GSList* message::ttls
 

For broadcasted messages: TTL by route.


The documentation for this struct was generated from the following file:
Generated on Sun Feb 12 10:50:12 2006 for Gtk-Gnutella by doxygen 1.3.6