GNUnet  0.11.x
Data Fields
GAS_PROPORTIONAL_Handle Struct Reference

A handle for the proportional solver. More...

Collaboration diagram for GAS_PROPORTIONAL_Handle:
[legend]

Data Fields

struct GNUNET_ATS_PluginEnvironmentenv
 Our execution environment. More...
 
struct Networknetwork_entries
 Networks array. More...
 
double prop_factor
 Proportionality factor. More...
 
double stability_factor
 Stability factor. More...
 
unsigned int bulk_lock
 Bulk lock counter. More...
 
unsigned int bulk_requests
 Number of changes made while solver was locked. More...
 
unsigned int active_addresses
 Number of active addresses for solver. More...
 

Detailed Description

A handle for the proportional solver.

Definition at line 160 of file plugin_ats_proportional.c.

Field Documentation

◆ env

struct GNUNET_ATS_PluginEnvironment* GAS_PROPORTIONAL_Handle::env

◆ network_entries

struct Network* GAS_PROPORTIONAL_Handle::network_entries

◆ prop_factor

double GAS_PROPORTIONAL_Handle::prop_factor

Proportionality factor.

Definition at line 175 of file plugin_ats_proportional.c.

Referenced by distribute_bandwidth(), and libgnunet_plugin_ats_proportional_init().

◆ stability_factor

double GAS_PROPORTIONAL_Handle::stability_factor

Stability factor.

Definition at line 180 of file plugin_ats_proportional.c.

Referenced by find_best_address_it(), and libgnunet_plugin_ats_proportional_init().

◆ bulk_lock

unsigned int GAS_PROPORTIONAL_Handle::bulk_lock

Bulk lock counter.

If zero, we are not locked.

Definition at line 185 of file plugin_ats_proportional.c.

Referenced by distribute_bandwidth_in_network(), GAS_proportional_bulk_start(), and GAS_proportional_bulk_stop().

◆ bulk_requests

unsigned int GAS_PROPORTIONAL_Handle::bulk_requests

Number of changes made while solver was locked.

We really only use 0/non-zero to check on unlock if we have to run the update.

Definition at line 191 of file plugin_ats_proportional.c.

Referenced by distribute_bandwidth_in_network(), and GAS_proportional_bulk_stop().

◆ active_addresses

unsigned int GAS_PROPORTIONAL_Handle::active_addresses

Number of active addresses for solver.

Definition at line 196 of file plugin_ats_proportional.c.

Referenced by address_decrement_active(), libgnunet_plugin_ats_proportional_done(), and update_active_address().


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