GNUnet 0.22.2
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...
 
const void * xquery
 extended query (see gnunet_block_lib.h). More...
 
size_t xquery_size
 Number of bytes in xquery. More...
 
enum GNUNET_BLOCK_Type type
 Type of the requested block. 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 44 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 49 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 59 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 64 of file gnunet-service-dht_routing.c.

Referenced by expire_oldest_entry(), GDS_ROUTING_add(), 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 70 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 75 of file gnunet-service-dht_routing.c.

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

◆ type

enum GNUNET_BLOCK_Type RecentRequest::type

Type of the requested block.

Definition at line 80 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 85 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: