GNUnet 0.22.2
NeighbourSelectionContext Struct Reference

Closure for dv_neighbour_selection and dv_neighbour_transmission. More...

Collaboration diagram for NeighbourSelectionContext:
[legend]

Data Fields

const struct TransportDVLearnMessagedvl
 Original message we received. More...
 
const struct DVPathEntryPhops
 The hops taken. More...
 
struct GNUNET_TIME_Absolute in_time
 Time we received the message. More...
 
uint32_t selections [MAX_DV_DISCOVERY_SELECTION]
 Offsets of the selected peers. More...
 
unsigned int num_eligible
 Number of peers eligible for selection. More...
 
unsigned int num_selections
 Number of peers that were selected for forwarding. More...
 
uint16_t nhops
 Number of hops in hops. More...
 
uint16_t bi_history
 Bitmap of bidirectional connections encountered. More...
 

Detailed Description

Field Documentation

◆ dvl

const struct TransportDVLearnMessage* NeighbourSelectionContext::dvl

Original message we received.

Definition at line 7788 of file gnunet-service-transport.c.

Referenced by dv_neighbour_selection(), dv_neighbour_transmission(), and handle_dv_learn().

◆ hops

const struct DVPathEntryP* NeighbourSelectionContext::hops

The hops taken.

Definition at line 7793 of file gnunet-service-transport.c.

Referenced by dv_neighbour_selection(), dv_neighbour_transmission(), and handle_dv_learn().

◆ in_time

struct GNUNET_TIME_Absolute NeighbourSelectionContext::in_time

Time we received the message.

Definition at line 7798 of file gnunet-service-transport.c.

Referenced by dv_neighbour_transmission(), and handle_dv_learn().

◆ selections

uint32_t NeighbourSelectionContext::selections[MAX_DV_DISCOVERY_SELECTION]

Offsets of the selected peers.

Definition at line 7803 of file gnunet-service-transport.c.

Referenced by dv_neighbour_transmission(), and handle_dv_learn().

◆ num_eligible

unsigned int NeighbourSelectionContext::num_eligible

Number of peers eligible for selection.

Definition at line 7808 of file gnunet-service-transport.c.

Referenced by dv_neighbour_selection(), dv_neighbour_transmission(), and handle_dv_learn().

◆ num_selections

unsigned int NeighbourSelectionContext::num_selections

Number of peers that were selected for forwarding.

Definition at line 7813 of file gnunet-service-transport.c.

Referenced by dv_neighbour_transmission(), and handle_dv_learn().

◆ nhops

uint16_t NeighbourSelectionContext::nhops

Number of hops in hops.

Definition at line 7818 of file gnunet-service-transport.c.

Referenced by dv_neighbour_selection(), dv_neighbour_transmission(), and handle_dv_learn().

◆ bi_history

uint16_t NeighbourSelectionContext::bi_history

Bitmap of bidirectional connections encountered.

Definition at line 7823 of file gnunet-service-transport.c.

Referenced by dv_neighbour_transmission(), and handle_dv_learn().


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