2.2.3.1.7.1 Encrypted Endpoint Array Structure
The encrypted endpoint array is an encoding of IPv6 addresses and ports. This structure is used in the LOOKUP (section 2.2.2.8) message. This structure is encrypted using the keytoken documented in section 2.2.3.1.2 before being transmitted.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
NumEntries |
ArrayLength |
||||||||||||||||||||||||||||||
|
ElementFieldType |
EntryLength |
||||||||||||||||||||||||||||||
|
Flagged Path (variable) |
|||||||||||||||||||||||||||||||
NumEntries (2 bytes): The number of entries in the Flagged Path field. This value MUST be in the range 1 to 22, inclusive.
ArrayLength (2 bytes): The length of the encrypted data. This value MUST be set to 8 + (NumEntries * EntryLength).
ElementFieldType (2 bytes): The type of the elements in the array. MUST be set to 0x009D (IPV6_ENDPOINT).
EntryLength (2 bytes): The length of each entry in the array. MUST be set to 0x0012 (18 bytes).
Flagged Path (variable): A list of IPV6_ENDPOINT structures for DRT nodes that have encountered this LOOKUP message so far.