The MIB_IPFORWARDROW structure contains information that describes an IP network route.
typedef struct _MIB_IPFORWARDROW {
DWORD dwForwardDest; // IP addr of destination
DWORD dwForwardMask; // subnetwork mask of destination
DWORD dwForwardPolicy; // conditions for multi-path route
DWORD dwForwardNextHop; // IP address of next hop
DWORD dwForwardIfIndex; // index of interface
DWORD dwForwardType; // route type
DWORD dwForwardProto; // protocol that generated route
DWORD dwForwardAge; // age of route
DWORD dwForwardNextHopAS; // autonomous system number
// of next hop
DWORD dwForwardMetric1; // protocol-specific metric
DWORD dwForwardMetric2; // protocol-specific metric
DWORD dwForwardMetric3; // protocol-specific metric
DWORD dwForwardMetric4; // protocol-specific metric
DWORD dwForwardMetric5; // protocol-specific metric
} MIB_IPFORWARDROW, *PMIB_IPFORWARDROW;
| Value | Meaning |
|---|---|
| 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. |
Windows NT/2000: Requires Windows 2000.
Header: Declared in Iprtrmib.h.
CreateIpForwardEntry, DeleteIpForwardEntry, MIB_IPFORWARDTABLE, SetIpForwardEntry