[ECOS] ethernet header size

Trenton D. Adams tadams@extremeeng.com
Wed Oct 10 14:15:00 GMT 2001


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



More information about the Ecos-discuss mailing list