All of lore.kernel.org
 help / color / mirror / Atom feed
* ethernet cache question
@ 2005-01-31 10:56 cranium 2003
  0 siblings, 0 replies; only message in thread
From: cranium 2003 @ 2005-01-31 10:56 UTC (permalink / raw)
  To: kernelnewbies, netdev

Hello,
      By looking at structure hh_cache it is seen that hh_output is structure
variable defined as
unsigned long   hh_data[HH_DATA_ALIGN(LL_MAX_HEADER) / sizeof(long)];
Then i want to know how its sufficient in linux kernel to copy cache ethernet
header entry as
memcpy(skb->data - 16, hh->hh_data, 16);
other variable defined in hh_cache is not seen as copied to packet structure.
How then ethernet header is copied to packet if ethernet header has cache
entry stored in hh_cache structure defiend in /usr/src/include/netdevice.h
regards,
cranium

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-31 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-31 10:56 ethernet cache question cranium 2003

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.