2.2.1.2.252 BGP_CONFIG_HEADER
The BGP_CONFIG_HEADER structure<181> specifies information pertaining to the BGP protocol using a set of BGP_TOC_ENTRY (section 2.2.1.2.253) structures.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Version |
|||||||||||||||||||||||||||||||
Size |
|||||||||||||||||||||||||||||||
TocEntriesCount |
|||||||||||||||||||||||||||||||
TocEntry (variable) |
|||||||||||||||||||||||||||||||
... |
Version (4 bytes): This is a 32-bit, unsigned integer in network byte order that MUST be set to 0x00000001. No other versions are defined.
Size (4 bytes): This is 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 BGP_TOC_ENTRY.
TocEntriesCount (4 bytes): This is a 32-bit, unsigned integer in network byte order that MUST specify the number of entries. It MUST be greater than zero (0).
TocEntry (variable): This is a list of consecutive entries, TocEntriesCount in number, each of which MUST be formatted as defined in BGP_TOC_ENTRY.