Netioapi.h

This section contains reference topics for the Netioapi.h header.

The Netioapi.h header contains definitions for version agnostic IP helper APIs.

In this section

TopicDescription

CancelMibChangeNotify2

The CancelMibChangeNotify2 function deregisters a driver change notification for IP interface changes, IP address changes, IP route changes, and requests to retrieve the stable Unicast IP address table.

ConvertInterfaceAliasToLuid

The ConvertInterfaceAliasToLuid function converts an interface alias name for a network interface to the locally unique identifier (LUID) for the interface.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceGuidToLuid

The ConvertInterfaceGuidToLuid function converts a globally unique identifier (GUID) for a network interface to the locally unique identifier (LUID) for the interface.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceIndexToLuid

The ConvertInterfaceIndexToLuid function converts a local index for a network interface to the locally unique identifier (LUID) for the interface.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceLuidToAlias

The ConvertInterfaceLuidToAlias function converts a locally unique identifier (LUID) for a network interface to an interface alias.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceLuidToGuid

The ConvertInterfaceLuidToGuid function converts a locally unique identifier (LUID) for a network interface to a globally unique identifier (GUID) for the interface.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceLuidToIndex

The ConvertInterfaceLuidToIndex function converts a locally unique identifier (LUID) for a network interface to the local index for the interface.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceLuidToNameA

The ConvertInterfaceLuidToNameA function converts a locally unique identifier (LUID) for a network interface to the ANSI interface name.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceLuidToNameW

The ConvertInterfaceLuidToNameW function converts a locally unique identifier (LUID) for a network interface to the Unicode interface name.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceNameToLuidA

The ConvertInterfaceNameToLuidA function converts an ANSI network interface name to the locally unique identifier (LUID) for the interface.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

ConvertInterfaceNameToLuidW

The ConvertInterfaceNameToLuidW function converts a Unicode network interface name to the locally unique identifier (LUID) for the interface.

Note  The ConvertInterfaceXxx API family enumerates identifiers over all interfaces bound to TCP/IP, which may include virtual miniports, lightweight filters, tunnel adapters, and physical interfaces.
 

CreateAnycastIpAddressEntry

The CreateAnycastIpAddressEntry function adds a new anycast IP address entry on a local computer.

CreateIpForwardEntry2

The CreateIpForwardEntry2 function creates a new IP route entry on a local computer.

CreateIpNetEntry2

The CreateIpNetEntry2 function creates a new neighbor IP address entry on the local computer.

CreateSortedAddressPairs

From a supplied list of potential IP destination addresses, the CreateSortedAddressPairs function pairs the destination addresses together with the host machine's local IP addresses and sorts the pairs according to the preferred order of communication.

CreateUnicastIpAddressEntry

The CreateUnicastIpAddressEntry function adds a new unicast IP address entry on the local computer.

DeleteAnycastIpAddressEntry

The DeleteAnycastIpAddressEntry function deletes an existing anycast IP address entry on a local computer.

DeleteIpForwardEntry2

The DeleteIpForwardEntry2 function deletes an IP route entry on a local computer.

DeleteIpNetEntry2

The DeleteIpNetEntry2 function deletes a neighbor IP address entry on a local computer.

DeleteUnicastIpAddressEntry

The DeleteUnicastIpAddressEntry function deletes an existing unicast IP address entry on a local computer.

FlushIpNetTable2

The FlushIpNetTable2 function flushes the IP neighbor table on a local computer.

FlushIpPathTable

The FlushIpPathTable function flushes the IP path table on a local computer.

FreeMibTable

The FreeMibTable function frees the buffer that is allocated by the functions that return tables of network interfaces, addresses, and routes (for example, GetIfTable2 and GetAnycastIpAddressTable).

GetAnycastIpAddressEntry

The GetAnycastIpAddressEntry function retrieves information for an existing anycast IP address entry on a local computer.

GetAnycastIpAddressTable

The GetAnycastIpAddressTable function retrieves the anycast IP address table on a local computer.

GetBestRoute2

The GetBestRoute2 function retrieves the IP route entry on a local computer for the best route to the specified destination IP address.

