Re: Understanding the sockets system

2008-03-17 Thread Thomas Petazzoni
Le Mon, 17 Mar 2008 02:20:53 -0300, Rafael C. de Almeida [EMAIL PROTECTED] a écrit : 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

Re: Understanding the sockets system

2008-03-17 Thread Talib Alium
Thomas Petazzoni [EMAIL PROTECTED] wrote:You can start by exploring the implementation of datagram sockets (relying on the UDP protocol) at http://lxr.free-electrons.com/source/net/ipv4/af_inet.c#847. You'll find many very precise documentations about the implementation of the Linux network

Understanding the sockets system

2008-03-16 Thread Rafael C. de Almeida
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); and