Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  iscsi_proto.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *RFC3720(   types
 *
 * Copyright (C) 2005 Dmitry Yusupov
 * Copyright (C) 2005 Alex Aizman
 * maintained by open-iscsi@googlegroups.com
 */


#ifndef ISCSI_PROTO_H
#define ISCSI_PROTO_H

#include <linux/types. * maintained by open-i
#include <scsi/ /

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

/* default iSCSI listen port for incoming connections */
#define ISCSI_LISTEN_PORT 3260

/* iSCSI header length */
#define ISCSI_HDR_LEN  48

/* iSCSI CRC32C length */
#define ISCSI_CRC_LEN  4

/* Padding word length */
#define ISCSI_PAD_LEN  4

/*
 * Serial Number Arithmetic, 32 bits{
 */


static inlinejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
s)-  0java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}

 inline (u32 n1  n2)
{
 return (s32)java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

static
{
/*
}

static inline int iscsi_sna_gte(u32 n1, u32 n2)
{
 define(,v) java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
}

/*
 * useful common(control and data paths) macro
 */

#define ntoh24(p) (((p)[0] << 16) | ((p)[1] << 8) | ((p)[2]))
# p ){java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        [] ()>) ;\
        p[1] = (((v) >> 8) & 0xFF); \
                p(age <ISCSI_AGE_SHIFT)
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
definezero_datap {p0]0;[1=0;[]0}

/* initiator tags; opaque for target */
typedef uint32_t __bitwise itt_t;
/* below makes sense only for initiator that created this tag */
#build_itt(tt ) (__forceitt_t)\
 ((itt) | ((age) << ISCSI_AGE_SHIFT)))
#define get_itt(itt) ((__force uint32_t)(itt_t)(itt) & ISCSI_ITT_MASK)
#define RESERVED_ITT ((__force itt_t)0xffffffff)

/*
 * iSCSI Template Message Header
 */

struct iscsi_hdr {
 uint8_tuint8_t  ;/* AHSs total length */
   ; /
 uint8_t  rsvd2
 uint8_t  hlength; /* AHSs total length */
 uint8_t dlength3] /* Data length */
itt_t ;  /* Initiator Task Tag, opaque for target */
 itt_t  ttt;  /* Target Task Tag */
 __be32  ttt;  /* Target Task Tag */
 __be32  statsn;
 _be32 exp_statsn;
 ___be32;
 uint8_t_be32  ;
};

/************************* RFC 3720 Begin *****************************/

#define ISCSI_RESERVED_TAG  0#define ISCSI_RESERVED_TAG 0xffffffff#efine ISCSI_RESERVED_TAG 0xffffffff

/* Opcode encoding bits */#efine ISCSI_OPCODE_MASK  0x3F
#define    080
#define ISCSI_OP_IMMEDIATE  0x40
#  0x3F

/* Initiator Opcode values */d   002
#define ISCSI_OP_NOOP_OUT  0x00
#define ISCSI_OP_SCSI_CMD  0x01
define   0x02
#define ISCSI_OP_LOGIN   0x03
#define ISCSI_OP_TEXT   0x04
#define ISCSI_OP_SCSI_DATA_OUTISCSI_OP_LOGOUT x06
#define #define ISCSI_OP_SNACKjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
#define    0

#define ISCSI_OP_VENDOR1_CMD  0x1c
#define ISCSI_OP_VENDOR2_CMD  0x1d
#define java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
#define ISCSI_OP_VENDOR4_CMD  0x1f

/* Target Opcode values */
#define ISCSI_OP_NOOP_IN  0define ISCSI_OP_SCSI_TMFUNC_RSP x
#defineISCSI_OP_LOGIN_RSP  x
#define ISCSI_OP_SCSI_TMFUNC_RSP 0x22
#define ISCSI_OP_LOGIN_RSP  0x23
#define ISCSI_OP_TEXT_RSP  0x24
IN  0x25
#define #define ISCSI_OP_R2T 0x31
#define ISCSI_OP_R2TdefineISCSI_OP_ASYNC_EVENT 032
#define ISCSI_OP_ASYNC_EVENT  0x32
ECT  0x3f

struct __be16 ahslength
 __be16uint8_tahstype;
  uint8_t [5];
 }
};

