help in tcp/ip source hacking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
   I am trying to understand the tcp/ip implementation
in Linux.
My doubt is where the ethernet header is being formed 
for the outgoing packet.
I was able to know that it is being cached in dst_entry
as "struct hh_cache" held by both neighbour table as well as rtable.
This reduces the time taken to form ethernet header
for each and every packet going out.

But I was not able to see where exactly the cached ethernet header is
being pushed into sk_buff holding our packet.

As I see eth_header(ethernet/eth.c) pushes the header into
sk_buff but this func is not being called by anybody?

Can any body help?

-- 
vamshi varma
vamshiv@onebox.com - email
(626) 940-1240 x7173 - voicemail/fax



__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux