VDS_IPADDRESS structure (vds.h)
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
Defines an IP address and port.
Syntax
typedef struct _VDS_IPADDRESS {
VDS_IPADDRESS_TYPE type;
ULONG ipv4Address;
UCHAR ipv6Address[16];
ULONG ulIpv6FlowInfo;
ULONG ulIpv6ScopeId;
WCHAR wszTextAddress[257];
ULONG ulPort;
} VDS_IPADDRESS;
Members
type
The type of address as enumerated by VDS_IPADDRESS_TYPE.
ipv4Address
If the type member is VDS_IPT_IPV4, then this contains the binary IPv4 address in network byte order. The field 3 byte value is contained in bits 0 through 7. The field 2 byte value is contained in bits 8 through 15. The field 1 byte value is contained in bits 16 through 23. The field 0 byte value is contained in bits 24 through 31.
ipv6Address[16]
If the type member is VDS_IPT_IPV6, then this contains the binary IPv6 address in network byte order.
ulIpv6FlowInfo
If the type member is VDS_IPT_IPV6, then this contains the flow information as defined in version 6 of the IP protocol.
ulIpv6ScopeId
If the type member is VDS_IPT_IPV6, then this contains the scope ID as defined in version 6 of the IP protocol.
wszTextAddress[257]
If the type member is VDS_IPT_TEXT, then this contains the text address, either a DNS address or dotted address, in host byte order.
ulPort
The TCP port number.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
Header | vds.h |
Redistributable | VDS 1.1 |
See also
IVdsIscsiPortal::GetIpsecSecurity
IVdsIscsiPortal::SetIpsecSecurity