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.  

Relationship between the BGP_CONFIG_HEADER and the entries

Figure 4: Relationship between the BGP_CONFIG_HEADER and the entries


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

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.

BGP_ROUTER_CONFIG (section 2.2.1.2.257) 

0x00000002

BGP_POLICY_INFO

This is the BGP policy configuration.

BGP_POLICY (section 2.2.1.2.261) 

0x00000003

BGP_PEER_INFO

This is the BGP peer configuration.

BGP_PEER (section 2.2.1.2.262) 

0x00000004

BGP_PEER_POLICY_MAP

This is the BGP peer to BGP policy mapping.

BGP_PEER_TO_POLICIES (section 2.2.1.2.263)

0x00000005

BGP_ADVERTISE_INFO

This is the BGP route advertise configuration.

BGP_ADVERTISE (section 2.2.1.2.264) 

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.