ethernet cache question

From: kernel.lover (cranium.2003_at_gmail.com)
Date: 01/31/05


Date: 31 Jan 2005 02:56:32 -0800

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



Relevant Pages

  • ethernet cache question
    ... Then i want to know how its sufficient in linux kernel to copy cache ethernet ... How then ethernet header is copied to packet if ethernet header has cache ...
    (comp.os.linux.networking)
  • Re: NDIS miniport driver - expected frame format
    ... after the source address) but say the IM driver has already inserted the 4 ... do the type/length field determination for Ethernet encapsulation. ... of the IP header and not the 802.1p value in the tag? ... Is this the reason why NDIS passes 802.1Q info in out-of-band struct? ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS miniport driver - expected frame format
    ... Ethernet frames using Ethernet II framing, it adds 4 bytes *between* the ... Source MAC Address and the Type/Length field of the original frame. ... Is this the reason why NDIS passes 802.1Q info in out-of-band struct? ... layer2 header to skip to get to the IP header. ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS miniport driver - expected frame format
    ... Ethernet frames using Ethernet II framing, it adds 4 bytes *between* the ... Source MAC Address and the Type/Length field of the original frame. ... Is this the reason why NDIS passes 802.1Q info in out-of-band struct? ... layer2 header to skip to get to the IP header. ...
    (microsoft.public.development.device.drivers)
  • Re: VxWorks Gurus, need help with MUX : MuxBind & M_BLK_ID
    ... MY_PROTO is my own ethernet type ... I need to get the ethernet header offset, ... first thing in the frame. ...
    (comp.os.vxworks)