[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Q] ttl exceeded & receiving agents
Hi,
is it possible for a receiving agent, to receive packets in ns-2
whose ttl was counted down to zero at that node?
In a scenario like:
node1/sending agent1 --link---> node2 ---link----> node3/receiving agent3
agent1 has to send packets with a ttl of at least 3 if the packets
should reach agent 3. If agent1 sends the packets with ttl=2 node 3
drops them before 'reaching' agent3 in the TTLChecker by simply
calling Packet::free() (in ttl.cc). Is there any way of using something like
a drop object to receive the packets being discarded at that node?
(I am experimenting with ns-2.0a17)
Thanks a lot in advance,
Frank