#include <arp-cache.h>
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) const |
Ipv4Address | GetIpv4Address (void) const |
void | SetIpv4Address (Ipv4Address destination) |
bool | IsExpired (void) const |
Ptr< Packet > | DequeuePending (void) |
uint32_t | GetRetries (void) const |
void | IncrementRetries (void) |
Increment the counter of number of retries for an entry. | |
void | ClearRetries (void) |
Zero the counter of number of retries for an entry. |
ns3::ArpCache::ArpCache::Entry::Entry | ( | ArpCache * | arp | ) |
Ipv4Address ns3::ArpCache::ArpCache::Entry::GetIpv4Address | ( | void | ) | const |
Address ns3::ArpCache::ArpCache::Entry::GetMacAddress | ( | void | ) | const |
uint32_t ns3::ArpCache::ArpCache::Entry::GetRetries | ( | void | ) | const |
bool ns3::ArpCache::ArpCache::Entry::IsAlive | ( | void | ) |
bool ns3::ArpCache::ArpCache::Entry::IsDead | ( | void | ) |
bool ns3::ArpCache::ArpCache::Entry::IsExpired | ( | void | ) | const |
bool ns3::ArpCache::ArpCache::Entry::IsWaitReply | ( | void | ) |
void ns3::ArpCache::ArpCache::Entry::MarkAlive | ( | Address | macAddress | ) |
macAddress |
void ns3::ArpCache::ArpCache::Entry::SetIpv4Address | ( | Ipv4Address | destination | ) |
destination | The Ipv4Address for this entry |
waiting |