The following functions retrieve and modify configuration settings for the TCP/IP transport on the local computer. The following categorical listing can help determine which collection of functions is best suited for a given task.
- GetNetworkConnectivityHint
- GetNetworkConnectivityHintForInterface
- NotifyNetworkConnectivityHintChange
Adapter management
Address Resolution Protocol (ARP) management
- CreateIpNetEntry
- CreateProxyArpEntry
- DeleteIpNetEntry
- DeleteProxyArpEntry
- FlushIpNetTable
- GetIpNetTable
- SendARP
- SetIpNetEntry
Interface conversion
- ConvertInterfaceAliasToLuid
- ConvertInterfaceGuidToLuid
- ConvertInterfaceIndexToLuid
- ConvertInterfaceLuidToAlias
- ConvertInterfaceLuidToGuid
- ConvertInterfaceLuidToIndex
- ConvertInterfaceLuidToNameA
- ConvertInterfaceLuidToNameW
- ConvertInterfaceNameToLuidA
- ConvertInterfaceNameToLuidW
- if_indextoname
- if_nametoindex
Interface management
- FreeInterfaceDnsSettings
- GetFriendlyIfIndex
- GetIfEntry
- GetIfEntry2
- GetIfEntry2Ex
- GetIfStackTable
- GetIfTable
- GetIfTable2
- GetIfTable2Ex
- GetInterfaceDnsSettings
- GetInterfaceInfo
- GetInvertedIfStackTable
- GetIpInterfaceEntry
- GetIpInterfaceTable
- GetNumberOfInterfaces
- InitializeIpInterfaceEntry
- SetIfEntry
- SetInterfaceDnsSettings
- SetIpInterfaceEntry
Internet Protocol (IP) and Internet Control Message Protocol (ICMP)
- GetIcmpStatistics
- GetIpStatistics
- Icmp6CreateFile
- Icmp6ParseReplies
- Icmp6SendEcho2
- IcmpCloseHandle
- IcmpCreateFile
- IcmpParseReplies
- IcmpSendEcho
- IcmpSendEcho2
- IcmpSendEcho2Ex
- SetIpTTL
IP address management
- AddIPAddress
- CreateAnycastIpAddressEntry
- CreateUnicastIpAddressEntry
- DeleteIPAddress
- DeleteAnycastIpAddressEntry
- DeleteUnicastIpAddressEntry
- GetAnycastIpAddressEntry
- GetAnycastIpAddressTable
- GetIpAddrTable
- GetMulticastIpAddressEntry
- GetMulticastIpAddressTable
- GetUnicastIpAddressEntry
- GetUnicastIpAddressTable
- InitializeUnicastIpAddressEntry
- IpReleaseAddress
- IpRenewAddress
- NotifyStableUnicastIpAddressTable
- SetUnicastIpAddressEntry
IP address string conversion
- RtlIpv4AddressToString
- RtlIpv4AddressToStringEx
- RtlIpv4StringToAddress
- RtlIpv4StringToAddressEx
- RtlIpv6AddressToString
- RtlIpv6AddressToStringEx
- RtlIpv6StringToAddress
- RtlIpv6StringToAddressEx
IP neighbor address management
- CreateIpNetEntry2
- DeleteIpNetEntry2
- FlushIpNetTable2
- GetIpNetEntry2
- GetIpNetTable2
- ResolveIpNetEntry2
- ResolveNeighbor
- SetIpNetEntry2
IP path management
IP route management
- CreateIpForwardEntry
- CreateIpForwardEntry2
- DeleteIpForwardEntry
- DeleteIpForwardEntry2
- EnableRouter
- GetBestInterface
- GetBestInterfaceEx
- GetBestRoute
- GetBestRoute2
- GetIpForwardEntry2
- GetIpForwardTable
- GetIpForwardTable2
- GetRTTAndHopCount
- InitializeIpForwardEntry
- SetIpForwardEntry
- SetIpForwardEntry2
- SetIpStatistics
- SetIpStatisticsEx
- UnenableRouter
IP table memory management
IP utility
Network configuration
Notification
- CancelMibChangeNotify2
- NotifyAddrChange
- NotifyIpInterfaceChange
- NotifyRouteChange
- NotifyRouteChange2
- NotifyUnicastIpAddressChange
Packet timestamping
- CaptureInterfaceHardwareCrossTimestamp
- GetInterfaceActiveTimestampCapabilities
- GetInterfaceSupportedTimestampCapabilities
- RegisterInterfaceTimestampConfigChange
- UnregisterInterfaceTimestampConfigChange
Persistent port reservation
- CreatePersistentTcpPortReservation
- CreatePersistentUdpPortReservation
- DeletePersistentTcpPortReservation
- DeletePersistentUdpPortReservation
- LookupPersistentTcpPortReservation
- LookupPersistentUdpPortReservation
Security health
These functions are defined only on Windows Server 2003.
Note:
These functions are not available on Windows Vista, nor on Windows Server 2008.
Teredo IPv6 client management
Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)
- GetExtendedTcpTable
- GetExtendedUdpTable
- GetOwnerModuleFromTcp6Entry
- GetOwnerModuleFromTcpEntry
- GetOwnerModuleFromUdp6Entry
- GetOwnerModuleFromUdpEntry
- GetPerTcp6ConnectionEStats
- GetPerTcpConnectionEStats
- GetTcpStatistics
- GetTcpStatisticsEx
- GetTcpStatisticsEx2
- GetTcp6Table
- GetTcp6Table2
- GetTcpTable
- GetTcpTable2
- SetPerTcp6ConnectionEStats
- SetPerTcpConnectionEStats
- SetTcpEntry
- GetUdp6Table
- GetUdpStatistics
- GetUdpStatisticsEx
- GetUdpStatisticsEx2
- GetUdpTable
Deprecated APIs
Note:
These functions are deprecated, and are not supported by Microsoft.
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.
