NL_ROUTE_PROTOCOL enumeration (nldef.h)
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,
RouteProtocolIdpr = 15,
RouteProtocolEigrp = 16,
RouteProtocolDvmrp = 17,
RouteProtocolRpl = 18,
RouteProtocolDhcp = 19
} NL_ROUTE_PROTOCOL, *PNL_ROUTE_PROTOCOL;
Constants
RouteProtocolOther Value: 1 Reserved for system use. Do not use this value in your driver. |
RouteProtocolLocal Value: 2 Reserved for system use. Do not use this value in your driver. |
RouteProtocolNetMgmt Value: 3 Reserved for system use. Do not use this value in your driver. |
RouteProtocolIcmp Value: 4 Reserved for system use. Do not use this value in your driver. |
RouteProtocolEgp Value: 5 Reserved for system use. Do not use this value in your driver. |
RouteProtocolGgp Value: 6 Reserved for system use. Do not use this value in your driver. |
RouteProtocolHello Value: 7 Reserved for system use. Do not use this value in your driver. |
RouteProtocolRip Value: 8 Reserved for system use. Do not use this value in your driver. |
RouteProtocolIsIs Value: 9 Reserved for system use. Do not use this value in your driver. |
RouteProtocolEsIs Value: 10 Reserved for system use. Do not use this value in your driver. |
RouteProtocolCisco Value: 11 Reserved for system use. Do not use this value in your driver. |
RouteProtocolBbn Value: 12 Reserved for system use. Do not use this value in your driver. |
RouteProtocolOspf Value: 13 Reserved for system use. Do not use this value in your driver. |
RouteProtocolBgp Value: 14 Reserved for system use. Do not use this value in your driver. |
RouteProtocolIdpr Value: 15 |
RouteProtocolEigrp Value: 16 |
RouteProtocolDvmrp Value: 17 |
RouteProtocolRpl Value: 18 |
RouteProtocolDhcp Value: 19 |
Remarks
For more information about RFC 4292, see the IP Forwarding Table MIB memo by the Network Working Group.
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | nldef.h (include Netioapi.h) |