2.2.2.1 SOLICIT
The SOLICIT message is sent by a Resolver to a Publisher to request a list of PNRP IDs in a cloud.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
FieldID1 (optional) |
Length1 (optional) |
||||||||||||||||||||||||||||||
|
Reserved (optional) |
SolicitType (optional) |
Padding1 (optional) |
|||||||||||||||||||||||||||||
|
FieldID2 (optional) |
Length2 (optional) |
||||||||||||||||||||||||||||||
|
RouteEntry (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
Padding2 (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
FieldID3 |
Length3 |
||||||||||||||||||||||||||||||
|
HashedNonce (20 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
FieldID1 (2 bytes): If present, MUST be set to 0x0044 (SOLICIT_CONTROLS). Note that a receiver can determine whether this field is present or absent based on the value at this location.
Length1 (2 bytes): MUST be present if and only if FieldID1 is present. If present, it MUST be set to 0x0006.
Reserved (1 byte): MUST be present if and only if FieldID1 is present. If present, it MUST be set to zero when sent and MUST be ignored on receipt.
SolicitType (1 byte): MUST be present if and only if FieldID1 is present. If present, it MUST be one of the following.
-
Value
Meaning
SOLICIT_TYPE_ANY
0x00
The sender wants any route entries available, both local and cached remote ones.
SOLICIT_TYPE_LOCAL
0x01
The sender only wants route entries for locally registered IDs.
Padding1 (2 bytes): MUST be present if and only if FieldID1 is present. If present, it MUST be set to zero when sent and MUST be ignored on receipt.
FieldID2 (2 bytes): If present, MUST be set to 0x009A (ROUTING_ENTRY). Note that a receiver can determine whether this field is present or absent based on the presence of this value either at bytes 0 and 1, if FieldID1 is not present, or at bytes 8 and 9 if FieldID1 is present. MUST NOT be present if the node has no locally registered PNRP IDs.
Length2 (2 bytes): MUST be present if and only if FieldID2 is present. If present, it MUST be set to the size in bytes of the RouteEntry field, plus 4.
RouteEntry (variable): Route entry for a locally registered PNRP ID on the node sending the SOLICIT message. MUST be present if and only if FieldID2 is present.
Padding2 (variable): A number of bytes from 0 through 3, such that the offset from the start of the message to the end of this field is a multiple of 4. MUST be present if and only if FieldID2 is present. MUST be set to zero when sent and MUST be ignored on receipt.
FieldID3 (2 bytes): MUST be set to 0x0092 (HASHED_NONCE).
Length3 (2 bytes): MUST be set to 0x0018.
HashedNonce (20 bytes): A 20-byte hash of the nonce value for the conversation.