13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>VDS</strong>_IPT_EMPTY = 0x00000003} <strong>VDS</strong>_IPADDRESS_TYPE;<strong>VDS</strong>_IPT_TEXT: The IP address is a text string.<strong>VDS</strong>_IPT_IPV4: The IP address is an IPv4 address.<strong>VDS</strong>_IPT_IPV6: The IP address is an IPv6 address.<strong>VDS</strong>_IPT_EMPTY: An IP address is not specified.2.2.2.6.2 Structures2.2.2.6.2.1 <strong>VDS</strong>_IPADDRESSThe <strong>VDS</strong>_IPADDRESS structure defines an IP address and port.typedef struct _<strong>VDS</strong>_IPADDRESS {<strong>VDS</strong>_IPADDRESS_TYPE type;unsigned long ipv4Address;unsigned char ipv6Address[16];unsigned long ulIpv6FlowInfo;unsigned long ulIpv6ScopeId;WCHAR wszTextAddress[257];unsigned long ulPort;} <strong>VDS</strong>_IPADDRESS;type: The type of address as enumerated by <strong>VDS</strong>_IPADDRESS_TYPE.ipv4Address: If the type member is <strong>VDS</strong>_IPT_IPV4, this member contains the binary IPv4address in network byte order. The field 3 (last octet) byte value is contained in bits 0 through7. The byte value for field 2 is contained in bits 8 through 15. The byte value for field 1 iscontained in bits 16 through 23. The byte value for field 0 is contained in bits 24 through 31.Otherwise, this value is ignored.ipv6Address: If the type member is <strong>VDS</strong>_IPT_IPV6, this member contains the binary IPv6address in network byte order. Otherwise, this value is ignored.ulIpv6FlowInfo: If the type member is <strong>VDS</strong>_IPT_IPV6, this member contains the flowinformation as defined in IPv6. Otherwise, this value is ignored.ulIpv6ScopeId: If the type member is <strong>VDS</strong>_IPT_IPV6, this member contains the scope ID asdefined in IPv6. Otherwise, this value is ignored.wszTextAddress: If the type member is <strong>VDS</strong>_IPT_TEXT, this member contains the nullterminatedUnicode text address, which is either a DNS address, an IPv4 dotted address, oran IPv6 hexadecimal address. Otherwise, this value is ignored.ulPort: If the type member is <strong>VDS</strong>_IPT_IPV4, <strong>VDS</strong>_IPT_IPV6, or <strong>VDS</strong>_IPT_TEXT, this membercontains the TCP port number. Otherwise, this value is ignored.[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 201167 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!