summaryrefslogtreecommitdiff
path: root/src/transport/transport_api_monitor_peers.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-08-28 13:31:48 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-08-28 13:31:48 +0000
commit56dd92a399fdebc4d2771b9f3e7790026831867b (patch)
tree164c8891d887cae79c8ed720d4321daaa196a4f7 /src/transport/transport_api_monitor_peers.c
parent55e4ea7e6853ee2c29ae0152b517bf5c39c7dbc4 (diff)
using tcp terminology for 3 way handshake: syn/syn_ack/ack
renaming all functions, states, messages ...
Diffstat (limited to 'src/transport/transport_api_monitor_peers.c')
-rw-r--r--src/transport/transport_api_monitor_peers.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/transport/transport_api_monitor_peers.c b/src/transport/transport_api_monitor_peers.c
index e04819711..8d5740d4d 100644
--- a/src/transport/transport_api_monitor_peers.c
+++ b/src/transport/transport_api_monitor_peers.c
@@ -101,14 +101,14 @@ GNUNET_TRANSPORT_is_connected (enum GNUNET_TRANSPORT_PeerState state)
{
case GNUNET_TRANSPORT_PS_NOT_CONNECTED:
case GNUNET_TRANSPORT_PS_INIT_ATS:
- case GNUNET_TRANSPORT_PS_CONNECT_SENT:
- case GNUNET_TRANSPORT_PS_CONNECT_RECV_ATS:
- case GNUNET_TRANSPORT_PS_CONNECT_RECV_ACK:
+ case GNUNET_TRANSPORT_PS_SYN_SENT:
+ case GNUNET_TRANSPORT_PS_SYN_RECV_ATS:
+ case GNUNET_TRANSPORT_PS_SYN_RECV_ACK:
return GNUNET_NO;
case GNUNET_TRANSPORT_PS_CONNECTED:
case GNUNET_TRANSPORT_PS_RECONNECT_ATS:
case GNUNET_TRANSPORT_PS_RECONNECT_SENT:
- case GNUNET_TRANSPORT_PS_CONNECTED_SWITCHING_CONNECT_SENT:
+ case GNUNET_TRANSPORT_PS_CONNECTED_SWITCHING_SYN_SENT:
return GNUNET_YES;
case GNUNET_TRANSPORT_PS_DISCONNECT:
case GNUNET_TRANSPORT_PS_DISCONNECT_FINISHED:
@@ -139,20 +139,20 @@ GNUNET_TRANSPORT_ps2s (enum GNUNET_TRANSPORT_PeerState state)
return "S_NOT_CONNECTED";
case GNUNET_TRANSPORT_PS_INIT_ATS:
return "S_INIT_ATS";
- case GNUNET_TRANSPORT_PS_CONNECT_SENT:
- return "S_CONNECT_SENT";
- case GNUNET_TRANSPORT_PS_CONNECT_RECV_ATS:
- return "S_CONNECT_RECV_ATS";
- case GNUNET_TRANSPORT_PS_CONNECT_RECV_ACK:
- return "S_CONNECT_RECV_ACK";
+ case GNUNET_TRANSPORT_PS_SYN_SENT:
+ return "S_SYN_SENT";
+ case GNUNET_TRANSPORT_PS_SYN_RECV_ATS:
+ return "S_SYN_RECV_ATS";
+ case GNUNET_TRANSPORT_PS_SYN_RECV_ACK:
+ return "S_SYN_RECV_ACK";
case GNUNET_TRANSPORT_PS_CONNECTED:
return "S_CONNECTED";
case GNUNET_TRANSPORT_PS_RECONNECT_ATS:
return "S_RECONNECT_ATS";
case GNUNET_TRANSPORT_PS_RECONNECT_SENT:
return "S_RECONNECT_SENT";
- case GNUNET_TRANSPORT_PS_CONNECTED_SWITCHING_CONNECT_SENT:
- return "S_CONNECTED_SWITCHING_CONNECT_SENT";
+ case GNUNET_TRANSPORT_PS_CONNECTED_SWITCHING_SYN_SENT:
+ return "S_CONNECTED_SWITCHING_SYN_SENT";
case GNUNET_TRANSPORT_PS_DISCONNECT:
return "S_DISCONNECT";
case GNUNET_TRANSPORT_PS_DISCONNECT_FINISHED: