/[lwip]/contrib/ports/c16x/netif/cs8900if.c
ViewVC logotype

Diff of /contrib/ports/c16x/netif/cs8900if.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by likewise, Wed May 5 18:47:22 2004 UTC revision 1.21 by christiaans, Fri Oct 29 08:54:45 2004 UTC
# Line 127  Line 127 
127   * Dependend on physical layer. This is a safe minimum for 802.3 10base5/T.   * Dependend on physical layer. This is a safe minimum for 802.3 10base5/T.
128   * @sa RFC1042   * @sa RFC1042
129   */   */
130  #define ETH_MIN_FRAME_LEN 76  #define ETH_MIN_FRAME_LEN 60
131    
132  #include "cs8900if.h"  #include "cs8900if.h"
133  #include "lwip/snmp.h"  #include "lwip/snmp.h"
# Line 679  void cs8900if_input(struct netif *netif) Line 679  void cs8900if_input(struct netif *netif)
679      /* update ARP table */      /* update ARP table */
680      etharp_ip_input(netif, p);      etharp_ip_input(netif, p);
681      /* skip Ethernet header */      /* skip Ethernet header */
682      pbuf_header(p, -sizeof(struct eth_hdr));      pbuf_header(p, -(s16_t)sizeof(struct eth_hdr));
683      LWIP_DEBUGF(NETIF_DEBUG, ("cs8900_input: passing packet up to IP\n"));      LWIP_DEBUGF(NETIF_DEBUG, ("cs8900_input: passing packet up to IP\n"));
684      /* pass to network layer */      /* pass to network layer */
685      netif->input(p, netif);      netif->input(p, netif);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26