2.2.1.2.260 BGP_POLICY_ACTION

The BGP_POLICY_ACTION structure<189> specifies the modified value of a BGP attribute.

 typedef struct _BGP_POLICY_ACTION {
   union {
     BGP_POLICY_MODIFY Modify;
     BOOL bDeny;
   } Action;
 } BGP_POLICY_ACTION,
  *PBGP_POLICY_ACTION;

Modify: Specifies the attribute value that would be used to modify the BGP route. This MUST be of type BGP_POLICY_MODIFY (section 2.2.1.2.259)

bDeny: Specifies whether the BGP route is to be filtered out. This value MUST be one of the following values.

Value

Meaning

0x00000000

If the BGP policy is of type PolicyFilter, all the BGP routes that do not match the policy MUST be ignored while broadcasting to BGP peers and while receiving from BGP peers.

0x00000001

The BGP route that matches the BGP policy MUST be ignored while broadcasting to BGP peers and while receiving from BGP peers.