Block that is ready for migration to other peers. More...
Data Fields | |
| struct MigrationReadyBlock * | next |
| This is a doubly-linked list. | |
| struct MigrationReadyBlock * | prev |
| This is a doubly-linked list. | |
| struct GNUNET_HashCode | query |
| Query for the block. | |
| struct GNUNET_TIME_Absolute | expiration |
| When does this block expire? | |
| GNUNET_PEER_Id | target_list [2] |
| Peers we already forwarded this block to. | |
| size_t | size |
| Size of the block. | |
| unsigned int | used_targets |
| Number of targets already used. | |
| enum GNUNET_BLOCK_Type | type |
| Type of the block. | |
Block that is ready for migration to other peers.
Actual data is at the end of the block.
Definition at line 59 of file gnunet-service-fs_push.c.
| struct MigrationReadyBlock* MigrationReadyBlock::next |
This is a doubly-linked list.
Definition at line 64 of file gnunet-service-fs_push.c.
Referenced by find_content().
| struct MigrationReadyBlock* MigrationReadyBlock::prev |
This is a doubly-linked list.
Definition at line 69 of file gnunet-service-fs_push.c.
| struct GNUNET_HashCode MigrationReadyBlock::query |
Query for the block.
Definition at line 74 of file gnunet-service-fs_push.c.
Referenced by process_migration_content(), and score_content().
| struct GNUNET_TIME_Absolute MigrationReadyBlock::expiration |
When does this block expire?
Definition at line 79 of file gnunet-service-fs_push.c.
Referenced by process_migration_content(), and transmit_content().
| GNUNET_PEER_Id MigrationReadyBlock::target_list[2] |
Peers we already forwarded this block to.
Zero for empty entries.
Definition at line 85 of file gnunet-service-fs_push.c.
Referenced by count_targets(), delete_migration_block(), score_content(), and transmit_content().
| size_t MigrationReadyBlock::size |
Size of the block.
Definition at line 90 of file gnunet-service-fs_push.c.
Referenced by process_migration_content(), and transmit_content().
| unsigned int MigrationReadyBlock::used_targets |
Number of targets already used.
Definition at line 95 of file gnunet-service-fs_push.c.
| enum GNUNET_BLOCK_Type MigrationReadyBlock::type |
Type of the block.
Definition at line 100 of file gnunet-service-fs_push.c.
Referenced by process_migration_content(), and transmit_content().