179 |
bufptr = &buf[0]; |
bufptr = &buf[0]; |
180 |
for(q = p; q != NULL; q = q->next) { |
for(q = p; q != NULL; q = q->next) { |
181 |
/* Read enough bytes to fill this pbuf in the chain. The |
/* Read enough bytes to fill this pbuf in the chain. The |
182 |
avaliable data in the pbuf is given by the q->len |
available data in the pbuf is given by the q->len |
183 |
variable. */ |
variable. */ |
184 |
/* read data into(q->payload, q->len); */ |
/* read data into(q->payload, q->len); */ |
185 |
bcopy(bufptr, q->payload, q->len); |
bcopy(bufptr, q->payload, q->len); |