Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

InterfaceGhost Class Reference

#include <interface-ghost.h>

Inheritance diagram for InterfaceGhost:

Interface InterfaceBasic NotifyHandler Protocol Handler Object List of all members.

Public Member Functions

 InterfaceGhost (const L2Proto &l2=L2Proto802_3(), IPAddr_t i=((IPAddr_t) 0x0), Mask_t m=((Mask_t) 0xffffffffl), MACAddr mac=MACAddr::NONE, bool bootstrap=false)
virtual ~InterfaceGhost ()
bool Send (Packet *, IPAddr_t, int)
bool Send (Packet *, const MACAddr &, int)
bool Send (Packet *, Word_t)
virtual void Handle (Event *, Time_t)
virtual void Notify (void *)
Count_t PeerCount () const
IPAddr PeerIP (int npeer) const
IPAddr NodePeerIP (Node *) const
bool NodeIsPeer (Node *) const
Count_t NodePeerIndex (Node *) const
QueueGetQueue () const
void SetQueue (const Queue &q)
bool QueueDetailed () const
L2ProtoGetL2Proto () const
void SetL2Proto (const L2Proto &l2)
void AddNotify (NotifyHandler *, void *)
void CancelNotify (NotifyHandler *)
MACAddr IPToMac (IPAddr_t) const
Count_t NeighborCount (Node *) const
void Neighbors (NodeWeightVec_t &, bool forceAll=false)
IPAddr_t DefaultPeer ()
bool IsLocalIP (IPAddr_t) const
Mult_t TrafficIntensity () const
void AddRemoteIP (IPAddr_t, Mask_t, Count_t=0)
void HandleLLCSNAP (Packet *, bool)
bool IsWireless () const
bool IsEthernet () const
bool IsReal () const
void SetWormContainment (WormContainment *)
WormContainmentGetWormContainment ()
void UseARP (bool b)

Static Public Attributes

Count_t count = 0

Constructor & Destructor Documentation

InterfaceGhost::InterfaceGhost const L2Proto l2 = L2Proto802_3(),
IPAddr_t  i = ((IPAddr_t) 0x0),
Mask_t  m = ((Mask_t) 0xffffffffl),
MACAddr  mac = MACAddr::NONE,
bool  bootstrap = false
 

InterfaceGhost::~InterfaceGhost  )  [virtual]
 


Member Function Documentation

void InterfaceGhost::AddNotify NotifyHandler ,
void * 
[virtual]
 

Implements Interface.

void InterfaceGhost::AddRemoteIP IPAddr_t  ,
Mask_t  ,
Count_t  = 0
[virtual]
 

Implements Interface.

void InterfaceGhost::CancelNotify NotifyHandler  )  [virtual]
 

Implements Interface.

IPAddr_t InterfaceGhost::DefaultPeer  )  [virtual]
 

Implements Interface.

L2Proto * InterfaceGhost::GetL2Proto  )  const [virtual]
 

Implements Interface.

Queue * InterfaceGhost::GetQueue  )  const [virtual]
 

Implements Interface.

WormContainment* InterfaceGhost::GetWormContainment  )  [inline, virtual]
 

Implements Interface.

void InterfaceGhost::Handle Event ,
Time_t 
[virtual]
 

Reimplemented from Interface.

void InterfaceGhost::HandleLLCSNAP Packet ,
bool 
[virtual]
 

Implements Interface.

MACAddr InterfaceGhost::IPToMac IPAddr_t   )  const [virtual]
 

Implements Interface.

bool InterfaceGhost::IsEthernet  )  const [inline, virtual]
 

Reimplemented from Interface.

bool InterfaceGhost::IsLocalIP IPAddr_t   )  const [virtual]
 

Implements Interface.

bool InterfaceGhost::IsReal  )  const [inline, virtual]
 

Implements Interface.

bool InterfaceGhost::IsWireless  )  const [inline, virtual]
 

Implements Interface.

Count_t InterfaceGhost::NeighborCount Node  )  const [virtual]
 

Implements Interface.

void InterfaceGhost::Neighbors NodeWeightVec_t ,
bool  forceAll = false
[virtual]
 

Implements Interface.

bool InterfaceGhost::NodeIsPeer Node  )  const [virtual]
 

Implements Interface.

Count_t InterfaceGhost::NodePeerIndex Node  )  const [virtual]
 

Implements Interface.

IPAddr InterfaceGhost::NodePeerIP Node  )  const [virtual]
 

Implements Interface.

void InterfaceGhost::Notify void *   )  [virtual]
 

Reimplemented from Interface.

Count_t InterfaceGhost::PeerCount  )  const [virtual]
 

Implements Interface.

IPAddr InterfaceGhost::PeerIP int  npeer  )  const [virtual]
 

Implements Interface.

bool InterfaceGhost::QueueDetailed  )  const [virtual]
 

Implements Interface.

bool InterfaceGhost::Send Packet ,
Word_t 
[virtual]
 

Implements Interface.

bool InterfaceGhost::Send Packet ,
const MACAddr ,
int 
[virtual]
 

Implements Interface.

bool InterfaceGhost::Send Packet ,
IPAddr_t  ,
int 
[virtual]
 

Implements Interface.

void InterfaceGhost::SetL2Proto const L2Proto l2  )  [virtual]
 

Implements Interface.

void InterfaceGhost::SetQueue const Queue q  )  [virtual]
 

Implements Interface.

void InterfaceGhost::SetWormContainment WormContainment  )  [inline, virtual]
 

Implements Interface.

Mult_t InterfaceGhost::TrafficIntensity  )  const [virtual]
 

Implements Interface.

void InterfaceGhost::UseARP bool  b  )  [inline, virtual]
 

Implements Interface.


Member Data Documentation

Count_t InterfaceGhost::count = 0 [static]
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 27 16:17:27 2008 for Georgia Tech Network Simulator (GTNetS) by  doxygen 1.3.9.1