I have created a new routing agent for adhoc networks.I want to test this. I want to calculate the number of packets that an application layer sends and receives back. I used CBR with a UDP agent as source and a Null agent as sink. What function in which file should I monitor to calculate the number of sent and received packets Thank You Madhan