1ISCSI_CREATE_CONN(9)            SCSI mid layer            ISCSI_CREATE_CONN(9)
2
3
4

NAME

6       iscsi_create_conn - create iscsi class connection
7

SYNOPSIS

9       struct iscsi_cls_conn *
10                                                 iscsi_create_conn(struct iscsi_cls_session * session,
11                                                 int dd_size, uint32_t cid);
12

ARGUMENTS

14       session
15           iscsi cls session
16
17       dd_size
18           private driver data size
19
20       cid
21           connection id
22

DESCRIPTION

24       This can be called from a LLD or iscsi_transport. The connection is
25       child of the session so cid must be unique for all connections on the
26       session.
27
28       Since we do not support MCS, cid will normally be zero. In some cases
29       for software iscsi we could be trying to preallocate a connection
30       struct in which case there could be two connection structs and cid
31       would be non-zero.
32

AUTHORS

34       James Bottomley <James.Bottomley@hansenpartnership.com>
35           Author.
36
37       Rob Landley <rob@landley.net>
38           Author.
39
41Kernel Hackers Manual 3.10         June 2019              ISCSI_CREATE_CONN(9)
Impressum