A record that that holds information about an ArpCache entry.
More...
#include <arp-cache.h>
List of all members.
Detailed Description
A record that that holds information about an ArpCache entry.
Constructor & Destructor Documentation
ns3::ArpCache::Entry::Entry |
( |
ArpCache * |
arp |
) |
|
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.
Ipv4Address ns3::ArpCache::Entry::GetIpv4Address |
( |
void |
|
) |
const |
Address ns3::ArpCache::Entry::GetMacAddress |
( |
void |
|
) |
const |
- Returns:
- The MacAddress of this entry
uint32_t ns3::ArpCache::Entry::GetRetries |
( |
void |
|
) |
const |
- Returns:
- number of retries that have been sent for an ArpRequest in WaitReply state.
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 |
) |
|
void ns3::ArpCache::Entry::MarkWaitReply |
( |
Ptr< Packet > |
waiting |
) |
|
void ns3::ArpCache::Entry::SetIpv4Address |
( |
Ipv4Address |
destination |
) |
|
bool ns3::ArpCache::Entry::UpdateWaitReply |
( |
Ptr< Packet > |
waiting |
) |
|
The documentation for this class was generated from the following file:
- src/internet-stack/arp-cache.h