[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r930 - GNUnet-docs/WWW/test
From: |
durner |
Subject: |
[GNUnet-SVN] r930 - GNUnet-docs/WWW/test |
Date: |
Tue, 14 Jun 2005 11:11:38 -0700 (PDT) |
Author: durner
Date: 2005-06-14 11:11:33 -0700 (Tue, 14 Jun 2005)
New Revision: 930
Modified:
GNUnet-docs/WWW/test/bittable.inc
GNUnet-docs/WWW/test/protocol.php3
GNUnet-docs/WWW/test/protocol_cs_core.php3
GNUnet-docs/WWW/test/protocol_p2p.php3
Log:
Reformat
Modified: GNUnet-docs/WWW/test/bittable.inc
===================================================================
--- GNUnet-docs/WWW/test/bittable.inc 2005-06-14 17:56:45 UTC (rev 929)
+++ GNUnet-docs/WWW/test/bittable.inc 2005-06-14 18:11:33 UTC (rev 930)
@@ -1,5 +1,5 @@
<tr>
- <th>
+ <th class="tbl">
<table>
<tr>
<th>00</th><th>01</th><th>02</th><th>03</th>
@@ -9,7 +9,7 @@
</tr>
</table>
</th>
- <th>
+ <th class="tbl">
<table>
<tr>
<th>16</th><th>17</th><th>18</th><th>19</th>
Modified: GNUnet-docs/WWW/test/protocol.php3
===================================================================
--- GNUnet-docs/WWW/test/protocol.php3 2005-06-14 17:56:45 UTC (rev 929)
+++ GNUnet-docs/WWW/test/protocol.php3 2005-06-14 18:11:33 UTC (rev 930)
@@ -5,7 +5,9 @@
include("html_header.php3");
H2("The Protocols");
+BP();
W("GNUnet uses protocols in three different contexts.");
+EP();
echo "<ol><li>";
W("The first and most important protocol family is the peer-to-peer
protocol.");
W("This protocol defines how nodes in the network exchange information with
each other.");
Modified: GNUnet-docs/WWW/test/protocol_cs_core.php3
===================================================================
--- GNUnet-docs/WWW/test/protocol_cs_core.php3 2005-06-14 17:56:45 UTC (rev
929)
+++ GNUnet-docs/WWW/test/protocol_cs_core.php3 2005-06-14 18:11:33 UTC (rev
930)
@@ -5,7 +5,9 @@
include("html_header.php3");
ANCHOR("CSprotocolCore");H3("GNUnet Protocol: client-to-node: core");
+BP();
W("The only application independent, always available client-server (CS)
message that are currently defined are:");
+EP();
echo "<ul><li>";
extlink("#CS_RETURN_VALUE","RETURN_VALUE");
echo "</li><li>";
@@ -23,41 +25,43 @@
echo "</li><li>";
extlink("#CS_GET_OPTION_REPLY","GET_OPTION_REPLY");
echo "</li></ul>";
-BR();
-P();
ANCHOR("CS_RETURN_VALUE");H4("RETURN_VALUE");
+BP();
W("The RETURN_VALUE message is used to communicate simple (int) return values
from TCP requests.");
W("It is always send in response to another, specific request.");
W("The format of the RETURN_VALUE message is:");
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
rowSizeType("8","0");
rowIntEntryNBO("the return value");
echo "</table>\n";
-P();
ANCHOR("CS_GET_STATISTICS");H4("GET_STATISTICS");
+BP();
W("With this message, the client can request statistics from the server.");
W("The server always replies with a %s message.",
extlink_("#CS_STATISTICS","STATISTICS"));
-BR();
+P();
W("The format of the GET_STATISTICS message is:");
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
rowSizeType("4", "1");
echo "</table>\n";
-P();
ANCHOR("CS_STATISTICS");H4("STATISTICS");
+BP();
W("The available statistical information may change between GNUnet versions.");
W("It also depends on which modules are loaded.");
W("The %s of this message is:",
extlink_("doxygen/html/structSTATISTICS__Message.html","format"));
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
rowSizeType("variable", "2");
rowIntEntryNBO("start time (gnuentd start)");
@@ -68,38 +72,47 @@
rowIntEntryNBO("descriptions (stat counters of zero-terminated strings
describing the values)");
echo "</table>\n";
+BP();
W("The server sends potentially several STATISTICS messages until the sum of
<tt>stat counters</tt> in all messages equals the <tt>total counters</tt>
advertised.");
W("The last decription string is also zero-terminated.");
W("Thus the last character in every STATISTICS message is 0.");
+EP();
-P();
ANCHOR("CS_TRAFFIC_QUERY");H4("TRAFFIC_QUERY");
+BP();
W("With this message, the client can request traffic statistics from
gnunetd.");
W("The time period specfied in the message specifies which traffic is
interesting for the request (in terms of not older than time period time
units).");
W("The format of the TRAFFIC_QUERY message is:");
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
rowSizeType("4", "2");
rowIntEntryNBO("time period (in CU)");
echo "</table>\n";
+BP();
W("The server responds with a TRAFFIC_INFO message.");
+EP();
-P();
ANCHOR("CS_TRAFFIC_INFO");H4("TRAFFIC_INFO");
+BP();
W("With this message, the server sends traffic information to the client.");
W("The format of the TRAFFIC_INFO message is:");
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
rowSizeType("4", "3");
rowIntEntryNBO("number of traffic counters that follow");
echo "</table>\n";
+BP();
W("The traffic counters have the following format:");
-echo "<table border=3>\n";
+EP();
+
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
row(shortEntry_("flags (see TC_ constants)", NBO_()),
shortEntry_("number of messages of this type that were processed",
NBO_()));
@@ -109,37 +122,44 @@
echo "</table>\n";
-P();
ANCHOR("CS_SHUTDOWN_REQUEST");H4("SHUTDOWN_REQUEST");
+BP();
W("With this message, the client can request gnunetd to shutdown.");
W("The format of the SHUTDOWN_REQUEST message is:");
+EP();
echo "<table border=3>\n";
include("bittable.inc");
rowSizeType("4", "64");
echo "</table>\n";
+BP();
W("The server responds with a RETURN_VALUE message with the contents OK if it
is shutting down.");
+EP();
-P();
ANCHOR("GET_OPTION_REQUEST");H4("GET_OPTION_REQUEST");
+BP();
W("With this message, the client can request the value of an option from the
gnunetd configuration.");
W("The format of the GET_OPTION_REQUEST message is:");
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
rowSizeType("4", "65");
rowIntEntry("32 characters giving the section name, 0-terminated");
rowIntEntry("32 characters giving the option name, 0-terminated");
echo "</table>\n";
+BP();
W("The server responds with a GET_OPTION_REPLY message.");
-P();
+EP();
ANCHOR("GET_OPTION_REPLY");H4("GET_OPTION_REPLY");
+BP();
W("With this message, the server notifies the client about the value of an
option.");
W("The format of the GET_OPTION_REPLY message is:");
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
rowSizeType("variable(>4)", "66");
rowIntEntry("option value (as characters), 0-terminated, size determined");
Modified: GNUnet-docs/WWW/test/protocol_p2p.php3
===================================================================
--- GNUnet-docs/WWW/test/protocol_p2p.php3 2005-06-14 17:56:45 UTC (rev
929)
+++ GNUnet-docs/WWW/test/protocol_p2p.php3 2005-06-14 18:11:33 UTC (rev
930)
@@ -5,7 +5,7 @@
include("html_header.php3");
ANCHOR("protocol");H3("GNUnet Protocols: node-to-node");
-
+BP();
W("A packet exchanged between GNUnet hosts can contain any number of
messages.");
W("The total packet size is limited by the MTU of the transport service that
is used.");
W("Packets are assembled from individual messages by the GNUnet core.");
@@ -24,22 +24,23 @@
P();
W("Each of the messages in the plaintext packet has the following %s:",
extlink_("doxygen/html/structMessagePart.html","header"));
+EP();
-echo "<table border=3>\n";
+echo "<table border="0" cellspacing="0" cellpadding="0">\n";
include("bittable.inc");
row(shortEntry_("message size", NBO_()),
shortEntry_("request type", NBO_()));
echo "</table>\n";
+BP();
W("The header is followed by <tt>message size</tt> octets for the message.");
W("GNUnet clients are required to skip unknown request types.");
W("The <tt>message size</tt> field is the size of the message in octets
including the header.");
P();
W("The following groups of peer-to-peer messages are documented:");
include("protocol_p2p_index.inc");
-P();
+EP();
HR();
-P();
include("html_footer.php3");
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r930 - GNUnet-docs/WWW/test,
durner <=