Hi folks

I'd like to know the sequence of functions that are executed upon
receipt of a datagram by the ethernet card. Yes,  i've gone through
ip_input.c and other related source code files. But i'm still not too
clear about the sequence of functions that are executed, until the
packet is handed to tht TCP layer.
>From what i've been able to figure out the following functions are
executed in order:
1.    netif_rx
2.    ip_rcv

Now, in ip_input.c, there's a function named ip_local_deliver. It seems
to me to be the function that should deliver packets destined for the
localhost to the upper layers. But netif_rx calls ip_rcv, which is also
exported by the kernel. And ip_rcv calls ip_local_deliver ONLY when
CONFIG_FIREWALL and IP_TRANSPARENT_PROXY macros are defined. So, how
does the TCP layer get hold of the packet?

Regards
Rishi



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to