GNUnet 0.22.2
MigrationReadyBlock Struct Reference

Block that is ready for migration to other peers. More...

Collaboration diagram for MigrationReadyBlock:
[legend]

Data Fields

struct MigrationReadyBlocknext
 This is a doubly-linked list. More...
 
struct MigrationReadyBlockprev
 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...
 

Detailed Description

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.

Field Documentation

◆ next

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().

◆ prev

struct MigrationReadyBlock* MigrationReadyBlock::prev

This is a doubly-linked list.

Definition at line 69 of file gnunet-service-fs_push.c.

◆ query

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().

◆ expiration

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().

◆ target_list

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

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().

◆ used_targets

unsigned int MigrationReadyBlock::used_targets

Number of targets already used.

Definition at line 95 of file gnunet-service-fs_push.c.

◆ type

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().


The documentation for this struct was generated from the following file: