If we are a leaf node, we send our routing table to neighbours. We keep a pointer to the previous table sent, so that we can determine the "patch" with the current table in case our library is regenerated.
|
Data Fields |
| enum qrp_route_magic | magic |
| gint | refcnt |
| | Amount of references.
|
| gint | generation |
| | Generation number.
|
| guint8 * | arena |
| | Where table starts.
|
| gint | slots |
| | Amount of slots in table.
|
| gint | infinity |
| | Value for "infinity".
|
| guint32 | client_slots |
| | Only for received tables, for shrinking ctrl.
|
| gint | bits |
| | Amount of bits used in table size (received).
|
| gint | set_count |
| | Amount of slots set in table.
|
| gint | fill_ratio |
| | 100 * fill ratio for table (received)
|
| gint | pass_throw |
| | Query must pass a d100 throw to be forwarded.
|
| gchar * | digest |
| | SHA1 digest of the whole table (atom).
|
| gchar * | name |
| | Name for dumping purposes.
|
| gboolean | compacted |