IP 帮助程序函数
以下函数检索和修改本地计算机上的 TCP/IP 传输的配置设置。 以下分类列表可帮助确定哪个函数集合最适合给定任务。
- GetNetworkConnectivityHint
- GetNetworkConnectivityHintForInterface
- NotifyNetworkConnectivityHintChange
适配器管理
地址解析协议 (ARP) 管理
- CreateIpNetEntry
- CreateProxyArpEntry
- DeleteIpNetEntry
- DeleteProxyArpEntry
- FlushIpNetTable
- GetIpNetTable
- SendARP
- SetIpNetEntry
接口转换
- ConvertInterfaceAliasToLuid
- ConvertInterfaceGuidToLuid
- ConvertInterfaceIndexToLuid
- ConvertInterfaceLuidToAlias
- ConvertInterfaceLuidToGuid
- ConvertInterfaceLuidToIndex
- ConvertInterfaceLuidToNameA
- ConvertInterfaceLuidToNameW
- ConvertInterfaceNameToLuidA
- ConvertInterfaceNameToLuidW
- if_indextoname
- if_nametoindex
接口管理
- FreeInterfaceDnsSettings
- GetFriendlyIfIndex
- GetIfEntry
- GetIfEntry2
- GetIfEntry2Ex
- GetIfStackTable
- GetIfTable
- GetIfTable2
- GetIfTable2Ex
- GetInterfaceDnsSettings
- GetInterfaceInfo
- GetInvertedIfStackTable
- GetIpInterfaceEntry
- GetIpInterfaceTable
- GetNumberOfInterfaces
- InitializeIpInterfaceEntry
- SetIfEntry
- SetInterfaceDnsSettings
- SetIpInterfaceEntry
INTERNET 协议 (IP) 和 Internet 控制消息协议 (ICMP)
- GetIcmpStatistics
- GetIpStatistics
- Icmp6CreateFile
- Icmp6ParseReplies
- Icmp6Sendecho2
- IcmpCloseHandle
- IcmpCreateFile
- IcmpParseReplies
- IcmpSendecho
- IcmpSendecho2
- IcmpSendecho2Ex
- SetIpTTL
IP 地址管理
- AddIPAddress
- CreateAnycastIpAddressEntry
- CreateUnicastIpAddressEntry
- DeleteIPAddress
- DeleteAnycastIpAddressEntry
- DeleteUnicastIpAddressEntry
- GetAnycastIpAddressEntry
- GetAnycastIpAddressTable
- GetIpAddrTable
- GetMulticastIpAddressEntry
- GetMulticastIpAddressTable
- GetUnicastIpAddressEntry
- GetUnicastIpAddressTable
- InitializeUnicastIpAddressEntry
- IpReleaseAddress
- IpRenewAddress
- NotifyStableUnicastIpAddressTable
- SetUnicastIpAddressEntry
IP 地址字符串转换
- RtlIpv4AddressToString
- RtlIpv4AddressToStringEx
- RtlIpv4StringToAddress
- RtlIpv4StringToAddressEx
- RtlIpv6AddressToString
- RtlIpv6AddressToStringEx
- RtlIpv6StringToAddress
- RtlIpv6StringToAddressEx
IP 邻居地址管理
- CreateIpNetEntry2
- DeleteIpNetEntry2
- FlushIpNetTable2
- GetIpNetEntry2
- GetIpNetTable2
- ResolveIpNetEntry2
- ResolveNeighbor
- SetIpNetEntry2
IP 路径管理
IP 路由管理
- CreateIpForwardEntry
- CreateIpForwardEntry2
- DeleteIpForwardEntry
- DeleteIpForwardEntry2
- EnableRouter
- GetBestInterface
- GetBestInterfaceEx
- GetBestRoute
- GetBestRoute2
- GetIpForwardEntry2
- GetIpForwardTable
- GetIpForwardTable2
- GetRTTAndHopCount
- InitializeIpForwardEntry
- SetIpForwardEntry
- SetIpForwardEntry2
- SetIpStatistics
- SetIpStatisticsEx
- UnenableRouter
IP 表内存管理
IP 实用工具
网络配置
通知
- CancelMibChangeNotify2
- NotifyAddrChange
- NotifyIpInterfaceChange
- NotifyRouteChange
- NotifyRouteChange2
- NotifyUnicastIpAddressChange
包时间戳
- CaptureInterfaceHardwareCrossTimestamp
- GetInterfaceActiveTimestampCapabilities
- GetInterfaceSupportedTimestampCapabilities
- RegisterInterfaceTimestampConfigChange
- UnregisterInterfaceTimestampConfigChange
永久性端口预留
- CreatePersistentTcpPortReservation
- CreatePersistentUdpPortReservation
- DeletePersistentTcpPortReservation
- DeletePersistentUdpPortReservation
- LookupPersistentTcpPortReservation
- LookupPersistentUdpPortReservation
安全运行状况
这些函数仅在 Windows Server 2003 上定义。
注意
这些功能在 Windows Vista 和 Windows Server 2008 上均不可用。
Teredo IPv6 客户端管理
传输控制协议 (TCP) 和用户数据报协议 (UDP)
- GetExtendedTcpTable
- GetExtendedUdpTable
- GetOwnerModuleFromTcp6Entry
- GetOwnerModuleFromTcpEntry
- GetOwnerModuleFromUdp6Entry
- GetOwnerModuleFromUdpEntry
- GetPerTcp6ConnectionEStats
- GetPerTcpConnectionEStats
- GetTcpStatistics
- GetTcpStatisticsEx
- GetTcpStatisticsEx2
- GetTcp6Table
- GetTcp6Table2
- GetTcpTable
- GetTcpTable2
- SetPerTcp6ConnectionEStats
- SetPerTcpConnectionEStats
- SetTcpEntry
- GetUdp6Table
- GetUdpStatistics
- GetUdpStatisticsEx
- GetUdpStatisticsEx2
- GetUdpTable
弃用的 API
注意
这些函数已弃用,Microsoft 不支持这些函数。