2.2.1.1.22 BGP_POLICY_DIRECTION

The BGP_POLICY_DIRECTION enumeration<14> enumerates the values that specify the source of the Border Gateway Protocol (BGP) routes on which the BGP policy is applied.

 typedef enum _BGP_POLICY_DIRECTION
 {
   DirectionIngress = 1,
   DirectionEgress = 2
 } BGP_POLICY_DIRECTION,
  *PBGP_POLICY_DIRECTION;

DirectionIngress: The BGP policy is applied to the BGP routes advertised by BGP peers.

DirectionEgress: The BGP policy is applied to the BGP routes advertised by the BGP speaker.