Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

MIB_IPFORWARDROW (Structures)
 
.
Summary
The MIB_IPFORWARDROW structure contains information that describes an IP network route.

C# Definition:

public enum ForwardType
{
    Other = 1,
    Invalid = 2,
    Direct = 3,
    Indirect = 4
}

public enum ForwardProtocol
{
    Other = 1,
    Local = 2,
    NetMGMT = 3,
    ICMP = 4,
    EGP = 5,
    GGP = 6,
    Hello = 7,
    RIP = 8,
    IS_IS = 9,
    ES_IS = 10,
    CISCO = 11,
    BBN = 12,
    OSPF = 13,
    BGP = 14,
    NT_AUTOSTATIC = 10002,
    NT_STATIC = 10006,
    NT_STATIC_NON_DOD = 10007
}

[StructLayout(LayoutKind.Sequential)]
public struct MIB_IPFORWARDROW
{
    public UInt32 dwForwardDest;
    public UInt32 dwForwardMask;
    public int dwForwardPolicy;
    public UInt32 dwForwardNextHop;
    public int dwForwardIfIndex;
    public ForwardType dwForwardType;
    public ForwardProtocol dwForwardProto;
    public int dwForwardAge;
    public int dwForwardNextHopAS;
    public int dwForwardMetric1;
    public int dwForwardMetric2;
    public int dwForwardMetric3;
    public int dwForwardMetric4;
    public int dwForwardMetric5;
}

VB Definition:

Public Enum ForwardType
    Other = 1
    Invalid = 2
    Direct = 3
    Indirect = 4
End Enum
Public Enum ForwardProtocol
    Other = 1
    Local = 2
    NetMGMT = 3
    ICMP = 4
    EGP = 5
    GGP = 6
    Hello = 7
    RIP = 8
    IS_IS = 9
    ES_IS = 10
    CISCO = 11
    BBN = 12
    OSPF = 13
    BGP = 14
    NT_AUTOSTATIC = 10002
    NT_STATIC = 10006
    NT_STATIC_NON_DOD = 10007
End Enum
Public Structure MIB_IPFORWARDROW
    Public dwForwardDest As UInt32
    Public dwForwardMask As UInt32
    Public dwForwardPolicy As Integer
    Public dwForwardNextHop As UInt32
    Public dwForwardIfIndex As Integer
    Public dwForwardType As ForwardType
    Public dwForwardProto As ForwardProtocol
    Public dwForwardAge As Integer
    Public dwForwardNextHopAS As Integer
    Public dwForwardMetric1 As Integer
    Public dwForwardMetric2 As Integer
    Public dwForwardMetric3 As Integer
    Public dwForwardMetric4 As Integer
    Public dwForwardMetric5 As Integer
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions