network stack layer 2

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

 



Where does skb->mac.ethernet get set?
I've looked everywhere.  My kernel packet sniffing is telling me that this 
variable is set to an actual hex address going INTO eth_type_trans().  To me, 
that means it would most likely have to be setting it somewhere within the 
network device driver itself.  However, I can't see the 3c59x network device 
driver manipulating that variable anywhere.
skb->mac.raw isn't even set (or it isn't supposed to be), until it gets out 
of eth_type_trans().  How can skb->mac.ethernet be set?  And where does this 
happen?
-
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