struct iscsi_target_data

Overview

Per target data of the Initiator. More…

#include <iscsi_initiator.h>

struct iscsi_target_data {
    // fields

    int target_id;
    bool is_active;
    int number_of_open_connections;
    char target_name[ISCSI_MAX_NAME_LENGTH];
    char target_addr[ISCSI_MAX_ADDR_LENGTH];
    int target_port;
    iscsi_connection_data_t conns[ISCSI_MAX_CONNECTIONS_NUMBER];
    char session_id[ISCSI_SESSION_ID_LENGTH];
};

Detailed Documentation

Per target data of the Initiator. Most of the fields correspond to operational parameters with the same name. See RFC3260 for allowed values.

Fields

int target_id

Id of the Target

int number_of_open_connections

Number of initiated connections to the target

char target_name[ISCSI_MAX_NAME_LENGTH]

TargetName

char target_addr[ISCSI_MAX_ADDR_LENGTH]

TargetAddr

int target_port

TargetPort

char session_id[ISCSI_SESSION_ID_LENGTH]

Open iSCSI db record id or Microsoft session ID