Specify streaming option field order
thx dinamic
This commit is contained in:
@ -313,49 +313,49 @@ in the given order.</p>
|
||||
Bit order: 15....0 (15 is MSB)
|
||||
</p>
|
||||
<table>
|
||||
<tr><th>Bit<th>Flag<th>Option Data<th>Function
|
||||
<tr><td>0<td>SYNCHRONIZE<td align="center">--<td>
|
||||
<tr><th>Bit<th>Flag<th>Option Order<th>Option Data<th>Function
|
||||
<tr><td>0<td>SYNCHRONIZE<td align="center">--<td align="center">--<td>
|
||||
Similar to TCP SYN. Set in the initial packet and in the first response.
|
||||
FROM_INCLUDED and SIGNATURE_INCLUDED must be set also.
|
||||
<tr><td>1<td>CLOSE<td align="center">--<td>
|
||||
<tr><td>1<td>CLOSE<td align="center">--<td align="center">--<td>
|
||||
Similar to TCP FIN. If the response to a SYNCHRONIZE fits in a single message, the response
|
||||
will contain both SYNCHRONIZE and CLOSE.
|
||||
SIGNATURE_INCLUDED must be set also.
|
||||
<tr><td>2<td>RESET<td align="center">--<td>
|
||||
<tr><td>2<td>RESET<td align="center">--<td align="center">--<td>
|
||||
Abnormal close.
|
||||
SIGNATURE_INCLUDED must be set also.
|
||||
<tr><td>3<td>SIGNATURE_INCLUDED<td>40 byte <a href="common_structures_spec.html#type_Signature">DSA Signature</a>
|
||||
<tr><td>3<td>SIGNATURE_INCLUDED<td align="center">4<td>40 byte <a href="common_structures_spec.html#type_Signature">DSA Signature</a>
|
||||
<td>
|
||||
Currently sent only with SYNCHRONIZE, CLOSE, and RESET, where it is required,
|
||||
and with ECHO, where it is required for a ping.
|
||||
The signature uses the Destination's <a href="common_structures_spec.html#type_SigningPublicKey">DSA signing keys</a>
|
||||
to sign the entire header and payload with the 40-byte space in the option data field
|
||||
for the signature being set to all zeroes.
|
||||
<tr><td>4<td>SIGNATURE_REQUESTED<td align="center">--<td>
|
||||
<tr><td>4<td>SIGNATURE_REQUESTED<td align="center">--<td align="center">--<td>
|
||||
Unused. Requests every packet in the other direction to have SIGNATURE_INCLUDED
|
||||
<tr><td>5<td>FROM_INCLUDED<td>387+ byte <a href="common_structures_spec.html#struct_Destination">Destination</a>
|
||||
<tr><td>5<td>FROM_INCLUDED<td align="center">2<td>387+ byte <a href="common_structures_spec.html#struct_Destination">Destination</a>
|
||||
<td>
|
||||
Currently sent only with SYNCHRONIZE, where it is required,
|
||||
and with ECHO, where it is required for a ping.
|
||||
<tr><td>6<td>DELAY_REQUESTED<td>2 byte <a href="common_structures_spec.html#type_Integer">Integer</a><td>
|
||||
<tr><td>6<td>DELAY_REQUESTED<td align="center">1<td>2 byte <a href="common_structures_spec.html#type_Integer">Integer</a><td>
|
||||
Optional delay.
|
||||
How many milliseconds the sender of this packet wants the recipient
|
||||
to wait before sending any more data.
|
||||
A value greater than 60000 indicates choking.
|
||||
<tr><td>7<td>MAX_PACKET_SIZE_INCLUDED<td>2 byte <a href="common_structures_spec.html#type_Integer">Integer</a><td>
|
||||
<tr><td>7<td>MAX_PACKET_SIZE_INCLUDED<td align="center">3<td>2 byte <a href="common_structures_spec.html#type_Integer">Integer</a><td>
|
||||
Currently sent with SYNCHRONIZE only.
|
||||
Was also sent in retransmitted packets until release 0.9.1.
|
||||
<tr><td>8<td>PROFILE_INTERACTIVE<td align="center">--<td>
|
||||
<tr><td>8<td>PROFILE_INTERACTIVE<td align="center">--<td align="center">--<td>
|
||||
Unused or ignored; the interactive profile is unimplemented.
|
||||
<tr><td>9<td>ECHO<td align="center">--<td>
|
||||
<tr><td>9<td>ECHO<td align="center">--<td align="center">--<td>
|
||||
Unused except by ping programs.
|
||||
If set, most other options, and the payload, are ignored. See below.
|
||||
<tr><td>10<td>NO_ACK<td align="center">--<td>
|
||||
<tr><td>10<td>NO_ACK<td align="center">--<td align="center">--<td>
|
||||
This flag simply tells the recipient to ignore the ackThrough field in the header.
|
||||
Currently set in the inital SYN packet, otherwise the ackThrough field is always valid.
|
||||
Note that this does not save any space, the ackThrough field is before the flags
|
||||
and is always present.
|
||||
<tr><td>11-15<td>unused<td><td>
|
||||
<tr><td>11-15<td>unused<td><td><td>
|
||||
</table>
|
||||
|
||||
<h2>Implementation Details</h2>
|
||||
|
Reference in New Issue
Block a user