Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | iscsi_extra_response |
struct | iscsi_param |
Variables | |
struct iscsi_extra_response | ____cacheline_aligned |
#define ALL "All" |
Definition at line 50 of file iscsi_target_parameters.h.
#define AUTHMETHOD "AuthMethod" |
Definition at line 59 of file iscsi_target_parameters.h.
#define CHAP "CHAP" |
Definition at line 98 of file iscsi_target_parameters.h.
#define CRC32C "CRC32C" |
Definition at line 138 of file iscsi_target_parameters.h.
#define DATADIGEST "DataDigest" |
Definition at line 61 of file iscsi_target_parameters.h.
#define DATAPDUINORDER "DataPDUInOrder" |
Definition at line 79 of file iscsi_target_parameters.h.
#define DATASEQUENCEINORDER "DataSequenceInOrder" |
Definition at line 80 of file iscsi_target_parameters.h.
#define DEFAULTTIME2RETAIN "DefaultTime2Retain" |
Definition at line 77 of file iscsi_target_parameters.h.
#define DEFAULTTIME2WAIT "DefaultTime2Wait" |
Definition at line 76 of file iscsi_target_parameters.h.
#define DISCOVERY "Discovery" |
Definition at line 143 of file iscsi_target_parameters.h.
#define ERRORRECOVERYLEVEL "ErrorRecoveryLevel" |
Definition at line 81 of file iscsi_target_parameters.h.
#define FIRSTBURSTLENGTH "FirstBurstLength" |
Definition at line 75 of file iscsi_target_parameters.h.
#define HEADERDIGEST "HeaderDigest" |
Definition at line 60 of file iscsi_target_parameters.h.
#define IFMARKER "IFMarker" |
Definition at line 83 of file iscsi_target_parameters.h.
#define IFMARKINT "IFMarkInt" |
Definition at line 85 of file iscsi_target_parameters.h.
#define IMMEDIATEDATA "ImmediateData" |
Definition at line 71 of file iscsi_target_parameters.h.
#define INITIAL_AUTHMETHOD CHAP |
Definition at line 103 of file iscsi_target_parameters.h.
#define INITIAL_DATADIGEST "CRC32C,None" |
Definition at line 105 of file iscsi_target_parameters.h.
#define INITIAL_DATAPDUINORDER YES |
Definition at line 126 of file iscsi_target_parameters.h.
#define INITIAL_DATASEQUENCEINORDER YES |
Definition at line 127 of file iscsi_target_parameters.h.
#define INITIAL_DEFAULTTIME2RETAIN "20" |
Definition at line 124 of file iscsi_target_parameters.h.
#define INITIAL_DEFAULTTIME2WAIT "2" |
Definition at line 123 of file iscsi_target_parameters.h.
#define INITIAL_ERRORRECOVERYLEVEL "0" |
Definition at line 128 of file iscsi_target_parameters.h.
#define INITIAL_FIRSTBURSTLENGTH "65536" |
Definition at line 122 of file iscsi_target_parameters.h.
#define INITIAL_HEADERDIGEST "CRC32C,None" |
Definition at line 104 of file iscsi_target_parameters.h.
#define INITIAL_IFMARKER NO |
Definition at line 130 of file iscsi_target_parameters.h.
#define INITIAL_IFMARKINT "2048~65535" |
Definition at line 132 of file iscsi_target_parameters.h.
#define INITIAL_IMMEDIATEDATA YES |
Definition at line 115 of file iscsi_target_parameters.h.
#define INITIAL_INITIALR2T YES |
Definition at line 114 of file iscsi_target_parameters.h.
#define INITIAL_INITIATORALIAS "LIO Initiator" |
Definition at line 111 of file iscsi_target_parameters.h.
#define INITIAL_INITIATORNAME "LIO.Initiator" |
Definition at line 109 of file iscsi_target_parameters.h.
#define INITIAL_MAXBURSTLENGTH "262144" |
Definition at line 121 of file iscsi_target_parameters.h.
#define INITIAL_MAXCONNECTIONS "1" |
Definition at line 106 of file iscsi_target_parameters.h.
#define INITIAL_MAXOUTSTANDINGR2T "1" |
Definition at line 125 of file iscsi_target_parameters.h.
#define INITIAL_MAXRECVDATASEGMENTLENGTH "8192" |
Definition at line 116 of file iscsi_target_parameters.h.
#define INITIAL_MAXXMITDATASEGMENTLENGTH "262144" |
Definition at line 120 of file iscsi_target_parameters.h.
#define INITIAL_OFMARKER NO |
Definition at line 131 of file iscsi_target_parameters.h.
#define INITIAL_OFMARKINT "2048~65535" |
Definition at line 133 of file iscsi_target_parameters.h.
#define INITIAL_SENDTARGETS ALL |
Definition at line 107 of file iscsi_target_parameters.h.
#define INITIAL_SESSIONTYPE NORMAL |
Definition at line 129 of file iscsi_target_parameters.h.
#define INITIAL_TARGETADDRESS "0.0.0.0:0000,0" |
Definition at line 112 of file iscsi_target_parameters.h.
#define INITIAL_TARGETALIAS "LIO Target" |
Definition at line 110 of file iscsi_target_parameters.h.
#define INITIAL_TARGETNAME "LIO.Target" |
Definition at line 108 of file iscsi_target_parameters.h.
#define INITIAL_TARGETPORTALGROUPTAG "1" |
Definition at line 113 of file iscsi_target_parameters.h.
#define INITIALR2T "InitialR2T" |
Definition at line 70 of file iscsi_target_parameters.h.
#define INITIATORALIAS "InitiatorAlias" |
Definition at line 67 of file iscsi_target_parameters.h.
#define INITIATORNAME "InitiatorName" |
Definition at line 65 of file iscsi_target_parameters.h.
#define IRRELEVANT "Irrelevant" |
Definition at line 51 of file iscsi_target_parameters.h.
#define IS_PHASE_DECLARATIVE | ( | p | ) | ((p)->phase & PHASE_DECLARATIVE) |
Definition at line 191 of file iscsi_target_parameters.h.
#define IS_PHASE_FFP0 | ( | p | ) | ((p)->phase & PHASE_FFP0) |
Definition at line 192 of file iscsi_target_parameters.h.
#define IS_PHASE_OPERATIONAL | ( | p | ) | ((p)->phase & PHASE_OPERATIONAL) |
Definition at line 190 of file iscsi_target_parameters.h.
#define IS_PHASE_SECURITY | ( | p | ) | ((p)->phase & PHASE_SECURITY) |
Definition at line 189 of file iscsi_target_parameters.h.
#define IS_PSTATE_ACCEPTOR | ( | p | ) | ((p)->state & PSTATE_ACCEPTOR) |
Definition at line 256 of file iscsi_target_parameters.h.
#define IS_PSTATE_IRRELEVANT | ( | p | ) | ((p)->state & PSTATE_IRRELEVANT) |
Definition at line 259 of file iscsi_target_parameters.h.
#define IS_PSTATE_NEGOTIATE | ( | p | ) | ((p)->state & PSTATE_NEGOTIATE) |
Definition at line 257 of file iscsi_target_parameters.h.
#define IS_PSTATE_PROPOSER | ( | p | ) | ((p)->state & PSTATE_PROPOSER) |
Definition at line 258 of file iscsi_target_parameters.h.
#define IS_PSTATE_REJECT | ( | p | ) | ((p)->state & PSTATE_REJECT) |
Definition at line 260 of file iscsi_target_parameters.h.
#define IS_PSTATE_REPLY_OPTIONAL | ( | p | ) | ((p)->state & PSTATE_REPLY_OPTIONAL) |
Definition at line 261 of file iscsi_target_parameters.h.
#define IS_PSTATE_RESPONSE_GOT | ( | p | ) | ((p)->state & PSTATE_RESPONSE_GOT) |
Definition at line 262 of file iscsi_target_parameters.h.
#define IS_PSTATE_RESPONSE_SENT | ( | p | ) | ((p)->state & PSTATE_RESPONSE_SENT) |
Definition at line 263 of file iscsi_target_parameters.h.
#define IS_SCOPE_CONNECTION_ONLY | ( | p | ) | ((p)->scope & SCOPE_CONNECTION_ONLY) |
Definition at line 178 of file iscsi_target_parameters.h.
#define IS_SCOPE_SESSION_WIDE | ( | p | ) | ((p)->scope & SCOPE_SESSION_WIDE) |
Definition at line 179 of file iscsi_target_parameters.h.
#define IS_SENDER_BOTH | ( | p | ) | ((p)->sender & SENDER_BOTH) |
Definition at line 170 of file iscsi_target_parameters.h.
#define IS_SENDER_INITIATOR | ( | p | ) | ((p)->sender & SENDER_INITIATOR) |
Definition at line 168 of file iscsi_target_parameters.h.
#define IS_SENDER_TARGET | ( | p | ) | ((p)->sender & SENDER_TARGET) |
Definition at line 169 of file iscsi_target_parameters.h.
#define IS_TYPE_BOOL_AND | ( | p | ) | ((p)->type & TYPE_BOOL_AND) |
Definition at line 204 of file iscsi_target_parameters.h.
#define IS_TYPE_BOOL_OR | ( | p | ) | ((p)->type & TYPE_BOOL_OR) |
Definition at line 205 of file iscsi_target_parameters.h.
#define IS_TYPE_NUMBER | ( | p | ) | ((p)->type & TYPE_NUMBER) |
Definition at line 206 of file iscsi_target_parameters.h.
#define IS_TYPE_NUMBER_RANGE | ( | p | ) | ((p)->type & TYPE_NUMBER_RANGE) |
Definition at line 207 of file iscsi_target_parameters.h.
#define IS_TYPE_STRING | ( | p | ) | ((p)->type & TYPE_STRING) |
Definition at line 208 of file iscsi_target_parameters.h.
#define IS_TYPE_VALUE_LIST | ( | p | ) | ((p)->type & TYPE_VALUE_LIST) |
Definition at line 209 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_0_TO_2 | ( | p | ) | ((p)->type_range & TYPERANGE_0_TO_2) |
Definition at line 231 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_0_TO_32767 | ( | p | ) | ((p)->type_range & TYPERANGE_0_TO_32767) |
Definition at line 233 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_0_TO_3600 | ( | p | ) | ((p)->type_range & TYPERANGE_0_TO_3600) |
Definition at line 232 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_0_TO_65535 | ( | p | ) | ((p)->type_range & TYPERANGE_0_TO_65535) |
Definition at line 234 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_1_TO_65535 | ( | p | ) | ((p)->type_range & TYPERANGE_1_TO_65535) |
Definition at line 235 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_2_TO_3600 | ( | p | ) | ((p)->type_range & TYPERANGE_2_TO_3600) |
Definition at line 236 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_512_TO_16777215 | ( | p | ) |
Definition at line 237 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_AUTH_PARAM | ( | p | ) | ((p)->type_range & TYPERANGE_AUTH) |
Definition at line 239 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_DIGEST_PARAM | ( | p | ) | ((p)->type_range & TYPERANGE_DIGEST) |
Definition at line 240 of file iscsi_target_parameters.h.
#define IS_TYPERANGE_SESSIONTYPE | ( | p | ) |
Definition at line 241 of file iscsi_target_parameters.h.
Definition at line 155 of file iscsi_target_parameters.h.
#define IS_USE_INITIAL_ONLY | ( | p | ) | ((p)->use & USE_INITIAL_ONLY) |
Definition at line 154 of file iscsi_target_parameters.h.
#define IS_USE_LEADING_ONLY | ( | p | ) | ((p)->use & USE_LEADING_ONLY) |
Definition at line 153 of file iscsi_target_parameters.h.
#define KRB5 "KRB5" |
Definition at line 94 of file iscsi_target_parameters.h.
#define MAXBURSTLENGTH "MaxBurstLength" |
Definition at line 74 of file iscsi_target_parameters.h.
#define MAXCONNECTIONS "MaxConnections" |
Definition at line 62 of file iscsi_target_parameters.h.
#define MAXOUTSTANDINGR2T "MaxOutstandingR2T" |
Definition at line 78 of file iscsi_target_parameters.h.
#define MAXRECVDATASEGMENTLENGTH "MaxRecvDataSegmentLength" |
Definition at line 72 of file iscsi_target_parameters.h.
#define MAXXMITDATASEGMENTLENGTH "MaxXmitDataSegmentLength" |
Definition at line 73 of file iscsi_target_parameters.h.
#define NO "No" |
Definition at line 49 of file iscsi_target_parameters.h.
#define NONE "None" |
Definition at line 52 of file iscsi_target_parameters.h.
#define NORMAL "Normal" |
Definition at line 144 of file iscsi_target_parameters.h.
#define NOTUNDERSTOOD "NotUnderstood" |
Definition at line 53 of file iscsi_target_parameters.h.
#define OFMARKER "OFMarker" |
Definition at line 84 of file iscsi_target_parameters.h.
#define OFMARKINT "OFMarkInt" |
Definition at line 86 of file iscsi_target_parameters.h.
#define PHASE_DECLARATIVE 0x04 |
Definition at line 186 of file iscsi_target_parameters.h.
#define PHASE_FFP0 0x08 |
Definition at line 187 of file iscsi_target_parameters.h.
#define PHASE_OPERATIONAL 0x02 |
Definition at line 185 of file iscsi_target_parameters.h.
#define PHASE_SECURITY 0x01 |
Definition at line 184 of file iscsi_target_parameters.h.
#define PSTATE_ACCEPTOR 0x01 |
Definition at line 247 of file iscsi_target_parameters.h.
#define PSTATE_IRRELEVANT 0x08 |
Definition at line 250 of file iscsi_target_parameters.h.
#define PSTATE_NEGOTIATE 0x02 |
Definition at line 248 of file iscsi_target_parameters.h.
#define PSTATE_PROPOSER 0x04 |
Definition at line 249 of file iscsi_target_parameters.h.
#define PSTATE_REJECT 0x10 |
Definition at line 251 of file iscsi_target_parameters.h.
#define PSTATE_REPLY_OPTIONAL 0x20 |
Definition at line 252 of file iscsi_target_parameters.h.
#define PSTATE_RESPONSE_GOT 0x40 |
Definition at line 253 of file iscsi_target_parameters.h.
#define PSTATE_RESPONSE_SENT 0x80 |
Definition at line 254 of file iscsi_target_parameters.h.
#define REJECT "Reject" |
Definition at line 54 of file iscsi_target_parameters.h.
#define SCOPE_CONNECTION_ONLY 0x01 |
Definition at line 175 of file iscsi_target_parameters.h.
#define SCOPE_SESSION_WIDE 0x02 |
Definition at line 176 of file iscsi_target_parameters.h.
#define SENDER_BOTH 0x03 |
Definition at line 164 of file iscsi_target_parameters.h.
#define SENDER_INITIATOR 0x01 |
Definition at line 162 of file iscsi_target_parameters.h.
#define SENDER_RECEIVER 0x04 |
Definition at line 166 of file iscsi_target_parameters.h.
#define SENDER_TARGET 0x02 |
Definition at line 163 of file iscsi_target_parameters.h.
#define SENDTARGETS "SendTargets" |
Definition at line 63 of file iscsi_target_parameters.h.
#define SESSIONTYPE "SessionType" |
Definition at line 82 of file iscsi_target_parameters.h.
#define SET_PSTATE_ACCEPTOR | ( | p | ) | ((p)->state |= PSTATE_ACCEPTOR) |
Definition at line 265 of file iscsi_target_parameters.h.
#define SET_PSTATE_IRRELEVANT | ( | p | ) | ((p)->state |= PSTATE_IRRELEVANT) |
Definition at line 268 of file iscsi_target_parameters.h.
#define SET_PSTATE_NEGOTIATE | ( | p | ) | ((p)->state |= PSTATE_NEGOTIATE) |
Definition at line 266 of file iscsi_target_parameters.h.
#define SET_PSTATE_PROPOSER | ( | p | ) | ((p)->state |= PSTATE_PROPOSER) |
Definition at line 267 of file iscsi_target_parameters.h.
#define SET_PSTATE_REJECT | ( | p | ) | ((p)->state |= PSTATE_REJECT) |
Definition at line 269 of file iscsi_target_parameters.h.
#define SET_PSTATE_REPLY_OPTIONAL | ( | p | ) | ((p)->state |= PSTATE_REPLY_OPTIONAL) |
Definition at line 270 of file iscsi_target_parameters.h.
#define SET_PSTATE_RESPONSE_GOT | ( | p | ) | ((p)->state |= PSTATE_RESPONSE_GOT) |
Definition at line 271 of file iscsi_target_parameters.h.
#define SET_PSTATE_RESPONSE_SENT | ( | p | ) | ((p)->state |= PSTATE_RESPONSE_SENT) |
Definition at line 272 of file iscsi_target_parameters.h.
#define SET_USE_INITIAL_ONLY | ( | p | ) | ((p)->use |= USE_INITIAL_ONLY) |
Definition at line 157 of file iscsi_target_parameters.h.
#define SPKM1 "SPKM1" |
Definition at line 95 of file iscsi_target_parameters.h.
#define SPKM2 "SPKM2" |
Definition at line 96 of file iscsi_target_parameters.h.
#define SRP "SRP" |
Definition at line 97 of file iscsi_target_parameters.h.
#define TARGETADDRESS "TargetAddress" |
Definition at line 68 of file iscsi_target_parameters.h.
#define TARGETALIAS "TargetAlias" |
Definition at line 66 of file iscsi_target_parameters.h.
#define TARGETNAME "TargetName" |
Definition at line 64 of file iscsi_target_parameters.h.
#define TARGETPORTALGROUPTAG "TargetPortalGroupTag" |
Definition at line 69 of file iscsi_target_parameters.h.
#define TYPE_BOOL_AND 0x01 |
Definition at line 197 of file iscsi_target_parameters.h.
#define TYPE_BOOL_OR 0x02 |
Definition at line 198 of file iscsi_target_parameters.h.
#define TYPE_NUMBER 0x04 |
Definition at line 199 of file iscsi_target_parameters.h.
#define TYPE_NUMBER_RANGE 0x08 |
Definition at line 200 of file iscsi_target_parameters.h.
#define TYPE_STRING 0x10 |
Definition at line 201 of file iscsi_target_parameters.h.
#define TYPE_VALUE_LIST 0x20 |
Definition at line 202 of file iscsi_target_parameters.h.
#define TYPERANGE_0_TO_2 0x0004 |
Definition at line 216 of file iscsi_target_parameters.h.
#define TYPERANGE_0_TO_32767 0x0010 |
Definition at line 218 of file iscsi_target_parameters.h.
#define TYPERANGE_0_TO_3600 0x0008 |
Definition at line 217 of file iscsi_target_parameters.h.
#define TYPERANGE_0_TO_65535 0x0020 |
Definition at line 219 of file iscsi_target_parameters.h.
#define TYPERANGE_1_TO_65535 0x0040 |
Definition at line 220 of file iscsi_target_parameters.h.
#define TYPERANGE_2_TO_3600 0x0080 |
Definition at line 221 of file iscsi_target_parameters.h.
#define TYPERANGE_512_TO_16777215 0x0100 |
Definition at line 222 of file iscsi_target_parameters.h.
#define TYPERANGE_AUTH 0x0200 |
Definition at line 223 of file iscsi_target_parameters.h.
#define TYPERANGE_BOOL_AND 0x0001 |
Definition at line 214 of file iscsi_target_parameters.h.
#define TYPERANGE_BOOL_OR 0x0002 |
Definition at line 215 of file iscsi_target_parameters.h.
#define TYPERANGE_DIGEST 0x0400 |
Definition at line 224 of file iscsi_target_parameters.h.
#define TYPERANGE_ISCSINAME 0x0800 |
Definition at line 225 of file iscsi_target_parameters.h.
#define TYPERANGE_MARKINT 0x1000 |
Definition at line 226 of file iscsi_target_parameters.h.
#define TYPERANGE_SESSIONTYPE 0x2000 |
Definition at line 227 of file iscsi_target_parameters.h.
#define TYPERANGE_TARGETADDRESS 0x4000 |
Definition at line 228 of file iscsi_target_parameters.h.
#define TYPERANGE_UTF8 0x8000 |
Definition at line 229 of file iscsi_target_parameters.h.
#define USE_ALL 0x04 |
Definition at line 151 of file iscsi_target_parameters.h.
#define USE_INITIAL_ONLY 0x02 |
Definition at line 150 of file iscsi_target_parameters.h.
#define USE_LEADING_ONLY 0x01 |
Definition at line 149 of file iscsi_target_parameters.h.
#define X_EXTENSIONKEY "X-com.sbei.version" |
Definition at line 87 of file iscsi_target_parameters.h.
#define X_EXTENSIONKEY_CISCO_NEW "X-com.cisco.protocol" |
Definition at line 88 of file iscsi_target_parameters.h.
#define X_EXTENSIONKEY_CISCO_OLD "X-com.cisco.iscsi.draft" |
Definition at line 89 of file iscsi_target_parameters.h.
#define YES "Yes" |
Definition at line 48 of file iscsi_target_parameters.h.
int iscsi_change_param_value | ( | char * | , |
struct iscsi_param_list * | , | ||
int | |||
) |
Definition at line 1716 of file iscsi_target_parameters.c.
int iscsi_check_negotiated_keys | ( | struct iscsi_param_list * | ) |
Definition at line 1696 of file iscsi_target_parameters.c.
int iscsi_copy_param_list | ( | struct iscsi_param_list ** | , |
struct iscsi_param_list * | , | ||
int | |||
) |
Definition at line 552 of file iscsi_target_parameters.c.
int iscsi_create_default_params | ( | struct iscsi_param_list ** | ) |
Definition at line 228 of file iscsi_target_parameters.c.
Definition at line 1561 of file iscsi_target_parameters.c.
void iscsi_dump_conn_ops | ( | struct iscsi_conn_ops * | ) |
Definition at line 90 of file iscsi_target_parameters.c.
void iscsi_dump_sess_ops | ( | struct iscsi_sess_ops * | ) |
Definition at line 106 of file iscsi_target_parameters.c.
Definition at line 1638 of file iscsi_target_parameters.c.
Definition at line 670 of file iscsi_target_parameters.c.
|
read |
Definition at line 650 of file iscsi_target_parameters.c.
int iscsi_login_rx_data | ( | struct iscsi_conn * | , |
char * | , | ||
int | |||
) |
Definition at line 27 of file iscsi_target_parameters.c.
Definition at line 56 of file iscsi_target_parameters.c.
void iscsi_print_params | ( | struct iscsi_param_list * | ) |
Definition at line 136 of file iscsi_target_parameters.c.
void iscsi_release_param_list | ( | struct iscsi_param_list * | ) |
Definition at line 629 of file iscsi_target_parameters.c.
void iscsi_set_connection_parameters | ( | struct iscsi_conn_ops * | , |
struct iscsi_param_list * | |||
) |
Definition at line 1751 of file iscsi_target_parameters.c.
int iscsi_set_keys_irrelevant_for_discovery | ( | struct iscsi_param_list * | ) |
Definition at line 511 of file iscsi_target_parameters.c.
int iscsi_set_keys_to_negotiate | ( | int | , |
struct iscsi_param_list * | |||
) |
Definition at line 444 of file iscsi_target_parameters.c.
void iscsi_set_session_parameters | ( | struct iscsi_sess_ops * | , |
struct iscsi_param_list * | , | ||
int | |||
) |
Definition at line 1818 of file iscsi_target_parameters.c.
int iscsi_update_param_value | ( | struct iscsi_param * | , |
char * | |||
) |
Definition at line 686 of file iscsi_target_parameters.c.