Skip to content

Latest commit

 

History

History
136 lines (108 loc) · 3.31 KB

ns-tcpioctl-ipinterfaceinfo.md

File metadata and controls

136 lines (108 loc) · 3.31 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:tcpioctl.IPInterfaceInfo
IPInterfaceInfo (tcpioctl.h)
The IPInterfaceInfo structure contains information about a specific IP interface, returned by the IOCTL_TCP_QUERY_INFORMATION_EX control code.
IPInterfaceInfo
IPInterfaceInfo structure [Windows API]
tcpioctl/IPInterfaceInfo
winprog.ipinterfaceinfo
winprog\ipinterfaceinfo.htm
winprog
dc9de369-f739-475c-96f5-e2e058705fe8
12/05/2018
IPInterfaceInfo, IPInterfaceInfo structure [Windows API], tcpioctl/IPInterfaceInfo, winprog.ipinterfaceinfo
tcpioctl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
IPInterfaceInfo
19H1
IPInterfaceInfo
tcpioctl/IPInterfaceInfo
c++
APIRef
kbSyntax
HeaderDef
Tcpioctl.h
IPInterfaceInfo

IPInterfaceInfo structure

-description

[This structure may be altered or unavailable in future versions of Windows.]

The IPInterfaceInfo structure contains information about a specific IP interface, returned by the IOCTL_TCP_QUERY_INFORMATION_EX control code.

-struct-fields

-field iii_flags

The types of communication supported on this interface. This member can be one or more of the following values.

Value Meaning
1
Point-to-point.
2
Point-to-multipoint.
4
Unidirectional communication.

-field iii_mtu

The maximum transmission unit: the size, in bytes, of the largest datagram that can be sent and/or received on the interface.

-field iii_speed

An estimate of the interface's current bandwidth in bits per second. For interfaces that do not vary in bandwidth or for which no accurate estimation can be made, this member contains the nominal bandwidth.

-field iii_addrlength

The length, in bytes, of the IP address associated with this interface that is contained in the iii_addr member.

-field iii_addr

The IP address associated with this interface. In Windows Vista, this is the physical address.

-remarks

This is a variable-length structure whose size depends on whether the iii_addr member contains an IPv4 or IPv6 address. To allocate a buffer large enough to contain it safely, use the size:

sizeof(IPInterfaceInfo) + MAX_PHYSADDR_SIZE

-see-also

IOCTL_TCP_QUERY_INFORMATION_EX

Management Information Base Reference