INET Framework for OMNeT++/OMNEST
|
TODO GenericMACAddressCache. More...
#include <GenericARP.h>
Public Member Functions | |
GenericARP () | |
virtual | ~GenericARP () |
virtual int | numInitStages () const override |
virtual MACAddress | resolveL3Address (const L3Address &address, const InterfaceEntry *ie) override |
Tries to resolve the given network address to a MAC address. More... | |
virtual L3Address | getL3AddressFor (const MACAddress &) const override |
Returns the Layer 3 address for the given MAC address. More... | |
Public Member Functions inherited from inet::IARP | |
virtual | ~IARP () |
Protected Member Functions | |
virtual void | initialize (int stage) override |
virtual void | handleMessage (cMessage *msg) override |
MACAddress | mapUnicastAddress (L3Address addr) |
MACAddress | mapMulticastAddress (L3Address addr) |
void | sendPacketToNIC (cMessage *msg, InterfaceEntry *ie, const MACAddress &macAddress, int etherType) |
Private Attributes | |
IInterfaceTable * | ift = nullptr |
Additional Inherited Members | |
Static Public Attributes inherited from inet::IARP | |
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") |
TODO GenericMACAddressCache.
|
inlineoverridevirtual |
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.
Implements inet::IARP.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
protected |
Referenced by resolveL3Address().
|
protected |
Referenced by resolveL3Address().
|
inlineoverridevirtual |
|
overridevirtual |
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.
Implements inet::IARP.
|
protected |
|
private |
Referenced by initialize().