Block that is ready for migration to other peers. More...
Data Fields | |
struct MigrationReadyBlock * | next |
This is a doubly-linked list. More... | |
struct MigrationReadyBlock * | prev |
This is a doubly-linked list. More... | |
struct GNUNET_HashCode | query |
Query for the block. More... | |
struct GNUNET_TIME_Absolute | expiration |
When does this block expire? More... | |
GNUNET_PEER_Id | target_list [2] |
Peers we already forwarded this block to. More... | |
size_t | size |
Size of the block. More... | |
unsigned int | used_targets |
Number of targets already used. More... | |
enum GNUNET_BLOCK_Type | type |
Type of the block. More... | |
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 gnunet-chk.Chk::__init__(), process_migration_content(), score_content(), and gnunet-chk.Chk::uri().
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().