| To: | kernelnewbies@xxxxxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | ethernet cache question |
| From: | cranium 2003 <cranium.2003@xxxxxxxxx> |
| Date: | Mon, 31 Jan 2005 16:26:06 +0530 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=rwfntCUG1nSYl6MUVf0Qmtq12+mR8e6nowri5LymKn7U/0wlnie9J4mi6SuxHC5J8n1GINRCzrQYQc05JZbhvqsBAXVmouQyJaew83Z79GanrLGIOauiYkQcbxiAtAwCJZJavKgebLr17OPZ7fL859U83/RIFyCWdiLOX7Lv++4= |
| Reply-to: | cranium 2003 <cranium.2003@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Fw: [Bugme-new] [Bug 4138] New: ipsec with racoon in transport mode with esp and ah hangs (problem is in xfrm_state_add), Herbert Xu |
|---|---|
| Next by Date: | Re: [PATCH] arp_queue: serializing unlink + kfree_skb, Herbert Xu |
| Previous by Thread: | [PATCH] arp_queue: serializing unlink + kfree_skb, Olaf Kirch |
| Next by Thread: | who calls eth_header_cache_update, cranium 2003 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |