[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1477 - GNUnet-docs/WWW
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1477 - GNUnet-docs/WWW |
Date: |
Wed, 13 Jul 2005 11:54:10 -0700 (PDT) |
Author: grothoff
Date: 2005-07-13 11:54:07 -0700 (Wed, 13 Jul 2005)
New Revision: 1477
Modified:
GNUnet-docs/WWW/protocol_transport_tcp.php3
GNUnet-docs/WWW/protocol_transport_udp.php3
GNUnet-docs/WWW/todo
Log:
update
Modified: GNUnet-docs/WWW/protocol_transport_tcp.php3
===================================================================
--- GNUnet-docs/WWW/protocol_transport_tcp.php3 2005-07-13 18:26:24 UTC (rev
1476)
+++ GNUnet-docs/WWW/protocol_transport_tcp.php3 2005-07-13 18:54:07 UTC (rev
1477)
@@ -4,16 +4,30 @@
$description = "Documentation for the TCP transport service protocol";
include("html_header.php3");
-
H2("The TCP transport service");
-
BP();
-W("For the TCP transport service, the sender address has this format:");
-
+W("In each TCP connection, the first data that is transmitted is a welcome
message that tells the receiver the identity of the remote peer.");
+W("That message has the following format:");
+EP();
+LAYOUT("TCPWelcome",
+ F(ARRAY(V("size", 68, NBO_()) => 2,
+ V("reserved", 0, NBO_()) => 2,
+ N("sender identity", "") => 64)));
+BP();
+W("The individual messages exchanged over TCP then have the format:");
+EP();
+LAYOUT("TCPMessagePack",
+ F(ARRAY(N("size", NBO_()) => 2,
+ V("reserved", 0, NBO_()) => 2,
+ N("data", "") => 0)));
+BP();
+W("Here, <tt>data</tt> is the message as passed down by the GNUnet core.");
+P();
+W("For the TCP transport service, the sender address in the HELO has this
format:");
+EP();
LAYOUT("HostAddress",
F(ARRAY(N("IP", NBO_()) => 4,
- N("sender port", NBO_()) => 2,
- V("reserved", 0, NBO_()))));
-
+ N("port", NBO_()) => 2,
+ V("reserved", 0, NBO_()) => 2)));
include("html_footer.php3");
?>
Modified: GNUnet-docs/WWW/protocol_transport_udp.php3
===================================================================
--- GNUnet-docs/WWW/protocol_transport_udp.php3 2005-07-13 18:26:24 UTC (rev
1476)
+++ GNUnet-docs/WWW/protocol_transport_udp.php3 2005-07-13 18:54:07 UTC (rev
1477)
@@ -4,35 +4,23 @@
$description = "Documentation for the UDP transport service protocol";
include("html_header.php3");
-
H2("The UDP transport service");
BP();
-W("The current UDP implementation encapsulates messages in this %s.",
- extlink_("doxygen/html/structMessagePack.html","format"));
+W("The current UDP implementation encapsulates messages in this format:");
EP();
+LAYOUT("UDPMessage",
+ F(ARRAY(N("message size", NBO_()) => 2,
+ V("reserved", 0, NBO_()) => 2,
+ N("sender ID", NBO_()) => 64)));
-echo "<table class=\"border\" border=\"0\" cellspacing=\"0\"
cellpadding=\"0\">\n";
-include("bittable.inc");
-row(shortEntry_("size of the packet",
- NBO_()),
- shortEntry_("encrypted (YES=1, NO=0)",
- NBO_()));
-rowIntEntryNBO("crc");
-fiveRowIntEntries("sender identity");
-rowIntEntry("Messages...");
-echo "</table>\n";
BP();
-W("For the UDP transport service, the sender address has this %s:",
- extlink_("doxygen/html/structHostAddress.html","format"));
+W("Note that the actual data appears before this struct.");
+P();
+W("For the UDP transport service, the sender address in the HELO has this
format:");
EP();
-echo "<table class=\"border\" border=\"0\" cellspacing=\"0\"
cellpadding=\"0\">\n";
-include("bittable.inc");
-rowIntEntryNBO("IP");
-row(shortEntry_("sender port",
- NBO_()),
- shortEntry_("reserved (must be 0)",
- NBO_()));
-echo "</table>\n";
-
+LAYOUT("HostAddress",
+ F(ARRAY(N("IP", NBO_()) => 4,
+ N("port", NBO_()) => 2,
+ V("reserved", 0, NBO_()) => 2)));
include("html_footer.php3");
?>
\ No newline at end of file
Modified: GNUnet-docs/WWW/todo
===================================================================
--- GNUnet-docs/WWW/todo 2005-07-13 18:26:24 UTC (rev 1476)
+++ GNUnet-docs/WWW/todo 2005-07-13 18:54:07 UTC (rev 1477)
@@ -1,6 +1,3 @@
-* update transport protocol texts:
- * TCP
- * UDP
* update P2P protocol texts about:
* RPC
* GAP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1477 - GNUnet-docs/WWW,
grothoff <=