session
dd_size
cid
This can be called from a LLD or iscsi_transport. The connection is child of the session so cid must be unique for all connections on the session.
Since we do not support MCS, cid will normally be zero. In some cases for software iscsi we could be trying to preallocate a connection struct in which case there could be two connection structs and cid would be non-zero.
James Bottomley <James.Bottomley@hansenpartnership.com>
Rob Landley <rob@landley.net>