[LIP] IP module xmitting packets

"suresh kumar" <suresh_vin-/iAzse42w/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi,
When the packets are being sent out from the linux system, ip module first sees if there exists a routing cache entry and if not it will see the fib creates an routing cache entry and xmits the packet in the respective interface. So for each connection if it creates a routing cache entry and if it first checks for the subsequent packets, I think it is a bit costly than checking fib i.e. routing table. One reason which I could find for TCP connections is, routing cache helps in keeping track of the TCP state information and for all the other protocols to know which ports are being in use which can be viewed by netstat. (correct me if I am wrong). apart from the mentioned reasons, is there ne other reason for it to maintain routing cache entry especially in case of UDP. 
cheers
Suresh
V.V Suresh Kumar


-- 
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!

Powered by Outblaze


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.