On 02/23/2010 05:25 AM, Gopu Krishnan wrote:
Hi All,

Let us take there are multiple initiator and target,
Assume the session/connection got established and the IO is going fine.

I need to retrieve the initiator and target IP address on which a session
got established, where can I hook this from the IET code.

You should email the IET list [email protected]. They know their code best.

You probably want kernel_getpeername and kernel_getsockname.


Is it possible to retrieve the IP address from struct sock.

We have initiator name , target name, tid, sid, cid ...... but not the IP
address information.

Thanks in advance
Gopal


--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to