From 61787bfa37e0ac5998e01d9c4806600033c19c74 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 23 Nov 2018 17:19:53 +0100 Subject: rename fest: use new libgnunetnt instead of old libgnunetats logic for network type classification --- src/transport/gnunet-service-tng.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/transport/gnunet-service-tng.c') diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c index 3e08900bb..b184a0600 100644 --- a/src/transport/gnunet-service-tng.c +++ b/src/transport/gnunet-service-tng.c @@ -162,7 +162,7 @@ struct Queue /** * Network type offered by this queue. */ - enum GNUNET_ATS_Network_Type nt; + enum GNUNET_NetworkType nt; /** * Connection status for this queue. @@ -322,7 +322,7 @@ struct AddressListEntry /** * Network type offered by this address. */ - enum GNUNET_ATS_Network_Type nt; + enum GNUNET_NetworkType nt; }; @@ -549,7 +549,7 @@ static void notify_monitor (struct TransportClient *tc, const struct GNUNET_PeerIdentity *peer, const char *address, - enum GNUNET_ATS_Network_Type nt, + enum GNUNET_NetworkType nt, const struct MonitorEvent *me) { struct GNUNET_MQ_Envelope *env; @@ -588,7 +588,7 @@ notify_monitor (struct TransportClient *tc, static void notify_monitors (const struct GNUNET_PeerIdentity *peer, const char *address, - enum GNUNET_ATS_Network_Type nt, + enum GNUNET_NetworkType nt, const struct MonitorEvent *me) { static struct GNUNET_PeerIdentity zero; @@ -1255,7 +1255,7 @@ handle_add_address (void *cls, ale->address = (const char *) &ale[1]; ale->expiration = GNUNET_TIME_relative_ntoh (aam->expiration); ale->aid = aam->aid; - ale->nt = (enum GNUNET_ATS_Network_Type) ntohl (aam->nt); + ale->nt = (enum GNUNET_NetworkType) ntohl (aam->nt); memcpy (&ale[1], &aam[1], slen); @@ -1427,7 +1427,7 @@ handle_add_queue_message (void *cls, queue->qid = aqm->qid; queue->mtu = ntohl (aqm->mtu); queue->distance = ntohl (aqm->distance); - queue->nt = (enum GNUNET_ATS_Network_Type) ntohl (aqm->nt); + queue->nt = (enum GNUNET_NetworkType) ntohl (aqm->nt); queue->cs = (enum GNUNET_TRANSPORT_ConnectionStatus) ntohl (aqm->cs); queue->neighbour = neighbour; memcpy (&queue[1], -- cgit v1.2.3