// iscsicfg.h
typedef struct _MSiSCSI_TCPIPConfig {
BOOLEAN UseLinkLocalAddress;
BOOLEAN EnableDHCP;
BOOLEAN UseDHCPForDNS;
ULONG IPVersions;
ISCSI_IP_Address IpAddress;
ISCSI_IP_Address DefaultGateway;
ISCSI_IP_Address SubnetMask;
ISCSI_IP_Address PreferredDNSServer;
ISCSI_IP_Address AlternateDNSServer;
} MSiSCSI_TCPIPConfig, *PMSiSCSI_TCPIPConfig;
View the official Windows Driver Kit DDI referenceNo description available.
The MSiSCSI_TCPIPConfig structure reports TCP/IP configuration information about one of the adapter's ports.
UseLinkLocalAddressA Boolean value that indicates whether the HBA should use an autogenerated and non-routable (link local) address as its IP address. If this member is TRUE, the HBA should use an autogenerated and non-routable (link local) address as its IP address. If this member is FALSE, the HBA is not required to use a link local address.
EnableDHCPA Boolean value that indicates whether the HBA should use DHCP to discover IP address information. If this member is TRUE, the HBA should use DHCP to discover IP address information. If this member is FALSE, the HBA is not required to use DHCP to discover IP address information.
UseDHCPForDNSA Boolean value that indicates whether the HBA should use DHCP to discover DNS addresses. If this member is TRUE, the HBA should use DHCP to discover DNS addresses. If FALSE, the HBA is not required to use DHCP to discover DNS addresses.
IPVersionsThe version of the IP protocol that the HBA supports. A value of 0x00000001 indicates that the HBA supports version 4 of the IP protocol, and a value of 0x00000002 indicates that the HBA supports version 6.
IpAddressA ISCSI_IP_Address structure that specifies the IP address for the HBA. The ISCSI_IP_Address structure provides a version-independent way of defining the IP address.
DefaultGatewayA ISCSI_IP_Address structure that specifies the static IP address for the default gateway. The ISCSI_IP_Address structure provides a version-independent way of defining the IP address of the default gateway.
SubnetMaskA ISCSI_IP_Address structure that specifies the static subnet mask. The ISCSI_IP_Address structure provides a version-independent way of defining the subnet mask.
PreferredDNSServerA ISCSI_IP_Address structure that specifies the IP address of the preferred DNS server. The ISCSI_IP_Address structure provides a version-independent way of defining the IP address of the preferred DNS server.
AlternateDNSServerA ISCSI_IP_Address structure that specifies the IP address of the alternate DNS server. The ISCSI_IP_Address structure provides a version-independent way of defining the IP address of the alternate DNS server.
The WMI tool suite automatically generates a declaration of the MSiSCSI_TCPIPConfig structure when it compiles the MSiSCSI_TCPIPConfig WMI Class in Config.mof.You must implement this class.