Share via


MIB_IPFORWARDROW

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains information that describes an IP network route.

Syntax

typedef struct _MIB_IPFORWARDROW {
  DWORD dwForwardDest; 
  DWORD dwForwardMask; 
  DWORD dwForwardPolicy; 
  DWORD dwForwardNextHop; 
  DWORD dwForwardIfIndex; 
  DWORD dwForwardType; 
  DWORD dwForwardProto; 
  DWORD dwForwardAge; 
  DWORD dwForwardNextHopAS; 
  DWORD dwForwardMetric1; 
  DWORD dwForwardMetric2; 
  DWORD dwForwardMetric3; 
  DWORD dwForwardMetric4; 
  DWORD dwForwardMetric5; 
} MIB_IPFORWARDROW, *PMIB_IPFORWARDROW;

Members

  • dwForwardDest
    IP address of the destination host.
  • dwForwardMask
    Subnet mask of the destination host.
  • dwForwardPolicy
    The set of conditions that would cause the selection of a multi-path route. This member is typically in IP TOS format. For more information, see RFC 1354.
  • dwForwardNextHop
    The IP address of the next hop in the route.
  • dwForwardIfIndex
    The index of the interface for this route.
  • dwForwardType
    The route type as defined in RFC 1354. The following table shows the possible values for this member.

    Value Description

    4

    The next hop is not the final destination (remote route).

    3

    The next hop is the final destination (local route).

    2

    The route is invalid.

    1

    Other.

  • dwForwardProto
    The protocol that generated the route.
  • dwForwardAge
    The age of the route in seconds.
  • dwForwardNextHopAS
    The autonomous system number of the next hop.
  • dwForwardMetric1
    A routing-protocol-specific metric value. This metric value is documented in RFC 1354.
  • dwForwardMetric2
    A routing-protocol-specific metric value. This metric value is documented in RFC 1354.
  • dwForwardMetric3
    A routing-protocol-specific metric value. This metric value is documented in RFC 1354.
  • dwForwardMetric4
    A routing-protocol-specific metric value. This metric value is documented in RFC 1354.
  • dwForwardMetric5
    A routing-protocol-specific metric value. This metric value is documented in RFC 1354.

Requirements

Header iprtrmib.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IP Helper Structures
CreateIpForwardEntry
DeleteIpForwardEntry
MIB_IPFORWARDTABLE
SetIpForwardEntry