]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/pkt/plain.texi
Add various documentation indices
[nncp.git] / doc / pkt / plain.texi
index 954b893de28b5f7a95b43c8401f648a265c9f556..7af4360f36171df73546aaeb03013e82aa6a72b0 100644 (file)
@@ -1,4 +1,5 @@
 @node Plain
+@cindex plain packet
 @section Plain packet
 
 Plain packet contains either the whole file, or file request (freq), or
@@ -67,7 +68,7 @@ Also depending on packet's type, niceness level means:
 
 @itemize
 @item Preferable niceness level for files sent by freq
-@item @env{NNCP_NICE} variable's value passed during @ref{CfgExec} invocation.
+@item @env{$NNCP_NICE} variable's value passed during @ref{CfgExec} invocation.
 @end itemize
 
 So plain packets can hold following paths and payloads:
@@ -98,24 +99,24 @@ So plain packets can hold following paths and payloads:
 
 @item exec
 @example
-  +----------------------- PATH -------------------------+   +---- PAYLOAD ---+
- /                                                        \ /                  \
-+----------------------------------------------------------+---------------...--+
-|  HANDLE | ARG0 0x00 ARG1 ...| 0x00 ... variable ... 0x00 |     ZSTD DATA      |
-+----------------------------------------------------------+---------------...--+
- \                           /
-  +-------- PATHLEN --------+
+  +------------------------- PATH ----------------------------+   +---- PAYLOAD ---+
+ /                                                             \ /                  \
++---------------------------------------------------------------+---------------...--+
+|  HANDLE 0x00 | ARG0 0x00 ARG1 ...| 0x00 ... variable ... 0x00 |     ZSTD DATA      |
++---------------------------------------------------------------+---------------...--+
+ \                                /
+  +-------- PATHLEN -------------+
 @end example
 
 @item exec-fat
 @example
-  +----------------------- PATH -------------------------+   +---- PAYLOAD ---+
- /                                                        \ /                  \
-+----------------------------------------------------------+---------------...--+
-|  HANDLE | ARG0 0x00 ARG1 ...| 0x00 ... variable ... 0x00 |        DATA        |
-+----------------------------------------------------------+---------------...--+
- \                           /
-  +-------- PATHLEN --------+
+  +------------------------- PATH ----------------------------+   +---- PAYLOAD ---+
+ /                                                             \ /                  \
++---------------------------------------------------------------+---------------...--+
+|  HANDLE 0x00 | ARG0 0x00 ARG1 ...| 0x00 ... variable ... 0x00 |        DATA        |
++---------------------------------------------------------------+---------------...--+
+ \                                /
+  +-------- PATHLEN -------------+
 @end example
 
 @item trns