110 |
bufptr = (u_char *)pcapif->pkt; |
bufptr = (u_char *)pcapif->pkt; |
111 |
for(q = p; q != NULL; q = q->next) { |
for(q = p; q != NULL; q = q->next) { |
112 |
/* Read enough bytes to fill this pbuf in the chain. The |
/* Read enough bytes to fill this pbuf in the chain. The |
113 |
avaliable data in the pbuf is given by the q->len |
available data in the pbuf is given by the q->len |
114 |
variable. */ |
variable. */ |
115 |
/* read data into(q->payload, q->len); */ |
/* read data into(q->payload, q->len); */ |
116 |
bcopy(bufptr, q->payload, q->len); |
bcopy(bufptr, q->payload, q->len); |