Searched refs:pcap_map_size (Results 1 – 1 of 1) sorted by relevance
141 static size_t pcap_map_size; variable926 pcap_ptr_va_start >= pcap_map_size) in pcap_next_pkt()931 pcap_ptr_va_start >= pcap_map_size) in pcap_next_pkt()966 pcap_map_size = sb.st_size; in try_load_pcap()967 if (pcap_map_size <= sizeof(struct pcap_filehdr)) { in try_load_pcap()972 pcap_ptr_va_start = mmap(NULL, pcap_map_size, PROT_READ, in try_load_pcap()994 munmap(pcap_ptr_va_start, pcap_map_size); in try_close_pcap()998 pcap_map_size = 0; in try_close_pcap()