Home
last modified time | relevance | path

Searched refs:bpfBuffer (Results 1 – 1 of 1) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Dif.c98 unsigned char *bpfBuffer; /* Packet filter buffer */ variable
377 if (!(bpfBuffer = (unsigned char *) malloc(bpfLength))) { in openInterface()
634 if ((bpfSize = read(sock, bpfBuffer, bpfLength)) < 0) { in receivePacket()
644 memcpy(&hdr, bpfBuffer + bpfOffset, sizeof(hdr)); in receivePacket()
661 memcpy(pkt, bpfBuffer + bpfOffset + hdr.bh_hdrlen, copylen); in receivePacket()