aboutsummaryrefslogtreecommitdiff
path: root/src/ats/plugin_ats_ril.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/plugin_ats_ril.c')
-rw-r--r--src/ats/plugin_ats_ril.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ats/plugin_ats_ril.c b/src/ats/plugin_ats_ril.c
index 204852085..44c60d1dd 100644
--- a/src/ats/plugin_ats_ril.c
+++ b/src/ats/plugin_ats_ril.c
@@ -340,7 +340,7 @@ struct RIL_Scope
340 /** 340 /**
341 * ATS network type 341 * ATS network type
342 */ 342 */
343 enum GNUNET_ATS_Network_Type type; 343 enum GNUNET_NetworkType type;
344 344
345 /** 345 /**
346 * Total available inbound bandwidth 346 * Total available inbound bandwidth
@@ -1593,7 +1593,7 @@ ril_get_network (struct GAS_RIL_Handle *s, uint32_t type)
1593 * @return GNUNET_YES if there are theoretically enough resources left 1593 * @return GNUNET_YES if there are theoretically enough resources left
1594 */ 1594 */
1595static int 1595static int
1596ril_network_is_not_full (struct GAS_RIL_Handle *solver, enum GNUNET_ATS_Network_Type network) 1596ril_network_is_not_full (struct GAS_RIL_Handle *solver, enum GNUNET_NetworkType network)
1597{ 1597{
1598 struct RIL_Scope *net; 1598 struct RIL_Scope *net;
1599 struct RIL_Peer_Agent *agent; 1599 struct RIL_Peer_Agent *agent;
@@ -1720,7 +1720,7 @@ ril_network_count_active_agents (struct GAS_RIL_Handle *solver, struct RIL_Scope
1720 * @return the sum of the assigned bandwidths 1720 * @return the sum of the assigned bandwidths
1721 */ 1721 */
1722static unsigned long long 1722static unsigned long long
1723ril_network_get_assigned (struct GAS_RIL_Handle *solver, enum GNUNET_ATS_Network_Type type, int direction_in) 1723ril_network_get_assigned (struct GAS_RIL_Handle *solver, enum GNUNET_NetworkType type, int direction_in)
1724{ 1724{
1725 struct RIL_Peer_Agent *cur; 1725 struct RIL_Peer_Agent *cur;
1726 struct RIL_Scope *net; 1726 struct RIL_Scope *net;
@@ -1755,7 +1755,7 @@ ril_network_get_assigned (struct GAS_RIL_Handle *solver, enum GNUNET_ATS_Network
1755 * @return the sum of the utilized bandwidths (in bytes/second) 1755 * @return the sum of the utilized bandwidths (in bytes/second)
1756 */ 1756 */
1757static unsigned long long 1757static unsigned long long
1758ril_network_get_utilized (struct GAS_RIL_Handle *solver, enum GNUNET_ATS_Network_Type type, int direction_in) 1758ril_network_get_utilized (struct GAS_RIL_Handle *solver, enum GNUNET_NetworkType type, int direction_in)
1759{ 1759{
1760 struct RIL_Peer_Agent *cur; 1760 struct RIL_Peer_Agent *cur;
1761 struct RIL_Scope *net; 1761 struct RIL_Scope *net;
@@ -2038,7 +2038,7 @@ ril_get_agent (struct GAS_RIL_Handle *solver, const struct GNUNET_PeerIdentity *
2038 * @return whether or not the network is considered active 2038 * @return whether or not the network is considered active
2039 */ 2039 */
2040static int 2040static int
2041ril_network_is_active (struct GAS_RIL_Handle *solver, enum GNUNET_ATS_Network_Type network) 2041ril_network_is_active (struct GAS_RIL_Handle *solver, enum GNUNET_NetworkType network)
2042{ 2042{
2043 struct RIL_Scope *net; 2043 struct RIL_Scope *net;
2044 2044
@@ -2786,7 +2786,7 @@ libgnunet_plugin_ats_ril_init (void *cls)
2786 cur->bw_out_available = env->out_quota[c]; 2786 cur->bw_out_available = env->out_quota[c];
2787 LOG (GNUNET_ERROR_TYPE_DEBUG, 2787 LOG (GNUNET_ERROR_TYPE_DEBUG,
2788 "init() Quotas for %s network: IN %llu - OUT %llu\n", 2788 "init() Quotas for %s network: IN %llu - OUT %llu\n",
2789 GNUNET_ATS_print_network_type(cur->type), 2789 GNUNET_NT_to_string(cur->type),
2790 cur->bw_in_available/1024, 2790 cur->bw_in_available/1024,
2791 cur->bw_out_available/1024); 2791 cur->bw_out_available/1024);
2792 } 2792 }