Networking Forums

Networking Forums > Computer Networking > Linux Networking > ethernet cache question

Reply
Thread Tools Display Modes

ethernet cache question

 
 
kernel.lover
Guest
Posts: n/a

 
      01-31-2005, 09:56 AM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: dns server cache Question Phillip Windell Windows Networking 1 02-22-2010 09:46 PM
Ethernet question Petert Broadband 27 01-13-2009 04:43 PM
Ethernet/USB Modem Question NastyNiff Home Networking 3 07-10-2005 12:09 AM
Ethernet Over AC Question Wizzard Home Networking 5 01-26-2005 05:52 PM
Newbie Question: NNTP Proxy Or Cache? amuskratt@yahoo.com Linux Networking 1 12-20-2004 03:05 AM



1 2 3 4 5 6 7 8 9 10 11