Partager via


2.2.1.2.264 BGP_ADVERTISE

The BGP_ADVERTISE structure<193> is used to get or set the BGP route advertisement configuration.


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

dwFlags

uInterfaceCount

uPrefixCount

Interfaces (variable)

...

Prefixes (variable)

...

dwFlags (4 bytes): This flag MUST to set to one of the following values while modifying the BGP route advertisement configuration and MUST be ignored on receipt.

Value

Meaning

0x00000000

None of the attributes in the BGP_ADVERTISE structure is modified

0xFFFFFFFF

One or more attributes in the BGP_ADVERTISE structure are modified.

uInterfaceCount (4 bytes): Specifies the number of interfaces whose static routes would be advertised.

uPrefixCount (4 bytes): Specifies the number of prefixes in addition to the prefixes learned from the BGP peers that would be advertised. These additional prefix values are specified in the Prefixes field.

Interfaces (variable): An array of LUIDs of the interfaces whose static routes would be advertised. The number of entries in this array MUST be uInterfaceCount.

Prefixes (variable): An array of prefixes, uPrefixCount in number, each of which MUST be of type BGP_IP_PREFIX (section 2.2.1.2.255).