Partager via


2.2.1.2.267 PROTOCOL_METRIC_EX

The PROTOCOL_METRIC_EX structure<196> is used to specify the metric of a protocol in PRIORITY_INFO_EX (section 2.2.1.2.266).  

 typedef struct _PROTOCOL_METRIC_EX {
   IN OUT DWORD dwProtocolId;
   IN OUT DWORD dwSubProtocolId;
   IN OUT DWORD dwMetric;
 } PROTOCOL_METRIC_EX,
  *PPROTOCOL_METRIC_EX;

dwProtocolId: This is same as dwProtocolId in PROTOCOL_METRIC (section 2.2.1.2.13)

dwSubProtocolId: This is the subprotocol ID. This value MUST be set to zero (0) if the dwProtocolId is not set to MIB_IPPROTO_BGP (0xD). For dwProtocolId MIB_IPPROTO_BGP (0xD), this MUST be set to one the following values.

Value

Meaning

SUB_PROTO_IP_BGP_IBGP

0x1

Interior Border Gateway Protocol (IBGP).

SUB_PROTO_IP_BGP_EBGP

0x2

Exterior Border Gateway Protocol (EBGP).

dwMetric: The metric for dwSubProtocolId.