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  

OmniMcastAgent Class Reference

#include <omni_mcast.h>

Inheritance diagram for OmniMcastAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 OmniMcastAgent ()
int command (int argc, const char *const *argv)
void recv (Packet *, Handler *)

Public Attributes

OmniMcast_Entry routing_table [MAX_DATA_TYPE]

Protected Member Functions

void send_to_dmux (Packet *pkt, Handler *h)
void clear_arp_buf ()
void clear_send_buf ()
void reset ()
void ConsiderNew (Packet *)
void Start ()
void Terminate ()
Packetcreate_packet ()
Packetprepare_message (unsigned int dtype, ns_addr_t to_addr, int msg_type)
void DataForSink (Packet *)
void GodForwardData (Packet *)
void StopSource ()
void MACprepare (Packet *pkt, nsaddr_t next_hop, unsigned int type, bool lk_dtct)
void MACsend (Packet *pkt, Time delay=0)
void xmitFailed (Packet *pkt)
void StickPacketInArpBuffer (Packet *pkt)
void ArpBufferCheck ()
void SendBufferCheck ()
void StickPacketInSendBuffer (Packet *p)
void trace (char *fmt,...)

Protected Attributes

int pk_count
Pkt_Hash_Table PktTable
OmniMcastArpBufferTimer arp_buf_timer
OmniMcastArpBufEntry arp_buf [ARP_BUF_SIZE]
OmniMcastSendBufTimer send_buf_timer
OmniMcastSendBufferEntry send_buf [SEND_BUF_SIZE]


class OmniMcastArpBufferTimer
class OmniMcastSendBufTimer
void OmniMcastXmitFailedCallback (Packet *pkt, void *data)

Constructor & Destructor Documentation


Member Function Documentation

void OmniMcastAgent::ArpBufferCheck   [protected]

void OmniMcastAgent::clear_arp_buf   [protected]

void OmniMcastAgent::clear_send_buf   [protected]

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

Reimplemented from Agent.

void OmniMcastAgent::ConsiderNew Packet   [protected]

Packet * OmniMcastAgent::create_packet   [protected]

void OmniMcastAgent::DataForSink Packet   [protected]

void OmniMcastAgent::GodForwardData Packet   [protected]

void OmniMcastAgent::MACprepare Packet   pkt,
nsaddr_t    next_hop,
unsigned int    type,
bool    lk_dtct

void OmniMcastAgent::MACsend Packet   pkt,
Time    delay = 0

Packet * OmniMcastAgent::prepare_message unsigned int    dtype,
ns_addr_t    to_addr,
int    msg_type

void OmniMcastAgent::recv Packet  ,

Reimplemented from Agent.

void OmniMcastAgent::reset   [protected, virtual]

Reimplemented from NsObject.

void OmniMcastAgent::send_to_dmux Packet   pkt,
Handler   h
[inline, protected]

void OmniMcastAgent::SendBufferCheck   [protected]

void OmniMcastAgent::Start   [protected]

void OmniMcastAgent::StickPacketInArpBuffer Packet   pkt [protected]

void OmniMcastAgent::StickPacketInSendBuffer Packet   p [protected]

void OmniMcastAgent::StopSource   [protected]

void OmniMcastAgent::Terminate   [protected]

void OmniMcastAgent::trace char *    fmt,

void OmniMcastAgent::xmitFailed Packet   pkt [protected]

Friends And Related Function Documentation

friend class OmniMcastArpBufferTimer [friend]

friend class OmniMcastSendBufTimer [friend]

void OmniMcastXmitFailedCallback Packet   pkt,
void *    data

Member Data Documentation

OmniMcastArpBufEntry OmniMcastAgent::arp_buf[ARP_BUF_SIZE] [protected]

OmniMcastArpBufferTimer OmniMcastAgent::arp_buf_timer [protected]

ARPTable* OmniMcastAgent::arp_table [protected]

NsObject* OmniMcastAgent::ll [protected]

Node* OmniMcastAgent::node [protected]

int OmniMcastAgent::pk_count [protected]

Pkt_Hash_Table OmniMcastAgent::PktTable [protected]

NsObject* OmniMcastAgent::port_dmux [protected]

OmniMcast_Entry OmniMcastAgent::routing_table[MAX_DATA_TYPE]

OmniMcastSendBufferEntry OmniMcastAgent::send_buf[SEND_BUF_SIZE] [protected]

OmniMcastSendBufTimer OmniMcastAgent::send_buf_timer [protected]

Trace* OmniMcastAgent::tracetarget [protected]

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