Public Member Functions

ns3::ArpCache::Entry Class Reference

A record that that holds information about an ArpCache entry. More...

#include <arp-cache.h>

Collaboration diagram for ns3::ArpCache::Entry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Entry (ArpCache *arp)
 Constructor.
void MarkDead (void)
 Changes the state of this entry to dead.
void MarkAlive (Address macAddress)
void MarkWaitReply (Ptr< Packet > waiting)
bool UpdateWaitReply (Ptr< Packet > waiting)
bool IsDead (void)
bool IsAlive (void)
bool IsWaitReply (void)
Address GetMacAddress (void)
bool IsExpired (void)
Ptr< PacketDequeuePending (void)

Detailed Description

A record that that holds information about an ArpCache entry.


Constructor & Destructor Documentation

ns3::ArpCache::Entry::Entry ( ArpCache arp  ) 

Constructor.

Parameters:
arp The ArpCache this entry belongs to

Member Function Documentation

Ptr<Packet> ns3::ArpCache::Entry::DequeuePending ( void   ) 
Returns:
0 is no packet is pending, the next packet to send if packets are pending.
Address ns3::ArpCache::Entry::GetMacAddress ( void   ) 
Returns:
The MacAddress of this entry
bool ns3::ArpCache::Entry::IsAlive ( void   ) 
Returns:
True if the state of this entry is alive; false otherwise.
bool ns3::ArpCache::Entry::IsDead ( void   ) 
Returns:
True if the state of this entry is dead; false otherwise.
bool ns3::ArpCache::Entry::IsExpired ( void   ) 
Returns:
True if this entry has timedout; false otherwise.
bool ns3::ArpCache::Entry::IsWaitReply ( void   ) 
Returns:
True if the state of this entry is wait_reply; false otherwise.
void ns3::ArpCache::Entry::MarkAlive ( Address  macAddress  ) 
Parameters:
macAddress 
void ns3::ArpCache::Entry::MarkWaitReply ( Ptr< Packet waiting  ) 
Parameters:
waiting 
bool ns3::ArpCache::Entry::UpdateWaitReply ( Ptr< Packet waiting  ) 
Parameters:
waiting 
Returns:

The documentation for this class was generated from the following file: