GNUnet  0.19.4
TopologyContext Struct Reference

Context information for topology operations. More...

Collaboration diagram for TopologyContext:
[legend]

Public Types

enum  { TOPOLOGYCONTEXT_TYPE_UNDERLAY = 0 , TOPOLOGYCONTEXT_TYPE_OVERLAY }
 The type of this context. More...
 

Data Fields

enum TopologyContext:: { ... }  type
 The type of this context. More...
 
union {
   struct TopologyContextOverlay   overlay
 Topology context information for overlay topology. More...
 
   struct TopologyContextUnderlay   underlay
 Topology context information for underlay topology. More...
 
u
 
unsigned int num_peers
 The number of peers. More...
 
unsigned int link_array_size
 The size of the link array. More...
 

Detailed Description

Context information for topology operations.

Definition at line 212 of file testbed_api_topology.c.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The type of this context.

Enumerator
TOPOLOGYCONTEXT_TYPE_UNDERLAY 

Type for underlay topology.

TOPOLOGYCONTEXT_TYPE_OVERLAY 

Type for overlay topology.

Definition at line 217 of file testbed_api_topology.c.

218  {
223 
228  } type;
enum TopologyContext::@61 type
The type of this context.
@ TOPOLOGYCONTEXT_TYPE_UNDERLAY
Type for underlay topology.
@ TOPOLOGYCONTEXT_TYPE_OVERLAY
Type for overlay topology.

Field Documentation

◆ 

enum { ... } TopologyContext::type

◆ overlay

struct TopologyContextOverlay TopologyContext::overlay

Topology context information for overlay topology.

Definition at line 251 of file testbed_api_topology.c.

◆ underlay

struct TopologyContextUnderlay TopologyContext::underlay

Topology context information for underlay topology.

Definition at line 251 of file testbed_api_topology.c.

◆ 

union { ... } TopologyContext::u

◆ num_peers

unsigned int TopologyContext::num_peers

The number of peers.

Definition at line 246 of file testbed_api_topology.c.

◆ link_array_size

unsigned int TopologyContext::link_array_size

The size of the link array.

Definition at line 251 of file testbed_api_topology.c.


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