次の方法で共有


2.2.1.2.3 RTR_INFO_BLOCK_HEADER

The RTR_INFO_BLOCK_HEADER structure specifies information pertaining to the protocol using a set of RTR_TOC_ENTRY (section 2.2.1.2.4) structures. These structures are encapsulated by an RTR_INFO_BLOCK_HEADER.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Version

Size

TocEntriesCount

TocEntry (variable)

...

Version (4 bytes): A 32-bit, unsigned integer in network byte order that MUST be set to 0x00000001. No other versions are defined.

Size (4 bytes): A 32-bit, unsigned integer in network byte order that MUST specify the size of the structure in bytes including the Version, Size, TocEntriesCount, and entries (TocEntry). The size MUST be at least 28 bytes. The total size depends on the number and type of the entries. This value MUST be the size of the blob represented by the structure. This MUST be the sum of the InfoSize of each element of TocEntry and TocEntriesCount times the size of RTR_TOC_ENTRY.

TocEntriesCount (4 bytes): A 32-bit, unsigned integer in network byte order that MUST specify the number of entries. It MUST be greater than 0.

TocEntry (variable): A list of consecutive entries, TocEntriesCount in number, each of which MUST be formatted as defined in RTR_TOC_ENTRY.