GNUnet  0.11.x
Data Fields
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

Closure for dv_neighbour_selection and dv_neighbour_transmission.

Definition at line 6437 of file gnunet-service-tng.c.

Field Documentation

◆ dvl

const struct TransportDVLearnMessage* NeighbourSelectionContext::dvl

Original message we received.

Definition at line 6442 of file gnunet-service-tng.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 6447 of file gnunet-service-tng.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 6452 of file gnunet-service-tng.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 6457 of file gnunet-service-tng.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 6462 of file gnunet-service-tng.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 6467 of file gnunet-service-tng.c.

Referenced by dv_neighbour_transmission(), and handle_dv_learn().

◆ nhops

uint16_t NeighbourSelectionContext::nhops

Number of hops in hops.

Definition at line 6472 of file gnunet-service-tng.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 6477 of file gnunet-service-tng.c.

Referenced by dv_neighbour_transmission(), and handle_dv_learn().


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