Compartilhar via


NL_ROUTE_PROTOCOL (Compact 2013)

3/26/2014

The NL_ROUTE_PROTOCOL enumeration type defines the routing mechanism that an IP route was added with, as described in RFC 4292.

Syntax

typedef enum {
  RouteProtocolOther = 1,
  RouteProtocolLocal = 2,
  RouteProtocolNetMgmt = 3,
  RouteProtocolIcmp = 4,
  RouteProtocolEgp = 5,
  RouteProtocolGgp = 6,
  RouteProtocolHello = 7,
  RouteProtocolRip = 8,
  RouteProtocolIsIs = 9,
  RouteProtocolEsIs = 10,
  RouteProtocolCisco = 11,
  RouteProtocolBbn = 12,
  RouteProtocolOspf = 13,
  RouteProtocolBgp = 14,
  MIB_IPPROTO_OTHER = 1,
  MIB_IPPROTO_LOCAL = 2,
  MIB_IPPROTO_NETMGMT = 3,
  MIB_IPPROTO_ICMP = 4,
  MIB_IPPROTO_EGP = 5,
  MIB_IPPROTO_GGP = 6,
  MIB_IPPROTO_HELLO = 7,
  MIB_IPPROTO_RIP = 8,
  MIB_IPPROTO_IS_IS = 9,
  MIB_IPPROTO_ES_IS = 10,
  MIB_IPPROTO_CISCO = 11,
  MIB_IPPROTO_BBN = 12,
  MIB_IPPROTO_OSPF = 13,
  MIB_IPPROTO_BGP = 14,
  MIB_IPPROTO_NT_AUTOSTATIC = 10002,
  MIB_IPPROTO_NT_STATIC = 10006,
  MIB_IPPROTO_NT_STATIC_NON_DOD = 10007,
} NL_ROUTE_PROTOCOL, *PNL_ROUTE_PROTOCOL;

Values

  • RouteProtocolXxx
    Reserved for system use. Do not use these values in your driver.
  • MIB_IPPROTO_OTHER
    The routing mechanism was not specified.
  • MIB_IPPROTO_LOCAL
    A local interface.
  • MIB_IPPROTO_ICMP
    The result of an ICMP redirect.
  • MIB_IPPROTO_EGP
    The Exterior Gateway Protocol (EGP), a dynamic routing protocol.
  • MIB_IPPROTO_GGP
    The Gateway-to-Gateway Protocol (GGP), a dynamic routing protocol.
  • MIB_IPPROTO_HELLO
    The Hello protocol, a dynamic routing protocol. This value is a historical entry that is no longer used and was an early routing protocol that was used by the original ARPANET routers that ran special software call fuzzball or hellospeak, as described in RFC 891.
  • MIB_IPPROTO_RIP
    The Berkeley Routing Information Protocol (RIP) or RIP-II, a dynamic routing protocol.
  • MIB_IPPROTO_IS_IS
    The Intermediate System-to-Intermediate System (IS-IS) protocol, a dynamic routing protocol. The IS-IS protocol was developed for use in the Open Systems Interconnection (OSI) protocol suite.
  • MIB_IPPROTO_ES_IS
    The End System-to-Intermediate System (ES-IS) protocol, a dynamic routing protocol. The ES-IS protocol was developed for use in the Open Systems Interconnection (OSI) protocol suite.
  • MIB_IPPROTO_CISCO
    The Cisco Interior Gateway Routing Protocol (IGRP), a dynamic routing protocol.
  • MIB_IPPROTO_BBN
    The Bolt, Beranek, and Newman (BBN) Interior Gateway Protocol (IGP) that used the Shortest Path First (SPF) algorithm. This protocol was an early dynamic routing protocol.
  • MIB_IPPROTO_OSPF
    The Open Shortest Path First (OSPF) protocol, a dynamic routing protocol.
  • MIB_IPPROTO_BGP
    The Border Gateway Protocol (BGP), a dynamic routing protocol.
  • MIB_IPPROTO_NT_AUTOSTATIC
    A Windows-specific entry that is added originally by a routing protocol, but which is now static.
  • MIB_IPPROTO_NT_STATIC
    A Windows-specific entry that is added as a static route from the routing user interface or a routing command.
  • MIB_IPPROTO_NT_STATIC_NON_DOD
    A Windows-specific entry that is added as a static route from the routing user interface or a routing command, except that these routes do not cause Dial On Demand (DOD).

Remarks

Note that the Nldef.h header is automatically included by the Netioapi.h header file. Your driver should never use the Nldef.h header file directly.

See Also

Reference

NL Enumerations