From 9285bb74e36fc82d8b53e6fe29391714b916fb3c Mon Sep 17 00:00:00 2001 From: Willow Liquorice Date: Fri, 26 Aug 2022 02:43:02 +0100 Subject: -DOC: First pass of new workflow over CADET subsystem. --- src/cadet/gnunet-service-cadet_tunnels.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/cadet/gnunet-service-cadet_tunnels.h') diff --git a/src/cadet/gnunet-service-cadet_tunnels.h b/src/cadet/gnunet-service-cadet_tunnels.h index aea131542..018a3ec73 100644 --- a/src/cadet/gnunet-service-cadet_tunnels.h +++ b/src/cadet/gnunet-service-cadet_tunnels.h @@ -252,20 +252,21 @@ GCT_send_cancel (struct CadetTunnelQueueEntry *q); /** - * Return the number of channels using a tunnel. + * Returns the number of channels using a tunnel. * - * @param t tunnel to count obtain the number of channels for - * @return number of channels using the tunnel + * @param t Tunnel in question. + * @return Number of channels using the tunnel. */ unsigned int GCT_count_channels (struct CadetTunnel *t); /** - * Return the number of connections available for a tunnel. + * Counts the number of connections created for a tunnel, + * including busy connections. * - * @param t tunnel to count obtain the number of connections for - * @return number of connections available for the tunnel + * @param t Tunnel to be counted. + * @return Number of connections created for the tunnel. */ unsigned int GCT_count_any_connections (const struct CadetTunnel *t); @@ -341,7 +342,9 @@ GCT_change_estate (struct CadetTunnel *t, enum CadetTunnelEState state); /** - * Handle KX message. + * Handle KX message that lacks authentication (and which will thus + * only be considered authenticated after we respond with our own + * KX_AUTH and finally successfully decrypt the payload). * * @param ct connection/tunnel combo that received encrypted message * @param msg the key exchange message -- cgit v1.2.3