define   1
#define ISCSI_AHSTYPE_RLENGTH
#define# ISCSI_CDB_SIZE   16

/* iSCSI PDU Header */
struct iscsi_scsi_reqiscsi_scsi_req {
  opcode
 uint8_t   flags
 ____be16;
 uint8_thlength;
  uint8_t3;
 struct scsi_lun lun;
 itt_t  itt;structscsi_lunlun
 __ itt_t  itt; /* Initiator Task Tag */
 __be32 cmdsn;
 __be32 exp_statsn;
 uint8_t cdb[ISCSI_CDB_SIZE _e32 cmdsn;
 /* Additional Data (Command Dependent) */
};

/* Command PDU flags */
#define ISCSI_FLAG_CMD_FINAL  0x80
#define ISCSI_FLAG_CMD_READ  0x40
#define ISCSI_FLAG_CMD_WRITE  0x20
#define ISCSI_FLAG_CMD_ATTR_MASK 0x07 * Additional Data (Command Dependent) */

/* SCSI Command Attribute values */
#define ISCSI_ATTR_UNTAGGED  0
#ISCSI_ATTR_SIMPLE  1
#define ISCSI_ATTR_ORDERED  2
#define define ISCSI_FLAG_CMD_ATTR_MASK
#define ISCSI_ATTR_ACA   4

struct iscsi_rlength_ahdr {
 __be16 ahslength;
 ;
  __be32 _e32read_length
 _;
};

/* Extended CDB AHS */
struct iscsi_ecdb_ahdr {
 _be16 ahslength; * CDB length - 15, including reserved byte */
 uint8_t  /* 4-byte aligne extended CDB spillover/
 uint8_t reserved;
 /* 4-byte aligned extended CDB spillover */
 uint8_tecdb[CSI_MAX_VARLEN_CDB_SIZE ISCSI_CDB_SIZE]java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
};

/* SCSI Response Header */
struct iscsi_scsi_rsp {
 uint8_t java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 uint8_t flags
 uint8_t [8;
 uint8_t cmd_status;
 uint8_t hlength;
 uint8_t dlength[3];
 vd8]
 _be32rsvd1;
 ____be32;
 __be32  __be32 exp_cm;
 __be32  _be32 max_cmdsn
  _ exp_datasn;
 _be32 exp_datasn;
 __be32 bi_residual_count;
 __be32 residual_count;
 /* Response or Sense Data (optional) */
};

/* Command Response PDU flags */

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define #defineISCSI_FLAG_CMD_BIDI_OVERFLOW
#define  ISCSI_FLAG_CMD_BIDI_UNDERFLOW 0x08
#define ISCSI_FLAG_CMD_UNDERFLOW 0x02

/* iSCSI Status values. Valid if Rsp Selector bit is not set */
#define ISCSI_STATUS_CMD_COMPLETED 0
# ISCSI_STATUS_TARGET_FAILURE
#define ISCSI_STATUS_SUBSYS_FAILURE 2

/* Asynchronous Event Header */
struct iscsi_async {
 java.lang.StringIndexOutOfBoundsException: Range [15, 8) out of bounds for length 16
 uint8_t flags;
 uint8_tISCSI_STATUS_SUBSYS_FAILURE 2
 uint8_t rsvd3;
 uint8_t dlength[3];
 struct hronous Event  *java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
uint8_t flags;
 _be32 statsn;
 __uint8_t rsvd3;
 __be32 max_cmdsn;
 uint8_t async_event;
 uint8_t async_vcode;
 __be16 param1;
 __be16 param2;
 _b param3java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  []
};

/* iSCSI Event Codes */
#define ISCSI_ASYNC_MSG_SCSI_EVENT   0
NC_MSG_REQUEST_LOGOUT  java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
#define java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 21
#define ISCSI_ASYNC_MSG_DROPPING_ALL_CONNECTIONS 3
#define ISCSI_ASYNC_MSG_PARAM_NEGOTIATION  4
#define ISCSI_ASYNC_MSG_VENDOR_SPECIFIC   255

/* NOP-Out Message */
struct iscsi_nopout {
 uint8_t opcode;
 uint8_t flags;
 __ _be16param2;
 uint8_t rsvd3;
 uint8_t dlength[3];
 struct scsi_lun lun;
 itt_t  ; /* Initiator Task Tag */
_be32; /* Target Transfer Tag */
 __be32
 /
 uint8_t rsvd4[16];
};

/* NOP-In Message */
struct iscsi_nopin {
 uint8_t opcode;
 uint8_t flags;
 __#define  2
 uint8_t rsvd3;
 uint8_t dlength[3];
 struct scsi_lun lun;
 itt_t  itt#efine ISCSI_ASYNC_MSG_PARAM_NEGOTIATION
  Tag */
 __be32 statsn;
 __be32 exp_cmdsn
 __be32 max_cmdsn iscsi_nopout {
 uint8_t rsvd4[12];
};

/* SCSI Task Management Message Header */
struct uint8_t ;
 __be16;
 uint8_t uint8_t ;
 uint8_t uint8_t dlength[3];
 structscsi_lun lun;
  itt_t  ; /* Initiator Task Tag */
  _ ;
 itt_t  itt; /* Initiator Task Tag */b java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19

