I want to have a VANET scenario where BSMs are transmitted periodically in range 10 Hz and 80 Hz, and the density changes from 50 to 200 veh/km. I want to use the different privacy techniques implemented in PREXT, and generate a log file for every packets received that includes Sender ID, Receiver ID, Sender Location, Receiver Location, Packet Generation Time, Packet Reception Time.
I was using ns3 for the generation of log files but I couldn't find any modules like PREXT there. So if anyone has some sample code which can be modified in a simple way to generate the scenario I described and print out the logs, it will be greatly helpful.
Any other resource will be helpful too.