aodv.cc File Reference

#include <aodv/aodv.h>
#include <aodv/aodv_packet.h>
#include <random.h>
#include <cmu-trace.h>

Include dependency graph for aodv.cc:

Go to the source code of this file.

Data Structures

class  AODVclass
class  AODVHeaderClass

Defines

#define CURRENT_TIME   Scheduler::instance().clock()
#define FREQUENCY   0.5
#define max(a, b)   ( (a) > (b) ? (a) : (b) )

Functions

static void aodv_rt_failed_callback (Packet *p, void *arg)

Variables

AODVclass class_rtProtoAODV
AODVHeaderClass class_rtProtoAODV_hdr


Define Documentation

#define CURRENT_TIME   Scheduler::instance().clock()
 

Definition at line 40 of file aodv.cc.

Referenced by CsmaCA802_15_4::adjustTime(), imepAgent::aggregateAckBlock(), imepAgent::aggregateHelloBlock(), Mac802_15_4::backoffBoundHandler(), macExtractTimer::backoffCAP(), Mac802_15_4::beaconRxHandler(), Mac802_15_4::beaconTxHandler(), CsmaCA802_15_4::canProceed(), Mac802_15_4::canProceedWOcsmaca(), SSCS802_15_4::checkTaskOverflow(), Mac802_15_4::checkTaskOverflow(), Mac802_15_4::command(), Mac802_15_4::constructACK(), Mac802_15_4::csmacaCallBack(), dstQueue::deleteDst(), SSCS802_15_4::dispatch(), dstQueue::dumpAll(), rtqueue::enque(), aodv_rqueue::enque(), aodv_rqueue::findAgedPacket(), AODV::forward(), Mac802_15_4::getCAP(), Mac802_15_4::getCAPbyType(), dstQueue::getNextExpire(), dstQueue::getNextPacket(), AODV::handle_link_failure(), imepAgent::handlerControlTimer(), imepAgent::handlerIncomingTimer(), imepAgent::handlerReXmitTimer(), AODV::id_insert(), AODV::id_purge(), Mac802_15_4::IFSHandler(), imepAgent::imep_ack_input(), imepAgent::imep_object_input(), imepAgent::imepPacketUndeliverable(), imepAgent::imepSetLinkDownStatus(), imepAgent::imepSetLinkInStatus(), Mac802_15_4::isPanCoor(), Mac802_15_4::locateBoundary(), AODV::log_link_broke(), AODV::log_link_del(), AODV::log_link_kept(), toraAgent::log_link_layer_feedback(), toraAgent::log_link_layer_recycle(), toraAgent::log_lnk_del(), toraAgent::log_lnk_kept(), toraAgent::log_nb_del(), imepAgent::log_neighbor_list(), toraAgent::log_recv_clr(), toraAgent::log_recv_qry(), toraAgent::log_recv_upd(), toraAgent::log_route_loop(), toraAgent::log_route_table(), toraAgent::logNbDeletedLastDN(), toraAgent::logNextHopChange(), toraAgent::logToraDest(), toraAgent::logToraNeighbor(), Mac802_15_4::macHeaderLen(), Mac802_15_4Class::method(), SSCS802_15_4::MLME_ASSOCIATE_indication(), Mac802_15_4::mlme_associate_request(), Mac802_15_4::mlme_orphan_response(), Mac802_15_4::mlme_poll_request(), Mac802_15_4::mlme_rx_enable_request(), SSCS802_15_4::MLME_SCAN_confirm(), Mac802_15_4::mlme_scan_request(), Mac802_15_4::mlme_start_request(), SSCS802_15_4::MLME_SYNC_LOSS_indication(), Mac802_15_4::mlme_sync_request(), TORADest::nb_del(), AODV::nb_insert(), AODV::nb_purge(), Phy802_15_4::PD_DATA_request(), Phy802_15_4::PLME_SET_request(), Phy802_15_4::PLME_SET_TRX_STATE_request(), rtqueue::purge(), imepAgent::purgeLink(), imepAgent::purgeReXmitQ(), purgeTransacLink(), Phy802_15_4::recv(), Mac802_15_4::recv(), Mac802_15_4::recvAck(), Mac802_15_4::recvBeacon(), toraAgent::recvCLR(), Mac802_15_4::recvCommand(), Mac802_15_4::recvData(), AODV::recvError(), AODV::recvHello(), Phy802_15_4::recvOverHandler(), toraAgent::recvQRY(), AODV::recvReply(), AODV::recvRequest(), toraAgent::recvUPD(), Mac802_15_4::reset_TRX(), AODV::rt_purge(), toraAgent::rt_resolve(), CsmaCA802_15_4::RX_ON_confirm(), imepAgent::scheduleIncoming(), imepAgent::scheduleReXmit(), Phy802_15_4::sendOverHandler(), AODV::sendRequest(), Mac802_15_4::set_trx_state_request(), macBeaconRxTimer::start(), CsmaCA802_15_4::start(), SSCS802_15_4::startDevice(), SSCS802_15_4::startPANCoord(), Mac802_15_4::taskFailed(), Mac802_15_4::taskSuccess(), imepAgent::Terminate(), imepTimer::timeLeft(), TRANSACLINK::TRANSACLINK(), Mac802_15_4::txBcnCmdDataHandler(), and Mac802_15_4::txHandler().

#define FREQUENCY   0.5
 

Referenced by RouteCacheTimer::handle().

#define max a,
b   )     ( (a) > (b) ? (a) : (b) )
 

Definition at line 39 of file aodv.cc.

Referenced by RoutingTable::AddEntry(), dstent::addEntry(), JoBS::arvAccounting(), JoBS::assignRateDropsADC(), MacCsma::backoff(), EWdetectorB::getMaxAList(), PollHandler::handle(), DiffusionRate::InterestHandle(), Diff_Routing_Entry::MostRecvOrg(), FackTcpAgent::oldack(), TcpFsAgent::output_helper(), MediaSegmentList::overlap_size(), NewRenoTcpFsAgent::partialnewack_helper(), MultihopMac::poll(), LmsReceiver::print_all_stats(), DiffusionRate::ProcessPosReinf(), TcpAsymSink::recv(), AckRecons::recv(), TcpFsAgent::recv_newack_helper(), AODV::recvRequest(), CorresHost::rmv_old_segs(), AODV::sendRequest(), EWdetectorB::sortAList(), Snoop::timeout(), LLSnoop::timeout(), and JoBS::updateStats().


Function Documentation

static void aodv_rt_failed_callback Packet p,
void *  arg
[static]
 

Definition at line 289 of file aodv.cc.

Referenced by AODV::rt_resolve().

00289                                               {
00290   ((AODV*) arg)->rt_ll_failed(p);
00291 }


Variable Documentation

AODVclass class_rtProtoAODV [static]
 

AODVHeaderClass class_rtProtoAODV_hdr [static]
 


Generated on Tue Mar 6 16:48:40 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6