2.2.2.9 ADVERTISE
The ADVERTISE message is sent in response to a SOLICIT_HASH (section 2.2.2.8) message. This message describes the boundaries and record lists for each record range in the SOLICIT_HASH message for which the locally computed hashes do not match the remotely calculated hashes.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Message Size |
|||||||||||||||||||||||||||||||
Version |
Message Type |
Reserved1 |
|||||||||||||||||||||||||||||
Hash Entry Boundary Count |
|||||||||||||||||||||||||||||||
Record Abstract Count |
|||||||||||||||||||||||||||||||
Hash Entry Boundary Offset |
Reserved2 |
||||||||||||||||||||||||||||||
Record Abstracts Offset |
|||||||||||||||||||||||||||||||
Hash Entry Boundary array (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Record Abstracts array (variable) |
|||||||||||||||||||||||||||||||
... |
Message Size (4 bytes): The total number of bytes in the message.
Version (1 byte): The Peer-to-Peer Graphing Protocol version number. This MUST be set to 0x10 to signify version 1.0.
Message Type (1 byte): MUST be set to 0x09.
Reserved1 (2 bytes): MUST be set to zero and ignored on receipt.
Hash Entry Boundary Count (4 bytes): The count of HASH_ENTRY_BOUNDARY (section 2.2.1.8) structures in this message.
Record Abstract Count (4 bytes): The count of RECORD_ABSTRACT (section 2.2.1.6) structures in this message.
Hash Entry Boundary Offset (2 bytes): The offset, in bytes, from the beginning of the message to the HASH_ENTRY_BOUNDARY array.
Reserved2 (2 bytes): MUST be set to zero and ignored on receipt.
Record Abstracts Offset (4 bytes): The offset, in bytes, from the beginning of the message to the RECORD_ABSTRACT array.
Hash Entry Boundary array (variable): The array of HASH_ENTRY_BOUNDARY structures.
Record Abstracts array (variable): The array of RECORD_ABSTRACT structures.