大网数据广告活动
网络与域名解析

Protocol Identifiers

· 52CE 我爱测

The following protocol identifiers are also listed in Routprot.h for the Windows SDK, and iprtmib.h for the Platform Software Development Kit (SDK).

The following protocol identifiers are also listed in Routprot.h for the Windows SDK, and iprtmib.h for the Platform Software Development Kit (SDK).

IP Protocols

The following routing protocols are associated with the IP transport.

Protocol Description
PROTO_IP_OTHER, MIB_IPPROTO_OTHER Some other protocol not specified in RFC 1354.
PROTO_IP_LOCAL, MIB_IPPROTO_LOCAL A local interface.
PROTO_IP_NETMGMT, MIB_IPPROTO_NETMGMT A static route. This value is used to identify route information for IP routing set through network management such as the Dynamic Host Configuration Protocol (DCHP), the Simple Network Management Protocol (SNMP), or by calls to the CreateIpForwardEntry, DeleteIpForwardEntry, or SetIpForwardEntry functions.
PROTO_IP_ICMP, MIB_IPPROTO_ICMP The result of ICMP redirect.
PROTO_IP_EGP, MIB_IPPROTO_EGP The Exterior Gateway Protocol (EGP), a dynamic routing protocol.
PROTO_IP_GGP, MIB_IPPROTO_GGP The Gateway-to-Gateway Protocol (GGP), a dynamic routing protocol.
PROTO_IP_HELLO, MIB_IPPROTO_HELLO The Hellospeak protocol, a dynamic routing protocol. This is a historical entry no longer in use and was an early routing protocol used by the original ARPANET routers that ran special software called the Fuzzball routing protocol, sometimes called Hellospeak, as described in RFC 891 and RFC 1305. For more information, see https://www.ietf.org/rfc/rfc891.txt and https://www.ietf.org/rfc/rfc1305.txt.
PROTO_IP_RIP, MIB_IPPROTO_RIP The Berkeley Routing Information Protocol (RIP) or RIP-II, a dynamic routing protocol.
PROTO_IP_IS_IS, 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.
PROTO_IP_ES_IS, 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.
PROTO_IP_CISCO, MIB_IPPROTO_CISCO The Cisco Interior Gateway Routing Protocol (IGRP), a dynamic routing protocol.
PROTO_IP_BBN, MIB_IPPROTO_BBN The Bolt, Beranek, and Newman (BBN) Interior Gateway Protocol (IGP) that used the Shortest Path First (SPF) algorithm. This was an early dynamic routing protocol.
PROTO_IP_OSPF, MIB_IPPROTO_OSPF The Open Shortest Path First (OSPF) protocol, a dynamic routing protocol.
PROTO_IP_BGP, MIB_IPPROTO_BGP The Border Gateway Protocol (BGP), a dynamic routing protocol.
PROTO_IP_BOOTP, MIB_IPPROTO_BOOTP The Bootstrap Protocol.
PROTO_IPV6_DHCPRELAY, MIB_IPV6PROTO_HDCPRELAY The DHCPv6 Relay protocol.
PROTO_IP_NT_AUTOSTATIC, MIB_IPNT_AUTOSTATIC A Windows specific entry added originally by a routing protocol, but which is now static.
PROTO_IP_NT_STATIC, MIB_IPNT_STATIC A Windows specific entry added as a static route from the routing user interface or a routing command.
PROTO_IP_NT_STATIC_NON_DOD, MIB_IPNT_STATIC_NON_DOD A Windows specific entry added as a static route from the routing user interface or a routing command, except these routes do not cause Dial On Demand (DOD).

Routes with a protocol identifier of PROTO_IP_LOCAL include:

  • The loopback route
  • The subnet route
  • All networks broadcast route for subnetted interfaces
  • All "1"s broadcast route
  • Local multicast route
  • Route to remote end of a PPP link

The identifier for the IP router manager is:

IPRTRMGR_PID

This identifier can be used instead of a routing protocol identifier for MIB calls with the IP router manager. This identifier is used for MIB-II, Forwarding MIB, and some enterprise specific information. This identifier is also listed in Iprtrmib.h.

IPX Protocols

The following routing protocols are associated with the IPX transport.

Protocol Description
IPX_PROTOCOL_RIP Routing Information Protocol for IPX
IPX_PROTOCOL_SAP Service Advertisement Protocol
IPX_PROTOCOL_NLSP NetWare Link Services Protocol

The identifier for the IPX router manager is:

IPX_PROTOCOL_BASE

Use this identifier instead of a routing protocol identifier for MIB calls with the IPX router manager.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。