Re: Linux Networking Internals Question

2018-06-25 Thread Tobin C. Harding
On Sat, Jun 16, 2018 at 11:17:01PM +0530, V.Ravikumar wrote: > Understood Rami Rosen. Thank you. > > Regards > Ravi > > On Sat, Jun 16, 2018 at 11:10 PM, Rami Rosen wrote: > > > Hi Ravi, > > The path that a packet goes through, from being received by the > > network driver and up to kernel

Re: Linux Networking Internals Question

2018-06-16 Thread V.Ravikumar
Understood Rami Rosen. Thank you. Regards Ravi On Sat, Jun 16, 2018 at 11:10 PM, Rami Rosen wrote: > Hi Ravi, > The path that a packet goes through, from being received by the > network driver and up to kernel Layer 3 (IPV4/IPV6) and from > there to kernel Layer 4 (UDP/TCP/SCTP/other sockets)

Re: Linux Networking Internals Question

2018-06-16 Thread Rami Rosen
Hi Ravi, The path that a packet goes through, from being received by the network driver and up to kernel Layer 3 (IPV4/IPV6) and from there to kernel Layer 4 (UDP/TCP/SCTP/other sockets) and from there to userspace sockets is quite complex. The logic is heavy, on that path there are lookups in

Linux Networking Internals Question

2018-06-16 Thread V.Ravikumar
Hi All, I wanted to know how a packet received will be handovered to a correct user process. Basically I want to understand what are the various header parameters in packet which will help to find the open socket descriptor of respective user process. I'm not able to find the exact answers in