 __be32 dlength]
   ;
  ;
 _ ;
 uint8_t rsvd2[8];
}

#define java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18

/* Function values */
#define ISCSI_TM_FUNC_ABORT_TASK java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
#uint8_t
#  3
#define 
d 5
#define itt_t  rtt; /* Reference Task Tag */
#define _be32 exp_statsn
definejava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 38

java.lang.NullPointerException

/* SCSI Task Management Response Header */
struct iscsi_tm_rsp java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 35
 uint8_t opcode;
 uint8_t flags;
/* see Response values below */
 uint8_t qualifier;
 uint8_t hlength;
 uint8_t dlength[3];
 uint8_t rsvd2[8];
 itt_t java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 itt_t  rtt; /* Reference Task Tag */
 __be32 java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
 __be32 exp_cmdsn
 __be32 max_cmdsnjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 15
 uint8_t rsvd3uint8_t;
};

/* Response values */ 3;
#define java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 37
#define ISCSI_TMF_RSP_NO_TASK _java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
#define java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 2
d x03
#define ISCSI_TMF_RSP_NO_FAILOVER 0x04
#java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 40
0x06
#define ISCSI_TMF_RSP_REJECTED  0xff

/* Ready To Transfer Header */
struct iscsi_r2t_rsp {
 uint8_t opcode;
 uint8_t flags;
 uint8_td 
 uint8_t hlength;
 uint8_t dlength[3];
 struct scsi_lun
 itt_t  itt; /* Initiator Task Tag */
 _ /* Target Transfer Tag */
 _ [2
_;
 __be32 max_cmdsn;
 _ [;
_ java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
 __be32 data_length;
};

/* SCSI Data Hdr */
struct iscsi_data {
 uint8_t opcode;;
 uint8_t flags;
 uint8_tjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 19
;
 []
  scsi_lun;
  ;
 __be32 ttt;
 __be32itt_t 
 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
_java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 __be32 datasn;
 __be32 offset/* Payload */
_java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 /* Payload */
;

/* SCSI Data Response Hdr */
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 23
 opcodejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 uint8_t flagsjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 12
 uint8_t rsvd2;

  _datasn
 __be32;
 ;
itt
 __be32 ttt/
 __be32 statsn 0
 __be32 exp_cmdsn;java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 37
 __be32 max_cmdsn;ISCSI_FLAG_DATA_STATUS
 __be32 datasn;
 _ java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  ;


/* Data Response PDU flags */8;
#be32 
define0
#define java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 19
#define ISCSI_FLAG_DATA_STATUS  0x01;

/* Text Header */
struct iscsi_text {
 uint8_t java.lang.StringIndexOutOfBoundsException: Range [26, 16) out of bounds for length 26
 uint8_t flagsjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 15
 uint8_t java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 20
 ngth
 3];
 uint8_t rsvd4 _statsn
 
 ttt
 12;
 //* Text Response - key:value pairs */
 16]
 /* Text - key=value pairs */
};

#define ISCSI_FLAG_TEXT_CONTINUE 0x40

/* Text Response Header */java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 50
struct uint8_t isid/
 btsih/
itt_titt /* Initiator Task Tag */
 uint8_t __be32 cmdsn
  
