GNUnet  0.10.x
Data Fields
SimpleHandle Struct Reference

A handle for the proportional solver. More...

Collaboration diagram for SimpleHandle:
[legend]

Data Fields

struct GNUNET_ATS_PluginEnvironmentenv
 Our execution environment. More...
 
struct GNUNET_CONTAINER_MultiPeerMappeers
 Information we track for each peer. More...
 
struct GNUNET_PEERSTORE_Handleps
 Handle to the peerstore service. More...
 
uint64_t bw_by_pk [GNUNET_MQ_PREFERENCE_COUNT]
 Array where we sum up the bandwidth requests received indexed by preference kind (see enum GNUNET_MQ_PreferenceKind) (sums over all peers). More...
 
struct Network networks [GNUNET_NT_COUNT]
 Information we track per network type (quotas). More...
 

Detailed Description

A handle for the proportional solver.

Definition at line 275 of file plugin_ats2_simple.c.

Field Documentation

◆ env

struct GNUNET_ATS_PluginEnvironment* SimpleHandle::env

Our execution environment.

Definition at line 280 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport(), libgnunet_plugin_ats2_simple_init(), and suggest_hello().

◆ peers

struct GNUNET_CONTAINER_MultiPeerMap* SimpleHandle::peers

Information we track for each peer.

Definition at line 285 of file plugin_ats2_simple.c.

Referenced by libgnunet_plugin_ats2_simple_done(), libgnunet_plugin_ats2_simple_init(), lookup_peer(), peer_add(), peer_free(), and update().

◆ ps

struct GNUNET_PEERSTORE_Handle* SimpleHandle::ps

Handle to the peerstore service.

Definition at line 290 of file plugin_ats2_simple.c.

Referenced by libgnunet_plugin_ats2_simple_done(), libgnunet_plugin_ats2_simple_init(), and peer_add().

◆ bw_by_pk

uint64_t SimpleHandle::bw_by_pk[GNUNET_MQ_PREFERENCE_COUNT]

Array where we sum up the bandwidth requests received indexed by preference kind (see enum GNUNET_MQ_PreferenceKind) (sums over all peers).

Definition at line 297 of file plugin_ats2_simple.c.

Referenced by simple_preference_add(), and simple_preference_del().

◆ networks

struct Network SimpleHandle::networks[GNUNET_NT_COUNT]

Information we track per network type (quotas).

Definition at line 302 of file plugin_ats2_simple.c.

Referenced by consider_notify_transport(), libgnunet_plugin_ats2_simple_init(), and update().


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