/[lwip]/lwip/src/netif/ethernetif.c
ViewVC logotype

Diff of /lwip/src/netif/ethernetif.c

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

revision 1.9 by likewise, Thu May 1 13:24:01 2003 UTC revision 1.10 by likewise, Mon Jun 9 21:14:47 2003 UTC
# Line 63  static const struct eth_addr ethbroadcas Line 63  static const struct eth_addr ethbroadcas
63  /* Forward declarations. */  /* Forward declarations. */
64  static void  ethernetif_input(struct netif *netif);  static void  ethernetif_input(struct netif *netif);
65  static err_t ethernetif_output(struct netif *netif, struct pbuf *p,  static err_t ethernetif_output(struct netif *netif, struct pbuf *p,
66                                 struct ip_addr *ipaddr);               struct ip_addr *ipaddr);
67    
68  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/
69  static void  static void
# Line 179  low_level_input(struct ethernetif *ether Line 179  low_level_input(struct ethernetif *ether
179  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/
180  static err_t  static err_t
181  ethernetif_output(struct netif *netif, struct pbuf *p,  ethernetif_output(struct netif *netif, struct pbuf *p,
182                    struct ip_addr *ipaddr)        struct ip_addr *ipaddr)
183  {  {
184    struct ethernetif *ethernetif;    struct ethernetif *ethernetif;
185    struct pbuf *q;    struct pbuf *q;
# Line 306  ethernetif_input(struct netif *netif) Line 306  ethernetif_input(struct netif *netif)
306      case ETHTYPE_ARP:      case ETHTYPE_ARP:
307        p = arp_arp_input(netif, ethernetif->ethaddr, p);        p = arp_arp_input(netif, ethernetif->ethaddr, p);
308        if (p != NULL) {        if (p != NULL) {
309          low_level_output(ethernetif, p);    low_level_output(ethernetif, p);
310          pbuf_free(p);    pbuf_free(p);
311        }        }
312        break;        break;
313      default:      default:

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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