Skip to content

Latest commit

 

History

History
116 lines (74 loc) · 4.32 KB

ns-netioapi-ip_address_prefix.md

File metadata and controls

116 lines (74 loc) · 4.32 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:netioapi._IP_ADDRESS_PREFIX
IP_ADDRESS_PREFIX (netioapi.h)
Stores an IP address prefix. (IP_ADDRESS_PREFIX)
*PIP_ADDRESS_PREFIX
IP_ADDRESS_PREFIX
IP_ADDRESS_PREFIX structure [IP Helper]
PIP_ADDRESS_PREFIX
PIP_ADDRESS_PREFIX structure pointer [IP Helper]
_IP_ADDRESS_PREFIX
iphlp.ip_address_prefix
netioapi/IP_ADDRESS_PREFIX
netioapi/PIP_ADDRESS_PREFIX
iphlp\ip_address_prefix.htm
IpHlp
3a6598d8-77e4-46f7-9397-124157508207
12/05/2018
*PIP_ADDRESS_PREFIX, IP_ADDRESS_PREFIX, IP_ADDRESS_PREFIX structure [IP Helper], PIP_ADDRESS_PREFIX, PIP_ADDRESS_PREFIX structure pointer [IP Helper], _IP_ADDRESS_PREFIX, iphlp.ip_address_prefix, netioapi/IP_ADDRESS_PREFIX, netioapi/PIP_ADDRESS_PREFIX
netioapi.h
Iphlpapi.h
Windows
None supported
Windows Server 2008 [desktop apps only]
Windows
IP_ADDRESS_PREFIX, *PIP_ADDRESS_PREFIX
19H1
_IP_ADDRESS_PREFIX
netioapi/_IP_ADDRESS_PREFIX
PIP_ADDRESS_PREFIX
netioapi/PIP_ADDRESS_PREFIX
IP_ADDRESS_PREFIX
netioapi/IP_ADDRESS_PREFIX
c++
APIRef
kbSyntax
HeaderDef
Netioapi.h
IP_ADDRESS_PREFIX

IP_ADDRESS_PREFIX structure

-description

The IP_ADDRESS_PREFIX structure stores an IP address prefix.

-struct-fields

-field Prefix

The prefix or network part of IP the address represented as an IP address.

The SOCKADDR_INET union is defined in the Ws2ipdef.h header.

-field PrefixLength

The length, in bits, of the prefix or network part of the IP address. For a unicast IPv4 address, any value greater than 32 is an illegal value. For a unicast IPv6 address, any value greater than 128 is an illegal value. A value of 255 is commonly used to represent an illegal value.

-remarks

The IP_ADDRESS_PREFIX structure is defined on Windows Vista and later.

The IP_ADDRESS_PREFIX structure is the data type of the DestinationPrefix member in the MIB_IPFORWARD_ROW2 structure. A number of functions use the MIB_IPFORWARD_ROW2 structure including CreateIpForwardEntry2, DeleteIpForwardEntry2, GetBestRoute2, GetIpForwardEntry2, GetIpForwardTable2, InitializeIpForwardEntry, NotifyRouteChange2, and SetIpForwardEntry2.

-see-also

CreateIpForwardEntry2

DeleteIpForwardEntry2

GetBestRoute2

GetIpForwardEntry2

GetIpForwardTable2

InitializeIpForwardEntry

MIB_IPFORWARD_ROW2

NotifyRouteChange2

SOCKADDR_INET

SetIpForwardEntry2