Representation of a network. More...
Data Fields | |
const char * | desc |
Network description. More... | |
char * | stat_total |
String for statistics total addresses. More... | |
char * | stat_active |
String for statistics active addresses. More... | |
struct AddressWrapper * | head |
Linked list of addresses in this network: head. More... | |
struct AddressWrapper * | tail |
Linked list of addresses in this network: tail. More... | |
unsigned long long | total_quota_in |
Total inbound quota. More... | |
unsigned long long | total_quota_out |
Total outbound quota. More... | |
enum GNUNET_NetworkType | type |
ATS network type. More... | |
unsigned int | active_addresses |
Number of active addresses for this network. More... | |
unsigned int | total_addresses |
Number of total addresses for this network. More... | |
Representation of a network.
Definition at line 103 of file plugin_ats_proportional.c.
const char* Network::desc |
Network description.
Definition at line 108 of file plugin_ats_proportional.c.
Referenced by distribute_bandwidth(), GAS_proportional_address_add(), GAS_proportional_address_delete(), and libgnunet_plugin_ats_proportional_init().
char* Network::stat_total |
String for statistics total addresses.
Definition at line 113 of file plugin_ats_proportional.c.
Referenced by GAS_proportional_address_add(), GAS_proportional_address_delete(), libgnunet_plugin_ats_proportional_done(), and libgnunet_plugin_ats_proportional_init().
char* Network::stat_active |
String for statistics active addresses.
Definition at line 118 of file plugin_ats_proportional.c.
Referenced by address_decrement_active(), libgnunet_plugin_ats_proportional_done(), libgnunet_plugin_ats_proportional_init(), and update_active_address().
struct AddressWrapper* Network::head |
Linked list of addresses in this network: head.
Definition at line 123 of file plugin_ats_proportional.c.
Referenced by all_require_connectivity(), distribute_bandwidth(), GAS_proportional_address_add(), GAS_proportional_address_delete(), libgnunet_plugin_ats_proportional_done(), propagate_bandwidth(), and update_active_address().
struct AddressWrapper* Network::tail |
Linked list of addresses in this network: tail.
Definition at line 128 of file plugin_ats_proportional.c.
Referenced by GAS_proportional_address_add(), GAS_proportional_address_delete(), and libgnunet_plugin_ats_proportional_done().
unsigned long long Network::total_quota_in |
Total inbound quota.
Definition at line 133 of file plugin_ats_proportional.c.
Referenced by distribute_bandwidth(), is_bandwidth_available_in_network(), and libgnunet_plugin_ats_proportional_init().
unsigned long long Network::total_quota_out |
Total outbound quota.
Definition at line 138 of file plugin_ats_proportional.c.
Referenced by distribute_bandwidth(), is_bandwidth_available_in_network(), and libgnunet_plugin_ats_proportional_init().
enum GNUNET_NetworkType Network::type |
ATS network type.
Definition at line 138 of file plugin_ats_proportional.c.
Referenced by gnunet_testing.Condition::__init__(), distribute_bandwidth_in_network(), gnunet_testing.Condition::evaluate(), gnunet_testing.FileExistCondition::evaluate(), and libgnunet_plugin_ats_proportional_init().
unsigned int Network::active_addresses |
Number of active addresses for this network.
Definition at line 148 of file plugin_ats_proportional.c.
Referenced by address_decrement_active(), distribute_bandwidth(), distribute_bandwidth_in_network(), GAS_proportional_address_add(), GAS_proportional_address_delete(), is_bandwidth_available_in_network(), libgnunet_plugin_ats_proportional_done(), and update_active_address().
unsigned int Network::total_addresses |
Number of total addresses for this network.
Definition at line 153 of file plugin_ats_proportional.c.
Referenced by distribute_bandwidth_in_network(), GAS_proportional_address_add(), GAS_proportional_address_delete(), and libgnunet_plugin_ats_proportional_done().