Bewerken

Delen via


ISCSI_IP_Address structure (iscsidef.h)

The ISCSI_IP_Address structure defines an IP address.

Syntax

typedef struct _ISCSI_IP_Address {
  ULONG Type;
  ULONG IpV4Address;
  UCHAR IpV6Address[16];
  ULONG IpV6FlowInfo;
  ULONG IpV6ScopeId;
  WCHAR TextAddress[256 + 1];
} ISCSI_IP_Address, *PISCSI_IP_Address;

Members

Type

A ISCSIIPADDRESSTYPE value that indicates the type of IP address.

IpV4Address

If Type = ISCSI_IP_ADDRESS_IPV4, the binary version 4 IP address. Otherwise, IpV4Address is not defined.

IpV6Address[16]

If Type = ISCSI_IP_ADDRESS_IPV6, the binary version 6 IP address. Otherwise, IpV6Address is not defined.

IpV6FlowInfo

If Type = ISCSI_IP_ADDRESS_IPV6, the flow information for this IP address, as defined in version 6 of the IP protocol. Otherwise, IpV6FlowInfo is not defined.

IpV6ScopeId

If Type = ISCSI_IP_ADDRESS_IPV6, the scope ID of this IP address, as defined in version 6 of the IP protocol,. Otherwise, IpV6ScopeId is not defined.

TextAddress[256 + 1]

If Type = ISCSI_IP_ADDRESS_TEXT, the DNS or dotted decimal text address. Otherwise, TextAddress is not defined.

Requirements

Requirement Value
Header iscsidef.h (include Iscsidef.h)

See also

ISCSIIPADDRESSTYPE

ISCSI_IP_Address