2.2.1.2.253 BGP_TOC_ENTRY
The BGP_TOC_ENTRY structure<182> specifies the format in which information pertaining to the type of data is stored in BGP_CONFIG_HEADER (section 2.2.1.2.252). The following figure shows the relationships between the BGP_CONFIG_HEADER and the entries.
Figure 4: Relationship between the BGP_CONFIG_HEADER and the entries
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
InfoType |
|||||||||||||||||||||||||||||||
InfoSize |
|||||||||||||||||||||||||||||||
Count |
|||||||||||||||||||||||||||||||
Offset |
InfoType (4 bytes): A 32-bit, unsigned integer in network byte order that MUST indicate the type of data contained in the list. The value MUST be one of the following values.
-
Value
Meaning
The structure pointed to at offset.
0x00000001
BGP_ROUTER_CONFIG
This is the BGP router configuration.
0x00000002
BGP_POLICY_INFO
This is the BGP policy configuration.
0x00000003
BGP_PEER_INFO
This is the BGP peer configuration.
0x00000004
BGP_PEER_POLICY_MAP
This is the BGP peer to BGP policy mapping.
0x00000005
BGP_ADVERTISE_INFO
This is the BGP route advertise configuration.
InfoSize (4 bytes): A 32-bit, unsigned integer, in network byte order, that MUST specify the number of bytes in an information structure of this type in this entry.
Count (4 bytes): A 32-bit, unsigned integer in network byte order that MUST specify the number of information structures of this type in this entry.
Offset (4 bytes): A 32-bit, unsigned integer in network byte order that MUST specify the offset starting from BGP_CONFIG_HEADER to start of the first structure for this entry.