GetIfEntry2

The GetIfEntry2 function retrieves information for the specified interface on a local computer.

GetIfStackTable

The GetIfStackTable function retrieves a table of network interface stack row entries that specify the relationship of the network interfaces on an interface stack.

GetIfTable2

The GetIfTable2 function retrieves the MIB-II interface table.

GetIfTable2Ex

The GetIfTable2Ex function retrieves the MIB-II interface table, given a level of interface information to retrieve.

GetInvertedIfStackTable

The GetInvertedIfStackTable function retrieves a table of inverted network interface stack row entries that specify the relationship of the network interfaces on an interface stack.

GetIpForwardEntry2

The GetIpForwardEntry2 function retrieves information for an IP route entry on a local computer.

GetIpForwardTable2

The GetIpForwardTable2 function retrieves the IP route entries on a local computer.

GetIpInterfaceEntry

The GetIpInterfaceEntry function retrieves IP information for the specified interface on a local computer.

GetIpInterfaceTable

The GetIpInterfaceTable function retrieves the IP interface entries on a local computer.

GetIpNetEntry2

The GetIpNetEntry2 function retrieves information for a neighbor IP address entry on the local computer.

GetIpNetTable2

The GetIpNetTable2 function retrieves the IP neighbor table on a local computer.

GetIpPathEntry

The GetIpPathEntry function retrieves information for an IP path entry on a local computer.

GetIpPathTable

The GetIpPathEntry function retrieves information for an IP path entry on a local computer.

GetMulticastIpAddressEntry

The GetMulticastIpAddressEntry function retrieves information for an existing multicast IP address entry on a local computer.

GetMulticastIpAddressTable

The GetMulticastIpAddressTable function retrieves the multicast IP address table on a local computer.

GetTeredoPort

The GetTeredoPort function retrieves the dynamic UDP port number that the Teredo client uses on a local computer.

GetUnicastIpAddressEntry

The GetUnicastIpAddressEntry function retrieves information for an existing unicast IP address entry on a local computer.

GetUnicastIpAddressTable

The GetUnicastIpAddressTable function retrieves the unicast IP address table on a local computer.

if_indextoname

The if_indextoname function converts the local index for a network interface to the ANSI interface name.

if_nametoindex

The if_nametoindex function converts the ANSI interface name for a network interface to the local index for the interface.

InitializeIpForwardEntry

The InitializeIpForwardEntry function initializes a MIB_IPFORWARD_ROW2 structure with default values for an IP route entry on a local computer.

InitializeIpInterfaceEntry

The InitializeIpInterfaceEntry function initializes the members of an MIB_IPINTERFACE_ROW structure entry with default values.

InitializeUnicastIpAddressEntry

The InitializeUnicastIpAddressEntry function initializes a MIB_UNICASTIPADDRESS_ROW structure with default values for a unicast IP address entry on a local computer.

NotifyIpInterfaceChange

The NotifyIpInterfaceChange function registers the driver to be notified for changes to all IP interfaces, IPv4 interfaces, or IPv6 interfaces on a local computer.

NotifyRouteChange2

The NotifyRouteChange2 function registers the driver to be notified for changes to IP route entries on a local computer.

NotifyStableUnicastIpAddressTable

The NotifyStableUnicastIpAddressTable function retrieves the stable unicast IP address table on a local computer.

NotifyTeredoPortChange

The NotifyTeredoPortChange function registers the driver to be notified for changes to the UDP port number that the Teredo client uses for the Teredo service port on a local computer.

NotifyUnicastIpAddressChange

The NotifyUnicastIpAddressChange function registers the driver to be notified for changes to all unicast IP interfaces, unicast IPv4 addresses, or unicast IPv6 addresses on a local computer.

ResolveIpNetEntry2

The ResolveIpNetEntry2 function resolves the physical address for a neighbor IP address entry on a local computer.

SetIpForwardEntry2

The SetIpForwardEntry2 function sets the properties of an IP route entry on a local computer.

SetIpInterfaceEntry

The SetIpInterfaceEntry function sets the properties of an IP interface on a local computer.

