/[lwip]/lwip/proj/minimal/mintapif.c
ViewVC logotype

Diff of /lwip/proj/minimal/mintapif.c

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

revision 1.2 by jani, Wed Dec 18 12:49:01 2002 UTC revision 1.3 by jani, Thu Dec 19 10:37:07 2002 UTC
# Line 154  low_level_output(struct netif *netif, st Line 154  low_level_output(struct netif *netif, st
154         time. The size of the data in each pbuf is kept in the ->len         time. The size of the data in each pbuf is kept in the ->len
155         variable. */             variable. */    
156      /* send data from(q->payload, q->len); */      /* send data from(q->payload, q->len); */
157      bcopy(q->payload, bufptr, q->len);      memcpy(bufptr, q->payload, q->len);
158      bufptr += q->len;      bufptr += q->len;
159    }    }
160    
# Line 203  low_level_input(struct mintapif *mintapi Line 203  low_level_input(struct mintapif *mintapi
203           avaliable data in the pbuf is given by the q->len           avaliable data in the pbuf is given by the q->len
204           variable. */           variable. */
205        /* read data into(q->payload, q->len); */        /* read data into(q->payload, q->len); */
206        bcopy(bufptr, q->payload, q->len);        memcpy(q->payload, bufptr, q->len);
207        bufptr += q->len;        bufptr += q->len;
208      }      }
209      /* acknowledge that packet has been read(); */      /* acknowledge that packet has been read(); */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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