/[lwip]/lwip/src/arch/unix/netif/tapif.c
ViewVC logotype

Diff of /lwip/src/arch/unix/netif/tapif.c

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

revision 1.8 by jani, Sat Jan 11 15:10:12 2003 UTC revision 1.9 by likewise, Mon Jan 13 13:22:10 2003 UTC
# Line 205  low_level_input(struct tapif *tapif) Line 205  low_level_input(struct tapif *tapif)
205      bufptr = &buf[0];      bufptr = &buf[0];
206      for(q = p; q != NULL; q = q->next) {      for(q = p; q != NULL; q = q->next) {
207        /* Read enough bytes to fill this pbuf in the chain. The        /* Read enough bytes to fill this pbuf in the chain. The
208           avaliable data in the pbuf is given by the q->len           available data in the pbuf is given by the q->len
209           variable. */           variable. */
210        /* read data into(q->payload, q->len); */        /* read data into(q->payload, q->len); */
211        memcpy(q->payload, bufptr, q->len);        memcpy(q->payload, bufptr, q->len);

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

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