Re: Understanding the sockets system

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

 



Hi Rafael



On Mon, Mar 17, 2008 at 12:20 PM, Rafael C. de Almeida
<almeidaraf@xxxxxxxxx> wrote:
> Hello,
>
>  I'm trying to understand how the bytes I get from recv(2) comes
>  through the nic to the sockets interface. I tried following it from
>  sys_recv (net/socket.c) to the driver functions being used. But I got
>  stuck on:
>
>         err = security_socket_recvmsg(sock, msg, size, flags);

I suggest to redo your tracing using User Mode Linux. Attach gdb to
UML, put breakpoint(s) and then do backtracing when you hit the target
function. I find it as the easiest way to do tracing.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux