Interface for modules which assign L2 and L3 addresses for modules. More...
#include <AddressingInterface.h>
Inherited by ArpHost, and BaseArp.
Public Member Functions | |
virtual int | myMacAddr (cModule *mac)=0 |
Returns the L2 address for the passed mac. | |
virtual int | myNetwAddr (cModule *netw)=0 |
Returns the L3 address for the passed net. |
Interface for modules which assign L2 and L3 addresses for modules.
This interface is implemented by ARP modules which rely on a certain addressing scheme to work.
Definition at line 30 of file AddressingInterface.h.