Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-bpf.c159 u_char *zbuf1, *zbuf2, *zbuffer; member
301 bzh = (struct bpf_zbuf_header *)pb->zbuf1; in pcap_next_zbuf_shm()
305 pb->zbuffer = (u_char *)pb->zbuf1; in pcap_next_zbuf_shm()
310 } else if (pb->zbuffer == pb->zbuf1) { in pcap_next_zbuf_shm()
1497 if (pb->zbuf1 != MAP_FAILED && pb->zbuf1 != NULL) in pcap_cleanup_bpf()
1498 (void) munmap(pb->zbuf1, pb->zbufsize); in pcap_cleanup_bpf()
1966 pb->zbuf1 = mmap(NULL, pb->zbufsize, PROT_READ | PROT_WRITE,
1970 if (pb->zbuf1 == MAP_FAILED || pb->zbuf2 == MAP_FAILED) {
1977 bz.bz_bufa = pb->zbuf1;