Platform SDK: RAS/Routing and RAS

RTM_PREF_INFO

The RTM_PREF_INFO structure contains the information used when comparing any two routes. The value of the Preference member is given more weight than the value of the Metric member.

typedef struct _RTM_PREF_INFO {
  ULONG               Metric;
  ULONG               Preference;
} RTM_PREF_INFO, *PRTM_PREF_INFO;

Members

Metric
Specifies a metric. The metric is specific to a particular routing protocol.
Preference
Specifies a preference. The preference is determined by the router policy.

Remarks

Preference is more important than metric. The metric will only be checked if the preferences are equal.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Rtmv2.h.

See Also

RTM_ROUTE_INFO