GNUnet  0.11.x
Data Fields
RecentRequest Struct Reference

Information we keep about all recent GET requests so that we can route replies. More...

Collaboration diagram for RecentRequest:
[legend]

Data Fields

struct GNUNET_PeerIdentity peer
 The peer this request was received from. More...
 
struct GNUNET_HashCode key
 Key of this request. More...
 
struct GNUNET_CONTAINER_HeapNodeheap_node
 Position of this node in the min heap. More...
 
struct GNUNET_BLOCK_Groupbg
 Block group for filtering replies. More...
 
enum GNUNET_BLOCK_Type type
 Type of the requested block. More...
 
const void * xquery
 extended query (see gnunet_block_lib.h). More...
 
size_t xquery_size
 Number of bytes in xquery. More...
 
enum GNUNET_DHT_RouteOption options
 Request options. More...
 

Detailed Description

Information we keep about all recent GET requests so that we can route replies.

Definition at line 42 of file gnunet-service-dht_routing.c.

Field Documentation

◆ peer

struct GNUNET_PeerIdentity RecentRequest::peer

The peer this request was received from.

Definition at line 47 of file gnunet-service-dht_routing.c.

Referenced by GDS_ROUTING_add(), process(), and try_combine_recent().

◆ key

struct GNUNET_HashCode RecentRequest::key

◆ heap_node

struct GNUNET_CONTAINER_HeapNode* RecentRequest::heap_node

Position of this node in the min heap.

Definition at line 57 of file gnunet-service-dht_routing.c.

Referenced by expire_oldest_entry(), and GDS_ROUTING_add().

◆ bg

struct GNUNET_BLOCK_Group* RecentRequest::bg

Block group for filtering replies.

Definition at line 62 of file gnunet-service-dht_routing.c.

Referenced by expire_oldest_entry(), GDS_ROUTING_add(), process(), and try_combine_recent().

◆ type

enum GNUNET_BLOCK_Type RecentRequest::type

Type of the requested block.

Definition at line 67 of file gnunet-service-dht_routing.c.

Referenced by GDS_ROUTING_add(), GDS_ROUTING_process(), process(), and try_combine_recent().

◆ xquery

const void* RecentRequest::xquery

extended query (see gnunet_block_lib.h).

Allocated at the end of this struct.

Definition at line 73 of file gnunet-service-dht_routing.c.

Referenced by GDS_ROUTING_add(), process(), and try_combine_recent().

◆ xquery_size

size_t RecentRequest::xquery_size

Number of bytes in xquery.

Definition at line 78 of file gnunet-service-dht_routing.c.

Referenced by GDS_ROUTING_add(), process(), and try_combine_recent().

◆ options

enum GNUNET_DHT_RouteOption RecentRequest::options

Request options.

Definition at line 83 of file gnunet-service-dht_routing.c.

Referenced by GDS_ROUTING_add(), and process().


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