msghdr problem in tcp_sendmsg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I trace the kernel networking code (ver 2.4.25).
I send simple message (say, "hello") using simple client and see how tcp_sendmsg function works.
And what I see is that there's NO my message (e.g. "hello") in the msghdr structure that tcp_sendmsg receives,
e.g. in (char*)msg->msg_iov->iov_base, although debugger shows that msg->msg_iov->iov_len = 6, e.g. equals to "hello" message length (+1).
Can anyone explain where I am wrong or what I do not understand?

I am using the UML kernel and standard gdb debugger.


Serge Goodenko,
MIPT, Russia
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux