gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8994 - GNUnet/src/include


From: gnunet
Subject: [GNUnet-SVN] r8994 - GNUnet/src/include
Date: Mon, 14 Sep 2009 12:49:25 -0600

Author: nevans
Date: 2009-09-14 12:49:25 -0600 (Mon, 14 Sep 2009)
New Revision: 8994

Modified:
   GNUnet/src/include/dv.h
Log:
lib for dv message size change

Modified: GNUnet/src/include/dv.h
===================================================================
--- GNUnet/src/include/dv.h     2009-09-14 18:47:06 UTC (rev 8993)
+++ GNUnet/src/include/dv.h     2009-09-14 18:49:25 UTC (rev 8994)
@@ -69,6 +69,11 @@
    */
   GNUNET_PeerIdentity neighbor GNUNET_PACKED;
 
+  /*
+   * Neighbor ID to use when sending to this peer
+   */
+  unsigned int neighbor_id;
+
 } p2p_dv_MESSAGE_NeighborInfo;
 
 /**
@@ -80,14 +85,25 @@
 
   /**
    * Identity of peer that sent the message
-   */
+
   GNUNET_PeerIdentity sender GNUNET_PACKED;
-
+  */
   /**
    * Identity of neighbor this message is going to
+
+  GNUNET_PeerIdentity recipient GNUNET_PACKED;
    */
-  GNUNET_PeerIdentity recipient GNUNET_PACKED;
 
+  /**
+   * Identity of peer that sent the message
+   */
+  unsigned int sender GNUNET_PACKED;
+
+  /**
+   * Identity of neighbor this message is going to
+  */
+  unsigned int recipient GNUNET_PACKED;
+
 } p2p_dv_MESSAGE_Data;
 
 /*
@@ -126,6 +142,12 @@
    * Last time we received routing information from this peer
    */
   GNUNET_CronTime last_activity;
+
+  /*
+   * Random identifier we use for this peer, to be used as shortcut
+   * instead of sending full peer id for each message
+   */
+  unsigned int neighbor_id;
 };
 
 #endif





reply via email to

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