[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3765 - GNUnet-docs/WWW
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3765 - GNUnet-docs/WWW |
Date: |
Tue, 14 Nov 2006 04:08:49 -0800 (PST) |
Author: grothoff
Date: 2006-11-14 04:08:46 -0800 (Tue, 14 Nov 2006)
New Revision: 3765
Modified:
GNUnet-docs/WWW/protocol_p2p_tracekit.php3
Log:
fix
Modified: GNUnet-docs/WWW/protocol_p2p_tracekit.php3
===================================================================
--- GNUnet-docs/WWW/protocol_p2p_tracekit.php3 2006-11-14 05:20:58 UTC (rev
3764)
+++ GNUnet-docs/WWW/protocol_p2p_tracekit.php3 2006-11-14 12:08:46 UTC (rev
3765)
@@ -27,15 +27,14 @@
BP();
W("The format of the %s is:",
extlink_("doxygen/html/structTRACEKIT__p2p__PROBE.html", "PROBE message"));
-echo "<table class="border" border=\"0\" cellspacing=\"0\"
cellpadding=\"0\">\n";
-include("bittable.inc");
-rowSizeType("40","36");
-rowIntEntryNBO("timestamp (unsigned)");
-rowIntEntryNBO("hops to go (unsigned)");
-rowIntEntryNBO("importance of the request (unsigned)");
-rowIntEntryNBO("internal client ID");
-fiveRowIntEntries("initiator peer identity");
-echo "</table>\n";
+LAYOUT("TRACEKIT_p2p_PROBE",
+ F(ARRAY(V("message size", 40, NBO_()) => 2,
+ V("message type", 36, NBO_()) => 2,
+ N("timestamp (unsigned)", NBO_()) => 4,
+ N("hops to go (unsigned)", NBO_()) => 4,
+ N("importance of the request (unsigned)", NBO_()) => 4,
+ N("internal client ID", NBO_()) => 4,
+ N("initiator peer identity", NBO_()) => 64)));
W("If the responder has already seen a PROBE request from the same initiator
with the same timestamp, the PROBE is discarded.");
W("The timestamp is used by the responder who has bounded space to keep track
of requests.");
W("The responder is expected to discard the oldest request from the tracking
table.");
@@ -53,15 +52,14 @@
BP();
W("The format of the %s is:",
extlink("doxygen/html/structTRACEKIT__p2p__REPLY.html", "REPLY message"));
-echo "<table class="border" border=\"0\" cellspacing=\"0\"
cellpadding=\"0\">\n";
-include("bittable.inc");
-rowSizeType("size","37");
-fiveRowIntEntries("initiator peer identity");
-fiveRowIntEntries("responder peer identity");
-rowIntEntryNBO("initiator timestamp (unsigned)");
-rowIntEntryNBO("internal client ID");
-rowIntEntry("Connected peers (variable size)");
-echo "</table>\n";
+LAYOUT("TRACEKIT_p2p_REPLY",
+ F(ARRAY(N("message size", NBO_()) => 2,
+ V("request type", 37, NBO_()) => 2,
+ N("initiator peer identity", NBO_()) => 64,
+ N("responder peer identity", NBO_()) => 64,
+ N("initiator timestamp (unsigned)", NBO_()) => 4,
+ N("internal client ID", NBO_()) => 4,
+ N("connected peers", NBO_()) => 0)));
W("The responder peer identity is the identity of the peer that originally
constructed this message.");
W("Peers forwarding REPLY messages are not supposed to modify them in any
way.");
W("The internal client ID is copied unchanged from the original request.");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3765 - GNUnet-docs/WWW,
grothoff <=