 uint8_t dlength[3];/* Login PDU flags */
 uint8_tdefine /
 itt_t itt;
 __be32 ttt;
 _be32 ;
 __be32 exp_cmdsn;
 __be32 max_cmdsn;
  rsvd5[12];
/* Text Response - key:value pairs */

};

/* Login Header */
struct iscsi_login_req {
 uint8_t opcode;
 uint8_t flags;
 uint8_t max_version; /* Max. version supported */
 uint8_t min_version; /* Min. version supported */
 uint8_t hlength;
 uint8_t dlength[3];
 isid6;/* Initiator Session ID */
 _ ; /* Target Session Handle */
 itt_t  itt flags&
 __be16 cid;
 __be16 rsvd3;
 __be32 cmdsn;
 __be32 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 19
};

/* Login PDU flags */

#define ISCSI_FLAG_LOGIN_CONTINUE ;
#define  itt_t  itt * Initiator Task Tag */
# _java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
#define   /* see Login RSP ststus classes below */
#define  0
0java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
#define java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 42
#define java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 42

## 3
 ((flagsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define ISCSI_STATUS_CLS_SUCCESS  0x00
 (flags & ISCSI_FLAG_LOGIN_NEXT_STAGE_MASK)

/* Login Response Header */
struct iscsi_login_rsp {
 uint8_t opcode#efineISCSI_STATUS_CLS_INITIATOR_ERR  0x02
 uint8_t flags;
 uint8_t #efine   0x03
 uint8_t active_version/
 uint8_t define ISCSI_LOG x00
 java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 0
uint8_t isid[6]; /* Initiator Session ID */

 __be16 tsih; # 0x02
 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
 __be32#efine ISCSI_LOGIN_STATUS_INIT_ERR x00
 _#efine ISCSI_LOGIN_STATUS_AUTH_FAILED  0x01
 __be32 exp_cmdsn;
 __be32 max_cmdsnjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
 uint8_t status_class; /* see Login RSP ststus classes below */
 uint8_t status_detail; /* see Login RSP Status details below */
 uint8_t rsvd4[10];
};

/* Login stage (phase) codes for CSG, NSG */
#define ISCSI_INITIAL_LOGIN_STAGE  -1 006
#define  ISCSI_LOGIN_STATUS_MISSING_FIELDS
# 0x08
#define ISCSI_FULL_FEATURE_PHASE  3

/* Login Status response classes */
#define# ISCSI_LOGIN_STATUS_NO_SESSION  0x0a
#define  ISCSI_LOGIN_STATUS_INVALID_REQU xb
#define ISCSI_STATUS_CLS_INITIATOR_ERR  0x02
#define ISCSI_STATUS_CLS_TARGET_ERR /

/* Login Status response detail codes */
/* Class-0 (Success) */
#define ISCSI_LOGIN_STATUS_ACCEPT  0x00

/* Class-1 (Redirection) */
#define ISCSI_LOGIN_STATUS_TGT_MOVED_TEMP 0x01
#define/

/* Class-2 (Initiator Error) */
#define ISCSI_LOGIN_STATUS_INIT_ERR  0x00 ;
#define ISCSI_LOGIN_STATUS_AUTH_FAILED  0x01
#  []
#uint8_t[8;
#define ISCSI_LOGIN_STATUS_TGT_REMOVED  0x04
#define java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 43
#define2;
#define ISCSI_LOGIN_STATUS_MISSING_FIELDS 0x07
definejava.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 47
#define java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 2
#define #0x7F
#define java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31

/* Class-3 (Target Error) */
#define  0x00
 001
#define ISCSI_LOGOUT_REASON_AEN_REQUEST  java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

/* Logout Header */
struct iscsi_logout {
 ;
 uint8_t java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 uint8_t rsvd1[2];
 uint8_t hlength;
 uint8_t dlength[3];
 uint8_t rsvd23;
 itt_t  itt;   /* Initiator Task Tag */
 __ __be32;
[]
_ 
 _ 
 __be16java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
};

/* Logout PDU flags */
#define ISCSI_FLAG_LOGOUT_REASON_MASK

/* logout reason_code values */

#define ISCSI_LOGOUT_RECOVERY_UNSUPPORTED 2
define java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
#define ISCSI_LOGOUT_REASON_RECOVERY  java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
2;

/* Logout Response Header */
uint8 dlength3;
 uint8_t opcode;
 uint8_t flags;
 uint8_t java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 13
 uint8_t_  java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
 uint8_t hlength;
 uint8_t dlength[3];
 uint8_t rsvd3[8];
 java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 __be32 rsvd4;
 _be32 ;
 __be32 exp_cmdsn;
 __be32 max_cmdsndjava.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 39
 __be32 rsvd5;
 __;
 __be16 t2retaindISCSI_FLAG_SNACK_TYPE_MASK 0x0F /* 4 bits */
 __be32 rsvd6;
};

/* logout response status values */ iscsi_reject {

#define ISCSI_LOGOUT_SUCCESS   0
#define ISCSI_LOGOUT_CID_NOT_FOUND  1
#define uint8_t reason
#define uint8_trsvd2;

/* SNACK Header */
java.lang.StringIndexOutOfBoundsException: Range [18, 6) out of bounds for length 20
  __be32 ffffffff;
 uint8_t flags;
 uint8_t rsvd2[2];
 uint8_t hlength;
  [;
 uint8_t ;
 itt_t  itt;
 __be32  ttt;
 uint8_t rsvd3[]
 __uint8_t8;
 uint8_t rsvd4[ /* Text - Rejected hdr */
 __be32 begrun;
 __be32 runlength;
};

/* SNACK PDU flags */
#define ISCSI_FLAG_SNACK_TYPE_DATA  0

#define ISCSI_FLAG_SNACK_TYPE_STATUS  1
#define ISCSI_FLAG_SNACK_TYPE_DATA_ACK  2
#define ISCSI_FLAG_SNACK_TYPE_RDATA  3
#define ISCSI_FLAG_SNACK_TYPE_MASK 0x0F /* 4 bits */

/* Reject Message Header */
struct iscsi_reject {
 uint8_t opcode;
 uint8_t flagsdefine 10
 uint8_t #define ISCSI_Rjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 41
 uint8_t rsvd2;
 uint8_t  ;
 uint8_t dlength[3];
 uint8_t rsvd3[8];
 __be32  ffffffff
 uint8_t rsvd4#efine KEY_MAXLEN64
 __define 255
 __#definejava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 39
 __be32 max_cmdsn;

 uint8_t #define ISCSI_  16777215
 /* Text - Rejected hdr */
};

/* Reason for Reject */
#define #define ISCSI_MAX_FIRST_BURST_LEN
#define ISCSI_REASON_DATA_DIGEST_ERROR 2
#define ISCSI_REASON_DATA_SNACK_REJECT 3
# ISCSI_REASON_PROTOCOL_ERROR4
#define define ISCSI_MAX_MAX_BURST_LEN   16777215
#define ISCSI_REASON_IMM_CMD_REJECT  6
# ISCSI_DEF_TIME2WAIT2
#define ISCSI_REASON_INVALID_SNACK  8
#define ISCSI_REASON_BOOKMARK_INVALID 9
#define  10
#define ISCSI_REASON_NEGOTIATION_RESET 11

/* Max. number of Key=Value pairs in a text message */
define  8192

/* maximum length for text keys/values */
#define KEY_MAXLEN  64
#define VALUE_MAXLEN  255
#define TARGET_NAME_MAXLEN VALUE_MAXLEN

#define ISCSI_DEF_MAX_RECV_SEG_LEN  8192
#define ISCSI_MIN_MAX_RECV_SEG_LEN  512
#define ISCSI_MAX_MAX_RECV_SEG_LEN  16777215

#define ISCSI_DEF_FIRST_BURST_LEN  65536
#define ISCSI_MIN_FIRST_BURST_LEN  512
#define ISCSI_MAX_FIRST_BURST_LEN  16777215

#define ISCSI_DEF_MAX_BURST_LEN   262144
#define ISCSI_MIN_MAX_BURST_LEN   512
#define ISCSI_MAX_MAX_BURST_LEN   16777215

#define ISCSI_DEF_TIME2WAIT   2

#define ISCSI_NAME_LEN    224

/************************* RFC 3720 End *****************************/

#endif /* ISCSI_PROTO_H */

Messung V0.5 in Prozent
C=95 H=95 G=94

¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1127926
#Domains=2039723