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 InterfaceEntry *ie)=0 |
Tries to resolve the given network address to a MAC address. More... | |
Static Public Attributes | |
static const simsignal_t | initiatedARPResolutionSignal = cComponent::registerSignal("initiatedARPResolution") |
Signals used to publish ARP state changes. More... | |
static const simsignal_t | completedARPResolutionSignal = cComponent::registerSignal("completedARPResolution") |
static const simsignal_t | failedARPResolutionSignal = cComponent::registerSignal("failedARPResolution") |
|
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, inet::GlobalARP, and inet::GenericARP.
|
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::ARP, inet::GlobalARP, and inet::GenericARP.
Referenced by inet::WiseRoute::handleLowerPacket(), inet::WiseRoute::handleUpperPacket(), inet::IPv4::resolveNextHopMacAddress(), and inet::GenericNetworkProtocol::sendDatagramToOutput().
|
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().