X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=blobdiff_plain;f=doc%2Fpkt%2Fplain.texi;h=7af4360f36171df73546aaeb03013e82aa6a72b0;hp=954b893de28b5f7a95b43c8401f648a265c9f556;hb=203dfe36da7adf2b3089e4fa4017a67409cbad70;hpb=ab7c7eca0e53661f0ba904c2a6ba752990bea367 diff --git a/doc/pkt/plain.texi b/doc/pkt/plain.texi index 954b893..7af4360 100644 --- a/doc/pkt/plain.texi +++ b/doc/pkt/plain.texi @@ -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