This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ethernet header size
- To: "'eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] ethernet header size
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Wed, 10 Oct 2001 15:13:48 -0600
- Organization: Extreme Engineering
I don't have a copy of the TCP/IP redbook handy at the moment. It's at
home.
So, I was wondering. I have the code below for the ethernet driver for
the WaveLAN card. What should TM_ETHER_HEADER_SIZE be defined as? I
thought it was around 32 bytes or something, but I can't remember.
if((dp->rx_frame.wi_dat_len +
TM_ETHER_HEADER_SIZE) > 0x600) {
diag_printf("oversized packet received "
"(wi_dat_len=%d, wi_status=0x%x)\n",
dp->rx_frame.wi_dat_len, dp->rx_frame.wi_status);
Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1
Phone: 403 640 9494 ext-208
Fax: 403 640 9599
http://www.extremeeng.com