diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
commit | 61787bfa37e0ac5998e01d9c4806600033c19c74 (patch) | |
tree | 1ceb843f63aa076682ebfa2de2250dc32ee65004 /src/transport/gnunet-service-transport.c | |
parent | 4a3be482811fe8ed1502fea2c12a8449b560a99e (diff) | |
download | gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.tar.gz gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.zip |
rename fest: use new libgnunetnt instead of old libgnunetats logic for network type classification
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 2d9803651..2c1ee12fe 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -415,7 +415,7 @@ static struct GNUNET_ATS_SessionKiller *sk_tail; | |||
415 | /** | 415 | /** |
416 | * Interface scanner determines our LAN address range(s). | 416 | * Interface scanner determines our LAN address range(s). |
417 | */ | 417 | */ |
418 | struct GNUNET_ATS_InterfaceScanner *GST_is; | 418 | struct GNUNET_NT_InterfaceScanner *GST_is; |
419 | 419 | ||
420 | 420 | ||
421 | /** | 421 | /** |
@@ -1975,7 +1975,7 @@ static void | |||
1975 | plugin_env_session_start (void *cls, | 1975 | plugin_env_session_start (void *cls, |
1976 | const struct GNUNET_HELLO_Address *address, | 1976 | const struct GNUNET_HELLO_Address *address, |
1977 | struct GNUNET_ATS_Session *session, | 1977 | struct GNUNET_ATS_Session *session, |
1978 | enum GNUNET_ATS_Network_Type scope) | 1978 | enum GNUNET_NetworkType scope) |
1979 | { | 1979 | { |
1980 | struct GNUNET_ATS_Properties prop; | 1980 | struct GNUNET_ATS_Properties prop; |
1981 | 1981 | ||
@@ -2005,7 +2005,7 @@ plugin_env_session_start (void *cls, | |||
2005 | memset (&prop, | 2005 | memset (&prop, |
2006 | 0, | 2006 | 0, |
2007 | sizeof (prop)); | 2007 | sizeof (prop)); |
2008 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != scope); | 2008 | GNUNET_break (GNUNET_NT_UNSPECIFIED != scope); |
2009 | prop.scope = scope; | 2009 | prop.scope = scope; |
2010 | GST_ats_add_inbound_address (address, | 2010 | GST_ats_add_inbound_address (address, |
2011 | session, | 2011 | session, |
@@ -2261,7 +2261,7 @@ shutdown_task (void *cls) | |||
2261 | GST_ats = NULL; | 2261 | GST_ats = NULL; |
2262 | GNUNET_ATS_connectivity_done (GST_ats_connect); | 2262 | GNUNET_ATS_connectivity_done (GST_ats_connect); |
2263 | GST_ats_connect = NULL; | 2263 | GST_ats_connect = NULL; |
2264 | GNUNET_ATS_scanner_done (GST_is); | 2264 | GNUNET_NT_scanner_done (GST_is); |
2265 | GST_is = NULL; | 2265 | GST_is = NULL; |
2266 | while (NULL != (cur = a2s_head)) | 2266 | while (NULL != (cur = a2s_head)) |
2267 | { | 2267 | { |
@@ -2859,7 +2859,7 @@ run (void *cls, | |||
2859 | /* start subsystems */ | 2859 | /* start subsystems */ |
2860 | read_blacklist_configuration (GST_cfg, | 2860 | read_blacklist_configuration (GST_cfg, |
2861 | &GST_my_identity); | 2861 | &GST_my_identity); |
2862 | GST_is = GNUNET_ATS_scanner_init (); | 2862 | GST_is = GNUNET_NT_scanner_init (); |
2863 | GST_ats_connect = GNUNET_ATS_connectivity_init (GST_cfg); | 2863 | GST_ats_connect = GNUNET_ATS_connectivity_init (GST_cfg); |
2864 | GST_ats = GNUNET_ATS_scheduling_init (GST_cfg, | 2864 | GST_ats = GNUNET_ATS_scheduling_init (GST_cfg, |
2865 | &ats_request_address_change, | 2865 | &ats_request_address_change, |