[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Understanding the sockets system
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