INET Framework for OMNeT++/OMNEST
|
This class provides the abstract interface for different address types. More...
#include <IL3AddressType.h>
Public Member Functions | |
IL3AddressType () | |
virtual | ~IL3AddressType () |
int | getAddressByteLength () const |
virtual int | getAddressBitLength () const =0 |
virtual int | getMaxPrefixLength () const =0 |
virtual L3Address | getUnspecifiedAddress () const =0 |
virtual L3Address | getBroadcastAddress () const =0 |
virtual L3Address | getLinkLocalManetRoutersMulticastAddress () const =0 |
virtual L3Address | getLinkLocalRIPRoutersMulticastAddress () const =0 |
virtual INetworkProtocolControlInfo * | createNetworkProtocolControlInfo () const =0 |
virtual L3Address | getLinkLocalAddress (const InterfaceEntry *ie) const =0 |
Returns the first valid link-local address of the interface, or UNSPECIFIED_ADDRESS if there's none. More... | |
This class provides the abstract interface for different address types.
|
pure virtual |
Implemented in inet::IPv4AddressType, inet::IPv6AddressType, inet::MACAddressType, inet::ModuleIdAddressType, and inet::ModulePathAddressType.
Referenced by inet::tcp::TCP_lwIP::ip_output(), inet::sctp::SCTP::sendAbortFromMain(), inet::AODVRouting::sendAODVPacket(), inet::GPSR::sendBeacon(), inet::UDP::sendDown(), inet::dymo::DYMO::sendDYMOPacket(), inet::IPvXTrafGen::sendPacket(), inet::PingApp::sendPing(), inet::sctp::SCTP::sendShutdownCompleteFromMain(), inet::tcp::TCPSpoof::sendToIP(), inet::tcp::TCP_NSC::sendToIP(), inet::tcp::TCPConnection::sendToIP(), and inet::sctp::SCTPAssociation::sendToIP().
|
pure virtual |
|
inline |
Referenced by inet::GPSR::computeOptionLength().
|
pure virtual |
Implemented in inet::IPv4AddressType, inet::IPv6AddressType, inet::MACAddressType, inet::ModuleIdAddressType, and inet::ModulePathAddressType.
Referenced by inet::ProbabilisticBroadcast::encapsMsg(), inet::Flood::encapsMsg(), inet::AODVRouting::forwardRREQ(), inet::WiseRoute::getRoute(), inet::AODVRouting::handleLinkBreakSendRERR(), inet::AODVRouting::handleRERR(), inet::WiseRoute::handleSelfMessage(), inet::WiseRoute::handleUpperPacket(), inet::AODVRouting::handleWaitForRREP(), inet::AODVRouting::sendHelloMessagesIfNeeded(), inet::AODVRouting::sendRERRWhenNoRouteToForward(), and inet::AODVRouting::startRouteDiscovery().
|
pure virtual |
Returns the first valid link-local address of the interface, or UNSPECIFIED_ADDRESS if there's none.
Implemented in inet::IPv4AddressType, inet::IPv6AddressType, inet::MACAddressType, inet::ModuleIdAddressType, and inet::ModulePathAddressType.
|
pure virtual |
Implemented in inet::IPv4AddressType, inet::IPv6AddressType, inet::MACAddressType, inet::ModuleIdAddressType, and inet::ModulePathAddressType.
Referenced by inet::GPSR::configureInterfaces(), inet::dymo::DYMO::configureInterfaces(), inet::GPSR::sendBeacon(), inet::dymo::DYMO::sendRERR(), inet::dymo::DYMO::sendRREP(), and inet::dymo::DYMO::sendRREQ().
|
pure virtual |
|
pure virtual |
Implemented in inet::IPv4AddressType, inet::IPv6AddressType, inet::MACAddressType, inet::ModuleIdAddressType, and inet::ModulePathAddressType.
Referenced by inet::dymo::DYMO::addSelfNode(), inet::dymo::DYMO::createRERR(), inet::AODVRouting::createRoute(), inet::dymo::DYMO::createRREQ(), and inet::dymo::DYMO::initialize().
|
pure virtual |