INET Framework for OMNeT++/OMNEST
|
Interface entry for the interface table in IInterfaceTable. More...
#include <InterfaceEntry.h>
Public Types | |
enum | State { UP, DOWN, GOING_UP, GOING_DOWN } |
enum | { F_CARRIER, F_STATE, F_NAME, F_NODE_IN_GATEID, F_NODE_OUT_GATEID, F_NETW_GATEIDX, F_LOOPBACK, F_BROADCAST, F_MULTICAST, F_POINTTOPOINT, F_DATARATE, F_MTU, F_MACADDRESS, F_TOKEN, F_IPV4_DATA, F_IPV6_DATA, F_GENERIC_DATA, F_ISIS_DATA, F_TRILL_DATA, F_IEEE8021D_DATA } |
Public Member Functions | |
virtual void | setInterfaceTable (IInterfaceTable *t) |
virtual void | setInterfaceId (int id) |
virtual void | resetInterface () |
InterfaceEntry (cModule *module) | |
virtual | ~InterfaceEntry () |
virtual std::string | info () const override |
virtual std::string | detailedInfo () const override |
virtual std::string | getFullPath () const override |
IInterfaceTable * | getInterfaceTable () const |
Returns the IInterfaceTable this interface is in, or nullptr. More... | |
State | getState () const |
Returns the requested state of this interface. More... | |
bool | isUp () const |
Returns the combined state of the carrier and the interface requested state. More... | |
const ModuleIdAddress | getModuleIdAddress () const |
const ModulePathAddress | getModulePathAddress () const |
const L3Address | getNetworkAddress () const |
virtual void | joinMulticastGroup (const L3Address &address) const |
virtual void | changeMulticastGroupMembership (const L3Address &multicastAddress, McastSourceFilterMode oldFilterMode, const std::vector< L3Address > &oldSourceList, McastSourceFilterMode newFilterMode, const std::vector< L3Address > &newSourceList) |
Field getters. Note they are non-virtual and inline, for performance reasons. | |
int | getInterfaceId () const |
cModule * | getInterfaceModule () const |
int | getNetworkLayerGateIndex () const |
int | getNodeOutputGateId () const |
int | getNodeInputGateId () const |
int | getMTU () const |
bool | hasCarrier () const |
bool | isBroadcast () const |
bool | isMulticast () const |
bool | isPointToPoint () const |
bool | isLoopback () const |
double | getDatarate () const |
const MACAddress & | getMacAddress () const |
const InterfaceToken & | getInterfaceToken () const |
Field setters | |
virtual void | setName (const char *s) override |
virtual void | setNetworkLayerGateIndex (int i) |
virtual void | setNodeOutputGateId (int i) |
virtual void | setNodeInputGateId (int i) |
virtual void | setMtu (int m) |
virtual void | setState (State s) |
virtual void | setCarrier (bool b) |
virtual void | setBroadcast (bool b) |
virtual void | setMulticast (bool b) |
virtual void | setPointToPoint (bool b) |
virtual void | setLoopback (bool b) |
virtual void | setDatarate (double d) |
virtual void | setMACAddress (const MACAddress &addr) |
virtual void | setInterfaceToken (const InterfaceToken &t) |
Accessing protocol-specific interface data. Note methods are non-virtual, for performance reasons. | |
IPv4InterfaceData * | ipv4Data () const |
IPv4Address | getIPv4Address () const |
IPv6InterfaceData * | ipv6Data () const |
GenericNetworkProtocolInterfaceData * | getGenericNetworkProtocolData () const |
TRILLInterfaceData * | trillData () const |
ISISInterfaceData * | isisData () const |
Ieee8021dInterfaceData * | ieee8021dData () const |
Installing protocol-specific interface data | |
virtual void | setIPv4Data (IPv4InterfaceData *p) |
virtual void | setIPv6Data (IPv6InterfaceData *p) |
virtual void | setGenericNetworkProtocolData (GenericNetworkProtocolInterfaceData *p) |
virtual void | setTRILLInterfaceData (TRILLInterfaceData *p) |
virtual void | setISISInterfaceData (ISISInterfaceData *p) |
virtual void | setIeee8021dInterfaceData (Ieee8021dInterfaceData *p) |
access to the cost process estimation | |
virtual bool | setEstimateCostProcess (int, MacEstimateCostProcess *p) |
virtual MacEstimateCostProcess * | getEstimateCostProcess (int) |
Protected Member Functions | |
virtual void | configChanged (int fieldId) |
virtual void | stateChanged (int fieldId) |
virtual void | changed (simsignal_t signalID, int fieldId) |
Protected Attributes | |
IInterfaceTable * | ownerp = nullptr |
IInterfaceTable that contains this interface, or nullptr. More... | |
cModule * | interfaceModule = nullptr |
interface module, or nullptr More... | |
int | interfaceId = -1 |
identifies the interface in the IInterfaceTable More... | |
int | nwLayerGateIndex = -1 |
index of ifIn[],ifOut[] gates to that interface (or -1 if virtual interface) More... | |
int | nodeOutputGateId = -1 |
id of the output gate of this host/router (or -1 if this is a virtual interface) More... | |
int | nodeInputGateId = -1 |
id of the input gate of this host/router (or -1 if this is a virtual interface) More... | |
int | mtu = 0 |
Maximum Transmission Unit (e.g. 1500 on Ethernet); 0 means infinite (i.e. never fragment) More... | |
State | state = DOWN |
requested interface state, similar to Linux ifup/ifdown More... | |
bool | carrier = false |
current state (up/down) of the physical layer, e.g. Ethernet cable More... | |
bool | broadcast = false |
interface supports broadcast More... | |
bool | multicast = false |
interface supports multicast More... | |
bool | pointToPoint = false |
interface is point-to-point link More... | |
bool | loopback = false |
interface is loopback interface More... | |
double | datarate = 0 |
data rate in bit/s More... | |
MACAddress | macAddr |
link-layer address (for now, only IEEE 802 MAC addresses are supported) More... | |
InterfaceToken | token |
for IPv6 stateless autoconfig (RFC 1971), interface identifier (RFC 2462) More... | |
IPv4InterfaceData * | ipv4data = nullptr |
IPv4-specific interface info (IPv4 address, etc) More... | |
IPv6InterfaceData * | ipv6data = nullptr |
IPv6-specific interface info (IPv6 addresses, etc) More... | |
GenericNetworkProtocolInterfaceData * | genericNetworkProtocolData = nullptr |
GenericNetworkProtocol-specific interface info (Address, etc) More... | |
ISISInterfaceData * | isisdata = nullptr |
ISIS-specific interface info. More... | |
TRILLInterfaceData * | trilldata = nullptr |
TRILL-specific interface info. More... | |
Ieee8021dInterfaceData * | ieee8021ddata = nullptr |
std::vector< MacEstimateCostProcess * > | estimateCostProcessArray |
Private Member Functions | |
InterfaceEntry (const InterfaceEntry &obj) | |
InterfaceEntry & | operator= (const InterfaceEntry &obj) |
Friends | |
class | InterfaceProtocolData |
Interface entry for the interface table in IInterfaceTable.
anonymous enum |
|
private |
inet::InterfaceEntry::InterfaceEntry | ( | cModule * | module | ) |
|
virtual |
|
protectedvirtual |
Referenced by inet::InterfaceProtocolData::changed().
|
virtual |
Referenced by inet::UDP::blockMulticastSources(), inet::UDP::joinMulticastSources(), inet::UDP::leaveMulticastGroups(), inet::UDP::leaveMulticastSources(), inet::UDP::setMulticastSourceFilter(), and inet::UDP::unblockMulticastSources().
|
inlineprotectedvirtual |
|
overridevirtual |
|
inline |
|
virtual |
|
overridevirtual |
Referenced by inet::GenericNetworkConfigurator::addStaticRoutes(), inet::IPv4NetworkConfigurator::addStaticRoutes(), inet::IPv4NetworkConfigurator::assignAddresses(), inet::IPv4NetworkConfigurator::collectCompatibleInterfaces(), inet::IPv4NetworkConfigurator::dumpLinks(), inet::L3AddressResolver::getAddressFrom(), inet::L2NetworkConfigurator::InterfaceInfo::getFullPath(), inet::NetworkConfiguratorBase::InterfaceInfo::getFullPath(), and getFullPath().
|
inline |
Referenced by inet::GenericNetworkConfigurator::addStaticRoutes(), inet::GenericRoutingTable::configureRouterId(), inet::InterfaceTable::findInterfaceByAddress(), inet::GenericRoutingTable::getInterfaceByAddress(), inet::GenericRoute::info(), inet::GenericRoutingTable::isLocalAddress(), and inet::GenericNetworkProtocol::routePacket().
|
inline |
Referenced by inet::PIMSM::addNewRouteG(), inet::PIMSM::addNewRouteSG(), inet::FlatNetworkConfigurator6::addOwnAdvPrefixRoutes(), inet::FlatNetworkConfigurator6::addStaticRoutes(), inet::UDP::blockMulticastSources(), inet::InterfaceTable::collectMulticastGroups(), inet::IPv6RoutingTable::configureInterfaceForIPv6(), inet::xMIPv6::createAndSendBAMessage(), inet::xMIPv6::createAndSendBRRMessage(), inet::xMIPv6::createAndSendBUMessage(), inet::IPv6NeighbourDiscovery::createAndSendNSPacket(), inet::IPv6NeighbourDiscovery::createAndSendRAPacket(), inet::IPv6NeighbourDiscovery::createAndSendRSPacket(), inet::xMIPv6::createBCEntryExpiryTimer(), inet::xMIPv6::createBRRTimer(), inet::xMIPv6::createBULEntryExpiryTimer(), inet::xMIPv6::createBUTimer(), inet::visualizer::Ieee80211CanvasVisualizer::createIeee80211Visualization(), inet::visualizer::InterfaceTableCanvasVisualizer::createInterfaceVisualization(), inet::IPv6NeighbourDiscovery::createRATimer(), inet::xMIPv6::createTestInitTimer(), inet::xMIPv6::createTokenEntryExpiryTimer(), inet::CloudDelayerBase::datagramForwardHook(), inet::GenericNetworkProtocol::decapsulate(), inet::IPv6::decapsulate(), inet::IPv4::decapsulate(), inet::InterfaceTable::deleteInterface(), inet::IPv6NeighbourDiscovery::determineNextHop(), inet::IPv6::determineOutputInterface(), inet::IPv6NeighbourDiscovery::fetchAdvIfEntry(), inet::xMIPv6::fetchBUTransmitIfEntry(), inet::IPv6NeighbourDiscovery::fetchRDEntry(), inet::IGMPv2::getHostInterfaceData(), inet::IGMPv3::getHostInterfaceData(), inet::visualizer::Ieee80211VisualizerBase::getIeee80211Visualization(), inet::PIMDM::getIncomingInterface(), inet::PIMSM::getIncomingInterface(), inet::PIMInterface::getInterfaceId(), inet::PIMNeighbor::getInterfaceId(), inet::RIPRouting::getInterfaceMetric(), inet::visualizer::InterfaceTableVisualizerBase::getInterfaceVisualization(), inet::IGMPv2::getRouterInterfaceData(), inet::IGMPv3::getRouterInterfaceData(), inet::xMIPv6::handleBCExpiry(), inet::xMIPv6::handleBULExpiry(), inet::IPv4::handleIncomingARPPacket(), inet::IPv4::handleIncomingDatagram(), inet::xMIPv6::handleTokenExpiry(), inet::PIMSM::IamDR(), inet::IPv6RoutingTable::initialize(), inet::LDP::initialize(), inet::IPv6NeighbourDiscovery::initiateDAD(), inet::IPv6NeighbourDiscovery::initiateRouterDiscovery(), inet::PIMSM::DownstreamInterface::isInInheritedOlist(), inet::UDP::joinMulticastSources(), inet::UDP::leaveMulticastSources(), inet::ospf::OSPFConfigReader::loadExternalRoute(), inet::ospf::OSPFConfigReader::loadHostRoute(), inet::ospf::OSPFConfigReader::loadInterfaceParameters(), inet::PIMDM::multicastPacketArrivedOnRpfInterface(), inet::PIMSM::multicastPacketForwarded(), inet::PIMDM::multicastReceiverAdded(), inet::PIMSM::multicastReceiverAdded(), inet::PIMDM::multicastReceiverRemoved(), inet::PIMSM::multicastReceiverRemoved(), inet::PIMDM::processAssert(), inet::xMIPv6::processBAMessage(), inet::DHCPServer::processDHCPMessage(), inet::PIMDM::processGraft(), inet::PIMDM::processGraftPacket(), inet::PIMDM::processJoin(), inet::PIMSM::processJoinG(), inet::PIMSM::processJoinSG(), inet::IPv6NeighbourDiscovery::processNAPacket(), inet::IPv6NeighbourDiscovery::processNSWithSpecifiedSrcAddr(), inet::PIMDM::processPrune(), inet::PIMSM::processPruneG(), inet::PIMSM::processPrunePendingTimer(), inet::PIMSM::processPruneSG(), inet::IPv6NeighbourDiscovery::processRAForRouterUpdates(), inet::IPv6NeighbourDiscovery::processRAPrefixInfo(), inet::dymo::DYMO::processRERR(), inet::IPv4::reassembleAndDeliverFinish(), inet::IPv6RoutingTable::receiveSignal(), inet::IGMPv2::receiveSignal(), inet::PIMDM::receiveSignal(), inet::RIPRouting::receiveSignal(), inet::IGMPv3::receiveSignal(), inet::PIMSM::receiveSignal(), inet::PIMDM::Route::removeDownstreamInterface(), inet::ospf::OSPFConfigReader::resolveInterfaceName(), inet::PIMSM::restartExpiryTimer(), inet::xMIPv6::returningHome(), inet::IPv6::routePacket(), inet::IPv6NeighbourDiscovery::routersUnreachabilityDetection(), inet::IPv4::routeUnicastPacket(), inet::PIMDM::rpfInterfaceHasChanged(), inet::AODVRouting::sendAODVPacket(), inet::PIMDM::sendAssertPacket(), inet::dymo::DYMO::sendDYMOPacket(), inet::RIPRouting::sendPacket(), inet::ARP::sendPacketToNIC(), inet::xMIPv6::sendPeriodicBRR(), inet::PIMSM::sendPIMAssert(), inet::PIMSM::sendPIMJoin(), inet::PIMSM::sendPIMPrune(), inet::PIMSM::sendPIMRegisterNull(), inet::PIMSM::sendPIMRegisterStop(), inet::IGMPv3::sendQueryToIP(), inet::IGMPv3::sendReportToIP(), inet::IPv6NeighbourDiscovery::sendSolicitedNA(), inet::PIMDM::sendStateRefreshPacket(), inet::xMIPv6::sendTestInit(), inet::IGMPv2::sendToIP(), inet::DHCPServer::sendToUDP(), inet::DHCPClient::sendToUDP(), inet::IPv6NeighbourDiscovery::sendUnsolicitedNA(), inet::UDP::setMulticastSourceFilter(), inet::LMacLayer::setUpControlInfo(), inet::BMacLayer::setUpControlInfo(), inet::UDP::unblockMulticastSources(), inet::PIMDM::unroutableMulticastPacketArrived(), inet::PIMSM::unroutableMulticastPacketArrived(), and inet::PIMSM::updateDesignatedRouterAddress().
|
inline |
Referenced by inet::NetworkConfiguratorBase::computeWirelessLinkWeight(), inet::GenericRoutingTable::configureInterface(), inet::L2NetworkConfigurator::configureInterface(), inet::InterfaceTable::discoverConnectingGates(), and inet::NetworkConfiguratorBase::getWirelessId().
|
inline |
Returns the IInterfaceTable this interface is in, or nullptr.
Referenced by inet::IPv4NetworkConfigurator::findInterfaceOnLinkByNode(), inet::NetworkConfiguratorBase::getWirelessId(), inet::IPv6InterfaceData::joinMulticastGroup(), inet::IPv6InterfaceData::leaveMulticastGroup(), inet::InterfaceMatcher::linkContainsMatchingHost(), inet::IPv4NetworkConfigurator::linkContainsMatchingHostExcept(), inet::InterfaceMatcher::Selector::matches(), inet::NetworkConfiguratorBase::InterfaceMatcher::matches(), inet::IPv4NetworkConfigurator::readInterfaceConfiguration(), and inet::IPv4NetworkConfigurator::readMulticastGroupConfiguration().
|
inline |
Referenced by inet::IPv6NeighbourDiscovery::assignLinkLocalAddress(), inet::IPv6RoutingTable::assignRequiredNodeAddresses(), and inet::FlatNetworkConfigurator6::configureAdvPrefixes().
IPv4Address inet::InterfaceEntry::getIPv4Address | ( | ) | const |
|
inline |
Referenced by inet::GenericRoutingTable::configureInterface(), inet::IPv6NeighbourDiscovery::createAndSendNSPacket(), inet::IPv6NeighbourDiscovery::createAndSendRAPacket(), inet::IPv6NeighbourDiscovery::createAndSendRSPacket(), inet::InterfaceTable::findInterfaceByAddress(), inet::L3AddressResolver::getInterfaceMACAddress(), inet::Ieee8021dRelay::initialize(), inet::DHCPClient::initialize(), inet::GlobalARP::initialize(), inet::ieee80211::Ieee80211Mac::isInterfaceRegistered(), inet::GenericARP::mapUnicastAddress(), inet::ARP::sendARPRequest(), inet::IPv4::sendDatagramToOutput(), inet::IPv6NeighbourDiscovery::sendSolicitedNA(), inet::IPv6NeighbourDiscovery::sendUnsolicitedNA(), inet::STPBase::start(), and inet::Ieee8021dRelay::start().
|
inline |
Referenced by inet::InterfaceTable::findInterfaceByAddress(), and inet::L3AddressResolver::getInterfaceModuleIdAddress().
|
inline |
Referenced by inet::InterfaceTable::findInterfaceByAddress(), and inet::L3AddressResolver::getInterfaceModulePathAddress().
|
inline |
Referenced by inet::NetworkConfiguratorBase::computeWiredLinkWeight(), inet::NetworkConfiguratorBase::computeWirelessLinkWeight(), inet::IPv6::fragmentAndSend(), inet::IPv4::fragmentAndSend(), inet::sctp::SCTPAssociation::pmStartPathManagement(), inet::rtp::RTP::resolveMTU(), inet::sctp::SCTPPathVariables::SCTPPathVariables(), inet::GenericNetworkProtocol::sendDatagramToOutput(), inet::RIPRouting::sendRoutes(), and inet::ospf::Interface::setIfIndex().
const L3Address inet::InterfaceEntry::getNetworkAddress | ( | ) | const |
Referenced by inet::ProbabilisticBroadcast::initialize(), inet::WiseRoute::initialize(), and inet::Flood::initialize().
|
inline |
Referenced by inet::FlatNetworkConfigurator6::configureAdvPrefixes(), inet::LDP::rebuildFecList(), inet::GenericNetworkProtocol::sendDatagramToOutput(), inet::IPv6::sendDatagramToOutput(), inet::NetworkProtocolBase::sendDown(), and inet::IPv4::sendPacketToNIC().
|
inline |
Referenced by inet::InterfaceTable::getInterfaceByInterfaceModule(), inet::MatrixCloudDelayer::getPathOfConnectedNodeOnIfaceID(), and inet::L2NetworkConfigurator::readInterfaceConfiguration().
|
inline |
Referenced by inet::L3AddressResolver::addressOf(), inet::IPv6NeighbourDiscovery::canServeWirelessNodes(), inet::NetworkConfiguratorBase::extractDeviceNeighbors(), inet::L2NetworkConfigurator::extractTopology(), inet::NetworkConfiguratorBase::extractTopology(), inet::InterfaceTable::getInterfaceByInterfaceModule(), inet::ospf::OSPFConfigReader::getInterfaceByXMLAttributesOf(), inet::visualizer::InterfaceTableCanvasVisualizer::getOutputGate(), inet::MatrixCloudDelayer::getPathOfConnectedNodeOnIfaceID(), inet::TED::initializeTED(), inet::InterfaceMatcher::linkContainsMatchingHost(), and inet::InterfaceTable::updateLinkDisplayString().
|
inline |
Returns the requested state of this interface.
|
inline |
Referenced by inet::RSTP::receiveSignal().
|
inline |
Referenced by inet::L2NetworkConfigurator::configureInterface(), inet::STPBase::getPortInterfaceData(), inet::Ieee8021dRelay::getPortInterfaceData(), inet::STPTester::isForwarding(), and inet::L2NodeConfigurator::prepareInterface().
|
overridevirtual |
Referenced by inet::IPv4NetworkConfigurator::dumpAddresses(), and inet::operator<<().
|
inline |
Referenced by inet::UDP::addMulticastAddressToInterface(), inet::FlatNetworkConfigurator::assignAddresses(), inet::DHCPClient::bindLease(), inet::DHCPClient::chooseInterface(), inet::InterfaceTable::collectMulticastGroups(), inet::IPv4NetworkConfigurator::configureInterface(), inet::IPv4RoutingTable::configureRouterId(), inet::IPv4NetworkConfigurator::createInterfaceInfo(), inet::bgp::BGPRouting::createSession(), inet::sctp::SCTPNatHook::datagramForwardHook(), inet::IPv4NetworkConfigurator::dumpConfig(), inet::RSVP::evalNextHopInterface(), inet::L3AddressResolver::findHostWithAddress(), inet::InterfaceTable::findInterfaceByAddress(), inet::IPv4RoutingTable::findInterfaceByLocalBroadcastAddress(), inet::bgp::BGPRouting::findMyAS(), inet::IPv4::forwardMulticastPacket(), inet::IPv4::fragmentAndSend(), inet::PingApp::getAllAddresses(), inet::IPv4RoutingTable::getInterfaceByAddress(), inet::L3AddressResolver::getInterfaceIPv4Address(), inet::PIMBase::handleNodeStart(), inet::PIMSM::IamDR(), inet::IPv4Route::info(), inet::LinkStateRouting::initialize(), inet::GlobalARP::initialize(), inet::IGMPv3::initialize(), inet::TED::initializeTED(), inet::bgp::BGPRouting::isInInterfaceTable(), inet::IPv4RoutingTable::isLocalBroadcastAddress(), inet::IPv4RoutingTable::isLocalMulticastAddress(), inet::InterfaceTable::isNeighborAddress(), inet::ospf::OSPFConfigReader::joinMulticastGroups(), inet::PIMDM::multicastPacketArrivedOnNonRpfInterface(), inet::PIMSM::multicastPacketArrivedOnNonRpfInterface(), inet::bgp::BGPRouting::openTCPConnectionToPeer(), inet::RoutingTableParser::parseInterfaces(), inet::RoutingTableParser::parseMulticastGroups(), inet::ICMP::possiblyLocalBroadcast(), inet::IPv4NodeConfigurator::prepareInterface(), inet::IPv4::preroutingFinish(), inet::IPv4RoutingTable::printRoutingTable(), inet::PIMDM::processAssert(), inet::PIMSM::processAssertG(), inet::PIMSM::processAssertSG(), inet::DHCPServer::processDHCPMessage(), inet::PIMDM::processGraftAckPacket(), inet::PIMDM::processGraftPacket(), inet::sctp::SCTPAssociation::processInitArrived(), inet::PIMDM::processJoin(), inet::PIMSM::processJoinG(), inet::PIMSM::processJoinSG(), inet::IGMPv2::processLeaveTimer(), inet::PIMDM::processPrune(), inet::PIMSM::processPruneG(), inet::PIMSM::processPrunePendingTimer(), inet::PIMSM::processPruneSG(), inet::IGMPv3::processQuery(), inet::IGMPv3::processReport(), inet::IGMPv3::processRouterGroupTimer(), inet::IGMPv3::processRouterSourceTimer(), inet::PIMDM::processStateRefreshTimer(), inet::IGMPv2::processV2Report(), inet::LDP::rebuildFecList(), inet::RoutingTableRecorder::recordInterfaceChange(), inet::IPv4::resolveNextHopMacAddress(), inet::DHCPServer::sendACK(), inet::ARP::sendARPRequest(), inet::IPv4::sendDatagramToOutput(), inet::sctp::SCTPAssociation::sendInit(), inet::DHCPServer::sendNAK(), inet::DHCPServer::sendOffer(), inet::ospf::Interface::setIfIndex(), inet::HostAutoConfigurator::setupNetworkLayer(), inet::DHCPServer::startApp(), inet::DHCPClient::unbindLease(), inet::PIMDM::unroutableMulticastPacketArrived(), inet::PIMSM::updateDesignatedRouterAddress(), inet::InterfaceTable::updateLinkDisplayString(), inet::IPv4RoutingTable::updateNetmaskRoutes(), and inet::bgp::BGPRouting::updateSendProcess().
|
inline |
Referenced by inet::UDP::addMulticastAddressToInterface(), inet::FlatNetworkConfigurator6::addOwnAdvPrefixRoutes(), inet::FlatNetworkConfigurator6::addStaticRoutes(), inet::IPv6NeighbourDiscovery::assignLinkLocalAddress(), inet::IPv6RoutingTable::assignRequiredNodeAddresses(), inet::xMIPv6::cancelEntries(), inet::FlatNetworkConfigurator6::configureAdvPrefixes(), inet::IPv6RoutingTable::configureInterfaceFromXML(), inet::xMIPv6::createAndSendBRRMessage(), inet::xMIPv6::createAndSendBUMessage(), inet::IPv6NeighbourDiscovery::createAndSendRAPacket(), inet::IPv6NeighbourDiscovery::createAndSendRSPacket(), inet::xMIPv6::createBUTimer(), inet::xMIPv6::createDeregisterBUTimer(), inet::IPv6NeighbourDiscovery::createRATimer(), inet::xMIPv6::createTestInitTimer(), inet::IPv6Tunneling::decapsulateDatagram(), inet::IPv6::endService(), inet::L3AddressResolver::findHostWithAddress(), inet::InterfaceTable::findInterfaceByAddress(), inet::IPv6::fragmentAndSend(), inet::PingApp::getAllAddresses(), inet::IPv6RoutingTable::getHomeAddress(), inet::IPv6RoutingTable::getInterfaceByAddress(), inet::L3AddressResolver::getInterfaceIPv6Address(), inet::L3AddressResolver::getIPv6AddressFrom(), inet::IPv6AddressType::getLinkLocalAddress(), inet::GPSR::getSelfAddress(), inet::xMIPv6::handleBULExpiry(), inet::xMIPv6::handleTokenExpiry(), inet::IPv6RoutingTable::initialize(), inet::IPv6NeighbourDiscovery::initialize(), inet::IPv6NeighbourDiscovery::initiateAddressResolution(), inet::IPv6NeighbourDiscovery::initiateDAD(), inet::xMIPv6::initiateMIPv6Protocol(), inet::IPv6NeighbourDiscovery::initiateNeighbourUnreachabilityDetection(), inet::IPv6NeighbourDiscovery::initiateRouterDiscovery(), inet::BindingUpdateList::isCareOfTokenAvailable(), inet::IPv6RoutingTable::isHomeAddress(), inet::BindingUpdateList::isHomeTokenAvailable(), inet::IPv6RoutingTable::isLocalAddress(), inet::InterfaceTable::isNeighborAddress(), inet::IPv6RoutingTable::isOnLinkAddress(), inet::IPv6NeighbourDiscovery::makeTentativeAddressPermanent(), inet::IPv6NeighbourDiscovery::processARTimeout(), inet::xMIPv6::processBAMessage(), inet::xMIPv6::processCoTMessage(), inet::IPv6NeighbourDiscovery::processDADTimeout(), inet::xMIPv6::processHoTMessage(), inet::sctp::SCTPAssociation::processInitArrived(), inet::IPv6NeighbourDiscovery::processNAForIncompleteNCEState(), inet::IPv6NeighbourDiscovery::processNAForOtherNCEStates(), inet::IPv6NeighbourDiscovery::processNAPacket(), inet::IPv6NeighbourDiscovery::processNSPacket(), inet::IPv6NeighbourDiscovery::processRAForRouterUpdates(), inet::IPv6NeighbourDiscovery::processRAPacket(), inet::IPv6NeighbourDiscovery::processRAPrefixInfo(), inet::IPv6NeighbourDiscovery::processRAPrefixInfoForAddrAutoConf(), inet::IPv6NeighbourDiscovery::processRDTimeout(), inet::IPv6NeighbourDiscovery::processRSPacket(), inet::BindingUpdateList::recentlySentCOTI(), inet::BindingUpdateList::recentlySentHOTI(), inet::xMIPv6::resetBUIfEntry(), inet::IPv6::resolveMACAddressAndSendPacket(), inet::xMIPv6::returningHome(), inet::sctp::SCTPAssociation::sendInit(), inet::xMIPv6::sendPeriodicBU(), inet::IPv6NeighbourDiscovery::sendPeriodicRA(), inet::IPv6NeighbourDiscovery::sendSolicitedNA(), inet::xMIPv6::sendTestInit(), inet::IPv6NeighbourDiscovery::sendUnsolicitedNA(), inet::xMIPv6::triggerRouteOptimization(), inet::InterfaceTable::updateLinkDisplayString(), inet::xMIPv6::validateBAck(), and inet::xMIPv6::validateCoTMessage().
|
inline |
Referenced by inet::IPv4RoutingTable::findInterfaceByLocalBroadcastAddress(), inet::IPv4RoutingTable::isLocalBroadcastAddress(), inet::IPv4::routeUnicastPacket(), inet::GenericNetworkProtocol::sendDatagramToOutput(), and inet::IPv4::sendDatagramToOutput().
|
inline |
|
inline |
Referenced by inet::FlatNetworkConfigurator::addDefaultRoutes(), inet::FlatNetworkConfigurator6::addOwnAdvPrefixRoutes(), inet::FlatNetworkConfigurator6::addStaticRoutes(), inet::GenericNetworkConfigurator::addStaticRoutes(), inet::IPv4NetworkConfigurator::addStaticRoutes(), inet::FlatNetworkConfigurator::assignAddresses(), inet::IPv6NeighbourDiscovery::assignLinkLocalAddress(), inet::IPv6RoutingTable::assignRequiredNodeAddresses(), inet::STPBase::chooseInterface(), inet::Ieee8021dRelay::chooseInterface(), inet::DHCPServer::chooseInterface(), inet::DHCPClient::chooseInterface(), inet::FlatNetworkConfigurator6::configureAdvPrefixes(), inet::IPv6RoutingTable::configureInterfaceForIPv6(), inet::PIMInterfaceTable::configureInterfaces(), inet::RIPRouting::configureInterfaces(), inet::GenericRoutingTable::configureRouterId(), inet::IPv4RoutingTable::configureRouterId(), inet::IPv4::datagramLocalOut(), inet::NetworkConfiguratorBase::determineGatewayForLink(), inet::NetworkInfo::dumpRoutingInfo(), inet::NetworkConfiguratorBase::extractDeviceNeighbors(), inet::NetworkConfiguratorBase::extractTopology(), inet::NetworkConfiguratorBase::extractWirelessNeighbors(), inet::PingApp::getAllAddresses(), inet::L3AddressResolver::getIPv4AddressFrom(), inet::L3AddressResolver::getIPv6AddressFrom(), inet::L3AddressResolver::getMACAddressFrom(), inet::L3AddressResolver::getModuleIdAddressFrom(), inet::L3AddressResolver::getModulePathAddressFrom(), inet::GPSR::getSelfAddress(), inet::GlobalARP::initialize(), inet::IPv6RoutingTable::initialize(), inet::IPv6NeighbourDiscovery::initialize(), inet::TED::initializeTED(), inet::xMIPv6::initiateMIPv6Protocol(), inet::RIPRouting::isLocalInterfaceRoute(), inet::RIPRouting::isLoopbackInterfaceRoute(), inet::IPv6NeighbourDiscovery::makeTentativeAddressPermanent(), inet::IPv4NodeConfigurator::prepareInterface(), inet::IPv4::preroutingFinish(), inet::PIMInterfaceTable::receiveSignal(), inet::RIPRouting::receiveSignal(), inet::RIPInterfaceEntry::RIPInterfaceEntry(), inet::GenericNetworkProtocol::routeMulticastPacket(), inet::IPv6::routeMulticastPacket(), inet::NetworkProtocolBase::sendDown(), and inet::HostAutoConfigurator::setupNetworkLayer().
|
inline |
Referenced by inet::UDP::addMulticastAddressToInterface(), inet::UDP::blockMulticastSources(), inet::IPv4RoutingTable::configureInterfaceForIPv4(), inet::IPv6RoutingTable::configureInterfaceForIPv6(), inet::PIMInterfaceTable::configureInterfaces(), inet::GPSR::configureInterfaces(), inet::dymo::DYMO::configureInterfaces(), inet::RIPRouting::configureInterfaces(), inet::IGMPv2::initialize(), inet::LDP::initialize(), inet::IGMPv3::initialize(), inet::IPv4RoutingTable::internalAddMulticastRoute(), inet::ospf::OSPFConfigReader::joinMulticastGroups(), inet::UDP::joinMulticastGroups(), inet::UDP::joinMulticastSources(), inet::UDP::leaveMulticastGroups(), inet::UDP::leaveMulticastSources(), inet::IGMPv2::multicastGroupJoined(), inet::IGMPv2::multicastGroupLeft(), inet::IPv4NodeConfigurator::prepareInterface(), inet::IGMPv2::processLeave(), inet::IGMPv2::processQuery(), inet::IGMPv3::processQuery(), inet::IGMPv3::processReport(), inet::IGMPv2::processV2Report(), inet::IPv4NetworkConfigurator::readManualMulticastRouteConfiguration(), inet::PIMInterfaceTable::receiveSignal(), inet::IGMPv2::receiveSignal(), inet::RIPRouting::receiveSignal(), inet::IGMPv3::receiveSignal(), inet::RIPInterfaceEntry::RIPInterfaceEntry(), inet::IGMPv3::sendQueryToIP(), inet::IGMPv3::sendReportToIP(), inet::IGMPv2::sendToIP(), inet::UDP::setMulticastSourceFilter(), and inet::UDP::unblockMulticastSources().
|
inline |
Referenced by inet::IPv6NeighbourDiscovery::processIPv6Datagram(), and inet::IPv6::resolveMACAddressAndSendPacket().
|
inline |
Returns the combined state of the carrier and the interface requested state.
Referenced by inet::IPv6RoutingTable::receiveSignal(), inet::RIPRouting::receiveSignal(), and inet::PIMDM::rpfInterfaceHasChanged().
|
virtual |
Referenced by inet::UDP::addMulticastAddressToInterface(), inet::GPSR::configureInterfaces(), and inet::dymo::DYMO::configureInterfaces().
|
private |
|
virtual |
|
inlinevirtual |
Referenced by inet::IdealMac::createInterfaceEntry(), inet::ieee80211::Ieee80211Mac::createInterfaceEntry(), inet::LMacLayer::createInterfaceEntry(), inet::CsmaCaMac::createInterfaceEntry(), inet::BMacLayer::createInterfaceEntry(), inet::EtherMACBase::createInterfaceEntry(), inet::CSMA::createInterfaceEntry(), inet::RoutingTableParser::parseInterfaces(), and inet::HostAutoConfigurator::setupNetworkLayer().
|
inlinevirtual |
Referenced by inet::PPP::createInterfaceEntry(), inet::EtherMACBase::readChannelParameters(), and inet::PPP::refreshOutGateConnection().
|
inlinevirtual |
Referenced by inet::IdealMac::createInterfaceEntry(), inet::PPP::createInterfaceEntry(), inet::LMacLayer::createInterfaceEntry(), inet::CsmaCaMac::createInterfaceEntry(), inet::BMacLayer::createInterfaceEntry(), inet::CSMA::createInterfaceEntry(), inet::EtherMACBase::readChannelParameters(), and inet::PPP::refreshOutGateConnection().
|
virtual |
|
virtual |
Referenced by inet::GenericRoutingTable::configureInterface().
|
virtual |
Referenced by inet::L2NodeConfigurator::prepareInterface().
|
inlinevirtual |
Referenced by inet::InterfaceTable::addInterface().
|
inlinevirtual |
Referenced by inet::InterfaceTable::addInterface().
|
inlinevirtual |
Referenced by inet::IdealMac::createInterfaceEntry(), inet::ieee80211::Ieee80211Mac::createInterfaceEntry(), inet::PPP::createInterfaceEntry(), inet::LMacLayer::createInterfaceEntry(), inet::CsmaCaMac::createInterfaceEntry(), inet::BMacLayer::createInterfaceEntry(), inet::EtherMACBase::createInterfaceEntry(), and inet::CSMA::createInterfaceEntry().
|
virtual |
Referenced by inet::IPv4RoutingTable::configureInterfaceForIPv4(), inet::IPv4RoutingTable::configureLoopbackForIPv4(), and inet::IPv4NodeConfigurator::prepareInterface().
|
virtual |
Referenced by inet::IPv6RoutingTable::configureInterfaceForIPv6().
|
virtual |
|
inlinevirtual |
Referenced by inet::Loopback::createInterfaceEntry().
|
inlinevirtual |
Referenced by inet::IdealMac::createInterfaceEntry(), inet::ieee80211::Ieee80211Mac::createInterfaceEntry(), inet::LMacLayer::createInterfaceEntry(), inet::CsmaCaMac::createInterfaceEntry(), inet::BMacLayer::createInterfaceEntry(), inet::EtherMACBase::createInterfaceEntry(), and inet::CSMA::createInterfaceEntry().
|
inlinevirtual |
Referenced by inet::IPv4NetworkConfigurator::configureInterface(), inet::TunInterface::createInterfaceEntry(), inet::Loopback::createInterfaceEntry(), inet::IdealMac::createInterfaceEntry(), inet::ExtInterface::createInterfaceEntry(), inet::ieee80211::Ieee80211Mac::createInterfaceEntry(), inet::PPP::createInterfaceEntry(), inet::LMacLayer::createInterfaceEntry(), inet::CsmaCaMac::createInterfaceEntry(), inet::BMacLayer::createInterfaceEntry(), inet::EtherMACBase::createInterfaceEntry(), inet::CSMA::createInterfaceEntry(), and inet::RoutingTableParser::parseInterfaces().
|
inlinevirtual |
Referenced by inet::IdealMac::createInterfaceEntry(), inet::ExtInterface::createInterfaceEntry(), inet::ieee80211::Ieee80211Mac::createInterfaceEntry(), inet::PPP::createInterfaceEntry(), inet::LMacLayer::createInterfaceEntry(), inet::CsmaCaMac::createInterfaceEntry(), inet::BMacLayer::createInterfaceEntry(), inet::EtherMACBase::createInterfaceEntry(), inet::CSMA::createInterfaceEntry(), and inet::RoutingTableParser::parseInterfaces().
|
inlineoverridevirtual |
|
inlinevirtual |
Referenced by inet::InterfaceTable::discoverConnectingGates().
|
inlinevirtual |
Referenced by inet::InterfaceTable::discoverConnectingGates().
|
inlinevirtual |
Referenced by inet::InterfaceTable::discoverConnectingGates().
|
inlinevirtual |
Referenced by inet::ExtInterface::createInterfaceEntry(), inet::ieee80211::Ieee80211Mac::createInterfaceEntry(), inet::PPP::createInterfaceEntry(), inet::CsmaCaMac::createInterfaceEntry(), and inet::RoutingTableParser::parseInterfaces().
|
inlinevirtual |
|
virtual |
|
inlineprotectedvirtual |
|
inline |
|
friend |
|
protected |
interface supports broadcast
|
protected |
current state (up/down) of the physical layer, e.g. Ethernet cable
|
protected |
data rate in bit/s
|
protected |
|
protected |
GenericNetworkProtocol-specific interface info (Address, etc)
|
protected |
|
protected |
identifies the interface in the IInterfaceTable
|
protected |
interface module, or nullptr
|
protected |
IPv4-specific interface info (IPv4 address, etc)
|
protected |
IPv6-specific interface info (IPv6 addresses, etc)
|
protected |
ISIS-specific interface info.
|
protected |
interface is loopback interface
|
protected |
link-layer address (for now, only IEEE 802 MAC addresses are supported)
|
protected |
Maximum Transmission Unit (e.g. 1500 on Ethernet); 0 means infinite (i.e. never fragment)
|
protected |
interface supports multicast
|
protected |
id of the input gate of this host/router (or -1 if this is a virtual interface)
|
protected |
id of the output gate of this host/router (or -1 if this is a virtual interface)
|
protected |
index of ifIn[],ifOut[] gates to that interface (or -1 if virtual interface)
|
protected |
IInterfaceTable that contains this interface, or nullptr.
|
protected |
interface is point-to-point link
requested interface state, similar to Linux ifup/ifdown
|
protected |
for IPv6 stateless autoconfig (RFC 1971), interface identifier (RFC 2462)
|
protected |
TRILL-specific interface info.