On 24 Feb 2010 at 13:17, Gopu Krishnan wrote:
> Thanks Ulrich,
>
> Could you please give me a detailed info on how to retrieve the initiator
> IP, target IP, initiator TCP port and target TCP port from the struct sock.
>
> I would like to know about the kernel api for this.
> I am not sure if we
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
Thanks Ulrich,
Could you please give me a detailed info on how to retrieve the initiator
IP, target IP, initiator TCP port and target TCP port from the struct sock.
I would like to know about the kernel api for this.
I am not sure if we can use inet_sk(), to get the saddr and daddr. If so
please
On 23 Feb 2010 at 16:55, Gopu Krishnan wrote:
> Is it possible to retrieve the IP address from struct sock.
>
AFAIK, a socket address is a network address plus a port (maybe even
two of each in the TCP case). So the answer should be: YES
--
You received this message because you are subscribed
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.
Is it possible to retrieve the I