Hi,
I'm running simulations that involve multi-hop bulk data
transfer over wireless nodes. Data is transfered from nodes at random
times over TCP and some transmissions are simultaneous so there is some
contention. The routing protocol i'm using is DSR.
I want to be able to take snapshots of the total amount of packets that a given
node has at a given time.
I've
been sampling the dsr-priqueue when data packets are enqueued (from the
DSR agent) but the number of packets i looged is not comparable to the
amount of packets I'm sending. (I increased the default values of
#define IFQ_MAXLEN in dsr-priqueue and SEND_BUF_SIZE in dsragent so
that they don't impose a limit)
Should I sample the packets in the TCP send-buffer as well?
Is there any facility that NS provides to perform this task that I have
overlooked?
Thank you in advance,
San