gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: notes


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: notes
Date: Thu, 15 Nov 2018 23:36:33 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 35e5be0b0 notes
35e5be0b0 is described below

commit 35e5be0b0b4c7aea5a56d6a62333ab3a964a2972
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Nov 15 23:36:28 2018 +0100

    notes
---
 src/include/gnunet_bandwidth_lib.h |  2 +-
 src/transport/gnunet-service-tng.c | 23 +++++++++++++++++++++++
 src/transport/transport.h          |  2 ++
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/src/include/gnunet_bandwidth_lib.h 
b/src/include/gnunet_bandwidth_lib.h
index 78610c48b..4395b878b 100644
--- a/src/include/gnunet_bandwidth_lib.h
+++ b/src/include/gnunet_bandwidth_lib.h
@@ -11,7 +11,7 @@
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-    
+
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
diff --git a/src/transport/gnunet-service-tng.c 
b/src/transport/gnunet-service-tng.c
index 555210585..c7bdfd77c 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -19,6 +19,15 @@
  * @file transport/gnunet-service-transport.c
  * @brief main for gnunet-service-transport
  * @author Christian Grothoff
+ *
+ * TODO:
+ * - make *our* collected addresses available somehow somewhere
+ *   => Choices: in peerstore or revive/keep peerinfo?
+ * - MTU information is missing for queues!
+ * - start supporting monitor logic (add functions to signal monitors!)
+ * - manage fragmentation/defragmentation, retransmission, track RTT, loss, 
etc.
+ * - ask ATS about bandwidth allocation
+ * -
  */
 #include "platform.h"
 #include "gnunet_util_lib.h"
@@ -133,6 +142,8 @@ struct Queue
    * Network type offered by this queue.
    */
   enum GNUNET_ATS_Network_Type nt;
+
+  // FIXME: add ATS-specific fields here!
 };
 
 
@@ -167,6 +178,18 @@ struct Neighbour
    */
   struct Queue *queue_tail;
 
+  /**
+   * Quota at which CORE is allowed to transmit to this peer
+   * according to ATS.
+   *
+   * FIXME: not yet used, tricky to get right given multiple queues!
+   *        (=> Idea: let ATS set a quota per queue and we add them up here?)
+   * FIXME: how do we set this value initially when we tell CORE?
+   *    Options: start at a minimum value or at literally zero (before ATS?)
+   *         (=> Current thought: clean would be zero!)
+   */
+  struct GNUNET_BANDWIDTH_Value32NBO quota_out;
+
 };
 
 
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 129b1ce15..423d3cefa 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -800,6 +800,8 @@ struct GNUNET_TRANSPORT_AddQueueMessage
    */
   uint32_t nt;
 
+  // FIXME: add MTU?
+
   /* followed by UTF-8 encoded, 0-terminated human-readable address */
 };
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]