Lines Matching defs:prop
1084 iscsi_static_property_t prop;
1094 (void) memset(&prop, 0, sizeof (iscsi_static_property_t));
1095 prop.p_vers = ISCSI_INTERFACE_VERSION;
1096 prop.p_oid = (uint32_t)staticTargetOid.objectSequenceNumber;
1097 if (ioctl(fd, ISCSI_STATIC_GET, &prop) != 0) {
1111 (void) mbstowcs(pProps->staticTarget.targetName, (char *)prop.p_name,
1114 if (prop.p_addr_list.al_addrs[0].a_addr.i_insize ==
1118 } else if (prop.p_addr_list.al_addrs[0].a_addr.i_insize ==
1129 if (inet_ntop(af, &prop.p_addr_list.al_addrs[0].a_addr.i_addr,
1142 prop.p_addr_list.al_addrs[0].a_port);
1148 prop.p_addr_list.al_addrs[0].a_port);
1459 iscsi_property_t prop;
1467 (void) memset(&prop, 0, sizeof (iscsi_property_t));
1468 prop.p_vers = ISCSI_INTERFACE_VERSION;
1469 prop.p_oid = (uint32_t)targetId.objectSequenceNumber;
1471 if (ioctl(fd, ISCSI_TARGET_PROPS_GET, &prop) != 0) {
1478 (void) mbstowcs(pProps->name, (char *)prop.p_name, IMA_NODE_NAME_LEN);
1481 if (prop.p_alias_len > 0) {
1482 (void) mbstowcs(pProps->alias, (char *)prop.p_alias,
1488 if (!((prop.p_discovery & iSCSIDiscoveryMethodStatic) ^
1494 if (!((prop.p_discovery & iSCSIDiscoveryMethodSLP) ^
1499 if (!((prop.p_discovery & iSCSIDiscoveryMethodISNS) ^
1504 if (!((prop.p_discovery & iSCSIDiscoveryMethodSendTargets) ^