packet_mmap receiver prototype