I hope this message finds you well. I am currently working on a vehicular network simulation using Network Simulator 2 (NS2). During this process, I encountered the need to track all packets entering and leaving the queue, as well as identifying the packet types and discarded packets.
Problem Context:I would greatly appreciate your guidance on effectively tracking packets in the NS2 queue, whether through specific scripts, configuration adjustments, or additional trace analysis tools. If there are any examples or relevant documentation, I would be grateful if you could share them.
Please let me know if you require further details about the simulation setup or any adjustments that could facilitate the process.
Thank you in advance for your attention and support.
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-users/383197e9-8266-4dbb-a245-2105f3d032aan%40googlegroups.com.
What I need is to capture the node IDs in the drop-tail.cc queue. I want to know what is in the queue for each node. What you responded does not solve the problem.
To view this discussion visit https://groups.google.com/d/msgid/ns-users/CACkRdUigQ9o-tduU4T0U2hfvwQnhrZg%3DR14O-5n2oG5wbTYfyA%40mail.gmail.com.
Send me your trace file.
To view this discussion visit https://groups.google.com/d/msgid/ns-users/CAP0xD3imoCNrd7yz%3DDNZoDMK1ahDMQaxrzhtUq8CnhEx34E3%2BA%40mail.gmail.com.
You need put node id in trace file ir print node id somehow. After that extract It.
I think you didn't understand: I need to print the packets from the droptail.cc
queue. I don't have this information in the new NS2 trace. What I need is to know the types of packets in the queue at certain periods, the node ID corresponding to this queue, the time the packet arrived, and the time it left the queue. Example:
Time ID Packet_Type Entered/Left
1s 3 PT_AOMDV In
2s 3 CBR Out
To view this discussion visit https://groups.google.com/d/msgid/ns-users/CAO2B1eDEOzQTUpoLpSbvwjZ55BGDK7YoyU198Kc6j_upJz7upA%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-users/CAP0xD3jvnT0q74CWnyn98UUp5AWbE7O6aB-AwuWJ%2BXNsCrQJPA%40mail.gmail.com.