SetIpNetEntry2

The SetIpNetEntry2 function sets the physical address of an existing neighbor IP address entry on a local computer.

SetUnicastIpAddressEntry

The SetUnicastIpAddressEntry function sets the properties of an existing unicast IP address entry on a local computer.

IP_ADDRESS_PREFIX

The IP_ADDRESS_PREFIX structure stores an IP address prefix.

MIB_ANYCASTIPADDRESS_ROW

The MIB_ANYCASTIPADDRESS_ROW structure stores information about an anycast IP address.

MIB_ANYCASTIPADDRESS_TABLE

The MIB_ANYCASTIPADDRESS_TABLE structure contains a table of anycast IP address entries.

MIB_IFSTACK_ROW

The MIB_IFSTACK_ROW structure represents the relationship between two network interfaces.

MIB_IFSTACK_TABLE

The MIB_IFSTACK_TABLE structure contains a table of network interface stack row entries. This table specifies the relationship of the network interfaces on an interface stack.

MIB_IF_ROW2

The MIB_IF_ROW2 structure stores information about a particular interface.

MIB_IF_TABLE2

The MIB_IF_TABLE2 structure contains a table of logical and physical interface entries.

MIB_INVERTEDIFSTACK_ROW

The MIB_INVERTEDIFSTACK_ROW structure represents the relationship between two network interfaces.

MIB_INVERTEDIFSTACK_TABLE

The MIB_INVERTEDIFSTACK_TABLE structure contains a table of inverted network interface stack row entries. This table specifies the relationship of the network interfaces on an interface stack in reverse order.

MIB_IPFORWARD_ROW2

The MIB_IPFORWARD_ROW2 structure stores information about an IP route entry.

MIB_IPFORWARD_TABLE2

The MIB_IPFORWARD_TABLE2 structure contains a table of IP route entries.

MIB_IPINTERFACE_ROW

The MIB_IPINTERFACE_ROW structure stores interface management information for a particular IP address family on a network interface.

MIB_IPINTERFACE_TABLE

The MIB_IPINTERFACE_TABLE structure contains a table of IP interface entries.

MIB_IPNET_ROW2

The MIB_IPNET_ROW2 structure stores information about a neighbor IP address.

MIB_IPNET_TABLE2

The MIB_IPNET_TABLE2 structure contains a table of neighbor IP address entries.

MIB_IPPATH_ROW

The MIB_IPPATH_ROW structure stores information about an IP path entry.

MIB_IPPATH_TABLE

The MIB_IPPATH_TABLE structure contains a table of IP path entries.

MIB_MULTICASTIPADDRESS_ROW

The MIB_MULTICASTIPADDRESS_ROW structure stores information about a multicast IP address.

MIB_MULTICASTIPADDRESS_TABLE

The MIB_MULTICASTIPADDRESS_TABLE structure contains a table of multicast IP address entries.

MIB_UNICASTIPADDRESS_ROW

The MIB_UNICASTIPADDRESS_ROW structure stores information about a unicast IP address.

MIB_UNICASTIPADDRESS_TABLE

The MIB_UNICASTIPADDRESS_TABLE structure contains a table of unicast IP address entries.

MIB_IF_TABLE_LEVEL

The MIB_IF_TABLE_LEVEL enumeration type defines the level of interface information to retrieve.

MIB_NOTIFICATION_TYPE

The MIB_NOTIFICATION_TYPE enumeration type defines the notification type that is passed to a callback function when a notification occurs.

ConvertIpv4MaskToLength

Reserved for system use. Do not use this function.

ConvertLengthtoIpv4Mask

Reserved for system use. Do not use this function.

GetCurrentThreadCompartmentId

Reserved for future use. Do not use this function.

GetNetworkInformation

Reserved for future use. Do not use this function.

GetSessionCompartmentId

Reserved for future use. Do not use this function.

SetCurrentThreadCompartmentId

Reserved for future use. Do not use this function.

SetNetworkInformation

Reserved for future use. Do not use this function.

SetSessionCompartmentId

Reserved for future use. Do not use this function.

 

 

 

Send comments about this topic to Microsoft

Show: