Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-bpf.c158 u_char *zbuf1, *zbuf2, *zbuffer; member
300 bzh = (struct bpf_zbuf_header *)pb->zbuf1; in pcap_next_zbuf_shm()
304 pb->zbuffer = (u_char *)pb->zbuf1; in pcap_next_zbuf_shm()
309 } else if (pb->zbuffer == pb->zbuf1) { in pcap_next_zbuf_shm()
1636 if (pb->zbuf1 != MAP_FAILED && pb->zbuf1 != NULL) in pcap_cleanup_bpf()
1637 (void) munmap(pb->zbuf1, pb->zbufsize); in pcap_cleanup_bpf()
2095 pb->zbuf1 = mmap(NULL, pb->zbufsize, PROT_READ | PROT_WRITE,
2099 if (pb->zbuf1 == MAP_FAILED || pb->zbuf2 == MAP_FAILED) {
2106 bz.bz_bufa = pb->zbuf1;