@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm 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: MIB_IPFORWARDROW@msdn on MSDN
Edit Structures.MIB_IP...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.