Lines Matching refs:radius

596 	iscsi_radius_props_t	radius;
606 (void) memset(&radius, 0, sizeof (iscsi_radius_props_t));
607 radius.r_vers = ISCSI_INTERFACE_VERSION;
608 radius.r_oid = (uint32_t)lhbaOid.objectSequenceNumber;
610 if (ioctl(fd, ISCSI_RADIUS_GET, &radius) != 0) {
627 radius.r_addr.u_in4.s_addr = radius_in.u_in4.s_addr;
628 radius.r_insize = sizeof (struct in_addr);
631 (void) memcpy(radius.r_addr.u_in6.s6_addr,
633 radius.r_insize = sizeof (struct in6_addr);
636 radius.r_port = config->port;
637 radius.r_radius_config_valid = B_TRUE;
640 radius.r_shared_secret_len = config->sharedSecretLength;
641 (void) memset(&radius.r_shared_secret[0], 0,
643 (void) memcpy(&radius.r_shared_secret[0], config->sharedSecret,
647 if (ioctl(fd, ISCSI_RADIUS_SET, &radius) != 0) {
666 iscsi_radius_props_t radius;
672 (void) memset(&radius, 0, sizeof (iscsi_radius_props_t));
673 radius.r_vers = ISCSI_INTERFACE_VERSION;
674 radius.r_oid = (uint32_t)lhbaOid.objectSequenceNumber;
676 if (ioctl(fd, ISCSI_RADIUS_GET, &radius) != 0) {
682 if (radius.r_insize == sizeof (struct in_addr)) {
685 } else if (radius.r_insize == sizeof (struct in6_addr)) {
698 (void) inet_ntop(af, (void *)&radius.r_addr.u_in4,
700 config->port = radius.r_port;
701 (void) memcpy(config->sharedSecret, &radius.r_shared_secret[0],
702 radius.r_shared_secret_len);
703 config->sharedSecretLength = radius.r_shared_secret_len;
717 iscsi_radius_props_t radius;
723 (void) memset(&radius, 0, sizeof (iscsi_radius_props_t));
724 radius.r_vers = ISCSI_INTERFACE_VERSION;
725 radius.r_oid = (uint32_t)lhbaOid.objectSequenceNumber;
727 if (ioctl(fd, ISCSI_RADIUS_GET, &radius) != 0) {
744 if ((radius.r_insize != sizeof (struct in_addr)) &&
745 (radius.r_insize != sizeof (struct in6_addr))) {
759 radius.r_radius_access = (radiusAccess == IMA_TRUE) ?
762 if (ioctl(fd, ISCSI_RADIUS_SET, &radius) != 0) {
780 iscsi_radius_props_t radius;
786 (void) memset(&radius, 0, sizeof (iscsi_radius_props_t));
787 radius.r_vers = ISCSI_INTERFACE_VERSION;
788 radius.r_oid = (uint32_t)lhbaOid.objectSequenceNumber;
790 if (ioctl(fd, ISCSI_RADIUS_GET, &radius) != 0) {
799 *radiusAccess = (radius.r_radius_access == B_TRUE) ?