Searched refs:bpfBuffer (Results 1 – 1 of 1) sorted by relevance
98 unsigned char *bpfBuffer; /* Packet filter buffer */ variable377 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()