|
INET Framework for OMNeT++/OMNEST
|
Represents an Ipv4 ARP module. More...
#include <IArp.h>
Classes | |
| class | Notification |
| Sent in ARP cache change notification signals. More... | |
Public Member Functions | |
| virtual | ~IArp () |
| virtual L3Address | getL3AddressFor (const MacAddress &) const =0 |
| Returns the Layer 3 address for the given MAC address. More... | |
| virtual MacAddress | resolveL3Address (const L3Address &address, const NetworkInterface *ie)=0 |
| Tries to resolve the given network address to a MAC address. More... | |
Static Public Attributes | |
| static const simsignal_t | arpResolutionInitiatedSignal = cComponent::registerSignal("arpResolutionInitiated") |
| Signals used to publish ARP state changes. More... | |
| static const simsignal_t | arpResolutionCompletedSignal = cComponent::registerSignal("arpResolutionCompleted") |
| static const simsignal_t | arpResolutionFailedSignal = cComponent::registerSignal("arpResolutionFailed") |
Represents an Ipv4 ARP module.
|
pure virtual |
Returns the Layer 3 address for the given MAC address.
If it is not available (not in the cache, pending resolution, or already expired), UNSPECIFIED_ADDRESS is returned.
Implemented in inet::Arp, and inet::GlobalArp.
|
pure virtual |
Tries to resolve the given network address to a MAC address.
If the MAC address is not yet resolved it returns an unspecified address and starts an address resolution procedure. A signal is emitted when the address resolution procedure terminates.
Implemented in inet::GlobalArp, and inet::Arp.
|
static |
Referenced by inet::Ipv4::initialize(), inet::Ipv4::receiveSignal(), and inet::Arp::updateArpCache().
|
static |
Referenced by inet::Ipv4::initialize(), inet::Ipv4::receiveSignal(), and inet::Arp::requestTimedOut().
|
static |
Signals used to publish ARP state changes.
Referenced by inet::Arp::initiateArpResolution().