Home
last modified time | relevance | path

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

/openbmc/linux/tools/bpf/
H A Dbpf_dbg.c142 static char *pcap_ptr_va_start, *pcap_ptr_va_curr; variable
926 pcap_ptr_va_start >= pcap_map_size) in pcap_next_pkt()
931 pcap_ptr_va_start >= pcap_map_size) in pcap_next_pkt()
940 pcap_ptr_va_curr = pcap_ptr_va_start + sizeof(struct pcap_filehdr); in pcap_reset_pkt()
972 pcap_ptr_va_start = mmap(NULL, pcap_map_size, PROT_READ, in try_load_pcap()
974 if (pcap_ptr_va_start == MAP_FAILED) { in try_load_pcap()
979 hdr = (void *) pcap_ptr_va_start; in try_load_pcap()
994 munmap(pcap_ptr_va_start, pcap_map_size); in try_close_pcap()
997 pcap_ptr_va_start = pcap_ptr_va_curr = NULL; in try_close_pcap()