Hi,
In NS2, generating a new packet is not that complicated. Class Packet has
a function alloc() which returns a pointer to the created packet. You
may find the detail in file ~/ns/common/packet.h.
At the receiving end, you may process the packet in the function
recv(p,h), where p is a pointer
Hi everyone,
I am thinking of generating packets on certain queue events. The packets
would be:
1. generated by the link layer (in real life, but not necessarily in
ns-2, an approximation would do)
2. processed by the link layer on the receiving end, and acted upon
I am thinking of
It seems I pasted incompletely, sorry about that:
On Tue, Oct 28, 2008 at 12:38 PM, Prajjwal Devkota [EMAIL PROTECTED]wrote:
Hi everyone,
I am thinking of generating packets on certain queue events. The packets
would be:
1. generated by the link layer (in real life, but not