Hello,

In a wireless routing protocol, when there is no mobile node in the
tranmission range of a node, it can use a callback routine. For
instance in UM-OLSR:
=====
if (use_mac()) {
        ch->xmit_failure_       = olsr_mac_failed_callback;
        ch->xmit_failure_data_  = (void*)this;
}
=====

Here's my problem. Before olsr_mac_failed_callback executed well, but
after a week of many modifications of NS-2 code (packet header) and
UM-OLSR, now nothing happens when a mobile node can't forward a
packet. Normally in nam I saw a dropped packet and
olsr_mac_failed_callback is called. But now I don't see dropped
packets in trace file.

It's very kind if anyone knows what has happened.

Thanks,

-- 
Hai-Nam NGUYEN
Elève 3A SLR, ENST Bretagne
2 rue de la Châtaigneraie, 35576 Cesson Sévigné
Site web: http://www.jcisio.com

Reply via email to