ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

toraAgent Class Reference

#include <tora.h>

Inheritance diagram for toraAgent:

rtAgent Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 toraAgent (nsaddr_t id)
void recv (Packet *p, Handler *)
int command (int argc, const char *const *argv)
void rtNotifyLinkUP (nsaddr_t index)
void rtNotifyLinkDN (nsaddr_t index)
void rtNotifyLinkStatus (nsaddr_t index, u_int32_t status)
void rtRoutePacket (Packet *p)

Private Member Functions

TORADestdst_find (nsaddr_t id)
TORADestdst_add (nsaddr_t id)
void dst_dump (void)
void rt_resolve (Packet *p)
void forward (Packet *p, nsaddr_t nexthop, Time delay=0.0)
void purge_queue (void)
void enque (TORADest *td, Packet *p)
Packetdeque (TORADest *td)
void recvTORA (Packet *p)
void recvQRY (Packet *p)
void recvUPD (Packet *p)
void recvCLR (Packet *p)
void sendQRY (nsaddr_t id)
void sendUPD (nsaddr_t id)
void sendCLR (nsaddr_t id, double tau, nsaddr_t oid)
void tora_output (Packet *p)
int initialized ()
void trace (char *fmt,...)
virtual void reset ()
void log_route_loop (nsaddr_t prev, nsaddr_t next)
void log_link_layer_feedback (Packet *p)
void log_link_layer_recycle (Packet *p)
void log_lnk_del (nsaddr_t dst)
void log_lnk_kept (nsaddr_t dst)
void log_nb_del (nsaddr_t dst, nsaddr_t id)
void log_recv_qry (Packet *p)
void log_recv_upd (Packet *p)
void log_recv_clr (Packet *p)
void log_route_table (void)
void log_dst_state_change (TORADest *td)
void logNextHopChange (TORADest *td)
void logNbDeletedLastDN (TORADest *td)
void logToraDest (TORADest *td)
void logToraNeighbor (TORANeighbor *tn)

Private Attributes

nsaddr_t index
td_head dstlist
rtqueue rqueue


class TORANeighbor
class TORADest

Constructor & Destructor Documentation

toraAgent::toraAgent nsaddr_t    id

Member Function Documentation

int toraAgent::command int    argc,
const char *const *    argv

Reimplemented from Agent.

Packet* toraAgent::deque TORADest   td [private]

TORADest * toraAgent::dst_add nsaddr_t    id [private]

void toraAgent::dst_dump void    [private]

TORADest * toraAgent::dst_find nsaddr_t    id [private]

void toraAgent::enque TORADest   td,
Packet   p

void toraAgent::forward Packet   p,
nsaddr_t    nexthop,
Time    delay = 0.0

int toraAgent::initialized   [inline, private, virtual]

Implements rtAgent.

void toraAgent::log_dst_state_change TORADest   td [private]

void toraAgent::log_link_layer_feedback Packet   p [private]

void toraAgent::log_link_layer_recycle Packet   p [private]

void toraAgent::log_lnk_del nsaddr_t    dst [private]

void toraAgent::log_lnk_kept nsaddr_t    dst [private]

void toraAgent::log_nb_del nsaddr_t    dst,
nsaddr_t    id

void toraAgent::log_recv_clr Packet   p [private]

void toraAgent::log_recv_qry Packet   p [private]

void toraAgent::log_recv_upd Packet   p [private]

void toraAgent::log_route_loop nsaddr_t    prev,
nsaddr_t    next

void toraAgent::log_route_table void    [private]

void toraAgent::logNbDeletedLastDN TORADest   td [private]

void toraAgent::logNextHopChange TORADest   td [private]

void toraAgent::logToraDest TORADest   td [private]

void toraAgent::logToraNeighbor TORANeighbor   tn [private]

void toraAgent::purge_queue void    [private]

void toraAgent::recv Packet   p,

Reimplemented from Agent.

void toraAgent::recvCLR Packet   p [private]

void toraAgent::recvQRY Packet   p [private]

void toraAgent::recvTORA Packet   p [private]

void toraAgent::recvUPD Packet   p [private]

void toraAgent::reset   [private, virtual]

Reimplemented from NsObject.

void toraAgent::rt_resolve Packet   p [private]

void toraAgent::rtNotifyLinkDN nsaddr_t    index [virtual]

Implements rtAgent.

void toraAgent::rtNotifyLinkStatus nsaddr_t    index,
u_int32_t    status

Implements rtAgent.

void toraAgent::rtNotifyLinkUP nsaddr_t    index [virtual]

Implements rtAgent.

void toraAgent::rtRoutePacket Packet   p [virtual]

Implements rtAgent.

void toraAgent::sendCLR nsaddr_t    id,
double    tau,
nsaddr_t    oid

void toraAgent::sendQRY nsaddr_t    id [private]

void toraAgent::sendUPD nsaddr_t    id [private]

void toraAgent::tora_output Packet   p [private]

void toraAgent::trace char *    fmt,

Friends And Related Function Documentation

friend class TORADest [friend]

friend class TORANeighbor [friend]

Member Data Documentation

td_head toraAgent::dstlist [private]

PriQueue* toraAgent::ifqueue [private]

imepAgent* toraAgent::imepagent [private]

nsaddr_t toraAgent::index [private]

Trace* toraAgent::logtarget [private]

rtqueue toraAgent::rqueue [private]

The documentation for this class was generated from the following files:
This document is generated by doxygen.