#include <InterfaceEntry.h>
Public Member Functions | |
virtual void | setInterfaceTable (IInterfaceTable *t) |
virtual void | setInterfaceId (int id) |
InterfaceEntry () | |
virtual | ~InterfaceEntry () |
virtual std::string | info () const |
virtual std::string | detailedInfo () const |
IInterfaceTable * | getInterfaceTable () const |
Field getters. Note they are non-virtual and inline, for performance reasons. | |
int | getInterfaceId () const |
int | getNetworkLayerGateIndex () const |
int | getNodeOutputGateId () const |
int | getNodeInputGateId () const |
int | getPeerNamId () const |
int | getMTU () const |
bool | isDown () 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) |
virtual void | setNetworkLayerGateIndex (int i) |
virtual void | setNodeOutputGateId (int i) |
virtual void | setNodeInputGateId (int i) |
virtual void | setPeerNamId (int ni) |
virtual void | setMtu (int m) |
virtual void | setDown (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 () |
IPv6InterfaceData * | ipv6Data () |
InterfaceProtocolData * | getProtocol3Data () |
InterfaceProtocolData * | getProtocol4Data () |
Installing protocol-specific interface data | |
virtual void | setIPv4Data (IPv4InterfaceData *p) |
virtual void | setIPv6Data (IPv6InterfaceData *p) |
virtual void | setProtocol3Data (InterfaceProtocolData *p) |
virtual void | setProtocol4Data (InterfaceProtocolData *p) |
Protected Member Functions | |
virtual void | configChanged () |
virtual void | stateChanged () |
virtual void | changed (int category) |
Protected Attributes | |
IInterfaceTable * | ownerp |
IInterfaceTable that contains this interface, or NULL. | |
int | interfaceId |
identifies the interface in the IInterfaceTable | |
int | nwLayerGateIndex |
index of ifIn[],ifOut[] gates to that interface (or -1 if virtual interface) | |
int | nodeOutputGateId |
id of the output gate of this host/router (or -1 if this is a virtual interface) | |
int | nodeInputGateId |
id of the input gate of this host/router (or -1 if this is a virtual interface) | |
int | peernamid |
used only when writing ns2 nam traces | |
int | mtu |
Maximum Transmission Unit (e.g. 1500 on Ethernet). | |
bool | down |
current state (up or down) | |
bool | broadcast |
interface supports broadcast | |
bool | multicast |
interface supports multicast | |
bool | pointToPoint |
interface is point-to-point link | |
bool | loopback |
interface is loopback interface | |
double | datarate |
data rate in bit/s | |
MACAddress | macAddr |
link-layer address (for now, only IEEE 802 MAC addresses are supported) | |
InterfaceToken | token |
for IPv6 stateless autoconfig (RFC 1971) | |
IPv4InterfaceData * | ipv4data |
IPv4-specific interface info (IP address, etc). | |
IPv6InterfaceData * | ipv6data |
IPv6-specific interface info (IPv6 addresses, etc). | |
InterfaceProtocolData * | protocol3data |
extension point: data for a 3rd network-layer protocol | |
InterfaceProtocolData * | protocol4data |
extension point: data for a 4th network-layer protocol | |
Private Member Functions | |
InterfaceEntry (const InterfaceEntry &obj) | |
InterfaceEntry & | operator= (const InterfaceEntry &obj) |
Friends | |
class | InterfaceProtocolData |
Interface entry for the interface table in IInterfaceTable.
Definition at line 67 of file InterfaceEntry.h.
InterfaceEntry::InterfaceEntry | ( | const InterfaceEntry & | obj | ) | [private] |
InterfaceEntry::InterfaceEntry | ( | ) |
Definition at line 46 of file InterfaceEntry.cc.
{ ownerp = NULL; nwLayerGateIndex = -1; nodeOutputGateId = -1; nodeInputGateId = -1; peernamid = -1; mtu = 0; down = false; broadcast = false; multicast = false; pointToPoint= false; loopback = false; datarate = 0; ipv4data = NULL; ipv6data = NULL; protocol3data = NULL; protocol4data = NULL; }
virtual InterfaceEntry::~InterfaceEntry | ( | ) | [inline, virtual] |
Definition at line 110 of file InterfaceEntry.h.
{}
void InterfaceEntry::changed | ( | int | category | ) | [protected, virtual] |
Definition at line 134 of file InterfaceEntry.cc.
Referenced by InterfaceProtocolData::changed().
{ if (ownerp) ownerp->interfaceChanged(this, category); }
virtual void InterfaceEntry::configChanged | ( | ) | [inline, protected, virtual] |
Definition at line 99 of file InterfaceEntry.h.
Referenced by setIPv4Data(), and setIPv6Data().
std::string InterfaceEntry::detailedInfo | ( | ) | const [virtual] |
Definition at line 101 of file InterfaceEntry.cc.
{ std::stringstream out; out << "name:" << (getName()[0] ? getName() : "*"); if (getNetworkLayerGateIndex()==-1) out << " on:-"; else out << " on:nwLayer.ifOut[" << getNetworkLayerGateIndex() << "]"; out << "MTU: " << getMTU() << " \t"; if (isDown()) out << "DOWN "; if (isBroadcast()) out << "BROADCAST "; if (isMulticast()) out << "MULTICAST "; if (isPointToPoint()) out << "POINTTOPOINT "; if (isLoopback()) out << "LOOPBACK "; out << "\n"; out << " macAddr:"; if (getMacAddress().isUnspecified()) out << "n/a"; else out << getMacAddress(); out << "\n"; if (ipv4data) out << " " << ((cPolymorphic*)ipv4data)->info() << "\n"; // Khmm... if (ipv6data) out << " " << ((cPolymorphic*)ipv6data)->info() << "\n"; // Khmm... if (protocol3data) out << " " << protocol3data->info() << "\n"; if (protocol4data) out << " " << protocol4data->info() << "\n"; return out.str(); }
double InterfaceEntry::getDatarate | ( | ) | const [inline] |
Definition at line 132 of file InterfaceEntry.h.
Referenced by RoutingTable::configureInterfaceForIPv4(), and NAMTraceWriter::initialize().
{return datarate;}
int InterfaceEntry::getInterfaceId | ( | ) | const [inline] |
Definition at line 121 of file InterfaceEntry.h.
Referenced by FlatNetworkConfigurator6::addOwnAdvPrefixRoutes(), FlatNetworkConfigurator6::addStaticRoutes(), IPv6NeighbourDiscovery::createAndSendNSPacket(), IPv6NeighbourDiscovery::createAndSendRAPacket(), IPv6NeighbourDiscovery::createAndSendRSPacket(), IPv6NeighbourDiscovery::createRATimer(), IPv6::decapsulate(), IP::decapsulateIP(), InterfaceTable::deleteInterface(), IPv6NeighbourDiscovery::fetchAdvIfEntry(), IPv6NeighbourDiscovery::fetchRDEntry(), IP::handleARP(), RoutingTable6::initialize(), IPv6NeighbourDiscovery::initiateDAD(), IPv6NeighbourDiscovery::initiateRouterDiscovery(), IPv6NeighbourDiscovery::processNAPacket(), IPv6NeighbourDiscovery::processNSForNonTentativeAddress(), IPv6NeighbourDiscovery::processNSWithSpecifiedSrcAddr(), IPv6NeighbourDiscovery::processRAForRouterUpdates(), IPv6NeighbourDiscovery::processRAPrefixInfo(), OSPFRouting::ResolveInterfaceName(), IP::sendDatagramToOutput(), and IPv6NeighbourDiscovery::sendSolicitedNA().
{return interfaceId;}
IInterfaceTable* InterfaceEntry::getInterfaceTable | ( | ) | const [inline] |
Returns the IInterfaceTable this interface is in, or NULL
Definition at line 117 of file InterfaceEntry.h.
{return ownerp;}
const InterfaceToken& InterfaceEntry::getInterfaceToken | ( | ) | const [inline] |
Definition at line 134 of file InterfaceEntry.h.
Referenced by IPv6NeighbourDiscovery::assignLinkLocalAddress(), and FlatNetworkConfigurator6::configureAdvPrefixes().
{return token;}
const MACAddress& InterfaceEntry::getMacAddress | ( | ) | const [inline] |
Definition at line 133 of file InterfaceEntry.h.
Referenced by IPv6NeighbourDiscovery::createAndSendNSPacket(), IPv6NeighbourDiscovery::createAndSendRAPacket(), IPv6NeighbourDiscovery::createAndSendRSPacket(), detailedInfo(), info(), ARP::sendARPRequest(), and IPv6NeighbourDiscovery::sendSolicitedNA().
{return macAddr;}
int InterfaceEntry::getMTU | ( | ) | const [inline] |
Definition at line 126 of file InterfaceEntry.h.
Referenced by detailedInfo(), IP::fragmentAndSend(), info(), SCTPAssociation::pmStartPathManagement(), SCTPPathVariables::SCTPPathVariables(), and OSPF::Interface::SetIfIndex().
{return mtu;}
int InterfaceEntry::getNetworkLayerGateIndex | ( | ) | const [inline] |
Definition at line 122 of file InterfaceEntry.h.
Referenced by FlatNetworkConfigurator6::configureAdvPrefixes(), detailedInfo(), info(), ARP::processOutboundPacket(), LDP::rebuildFecList(), IPv6::sendDatagramToOutput(), and ARP::sendPacketToNIC().
{return nwLayerGateIndex;}
int InterfaceEntry::getNodeInputGateId | ( | ) | const [inline] |
Definition at line 124 of file InterfaceEntry.h.
{return nodeInputGateId;}
int InterfaceEntry::getNodeOutputGateId | ( | ) | const [inline] |
Definition at line 123 of file InterfaceEntry.h.
Referenced by TED::initialize(), and NAMTraceWriter::initialize().
{return nodeOutputGateId;}
int InterfaceEntry::getPeerNamId | ( | ) | const [inline] |
Definition at line 125 of file InterfaceEntry.h.
Referenced by NAMTraceWriter::receiveChangeNotification().
{return peernamid;}
InterfaceProtocolData* InterfaceEntry::getProtocol3Data | ( | ) | [inline] |
Definition at line 159 of file InterfaceEntry.h.
{return protocol3data;}
InterfaceProtocolData* InterfaceEntry::getProtocol4Data | ( | ) | [inline] |
Definition at line 160 of file InterfaceEntry.h.
{return protocol4data;}
std::string InterfaceEntry::info | ( | ) | const [virtual] |
Definition at line 70 of file InterfaceEntry.cc.
Referenced by operator<<().
{ std::stringstream out; out << (getName()[0] ? getName() : "*"); if (getNetworkLayerGateIndex()==-1) out << " on:-"; else out << " on:nwLayer.ifOut[" << getNetworkLayerGateIndex() << "]"; out << " MTU:" << getMTU(); if (isDown()) out << " DOWN"; if (isBroadcast()) out << " BROADCAST"; if (isMulticast()) out << " MULTICAST"; if (isPointToPoint()) out << " POINTTOPOINT"; if (isLoopback()) out << " LOOPBACK"; out << " macAddr:"; if (getMacAddress().isUnspecified()) out << "n/a"; else out << getMacAddress(); if (ipv4data) out << " " << ((cPolymorphic*)ipv4data)->info(); // Khmm... if (ipv6data) out << " " << ((cPolymorphic*)ipv6data)->info(); // Khmm... if (protocol3data) out << " " << protocol3data->info(); if (protocol4data) out << " " << protocol4data->info(); return out.str(); }
IPv4InterfaceData* InterfaceEntry::ipv4Data | ( | ) | [inline] |
Definition at line 157 of file InterfaceEntry.h.
Referenced by NetworkConfigurator::addPointToPointPeerRoutes(), NetworkConfigurator::assignAddresses(), FlatNetworkConfigurator::assignAddresses(), RoutingTable::configureRouterId(), RSVP::evalNextHopInterface(), RoutingTable::gatherAddresses(), IPAddressResolver::getAddressFrom(), RoutingTable::getInterfaceByAddress(), IPAddressResolver::getIPv4AddressFrom(), TED::initialize(), LinkStateRouting::initialize(), RoutingTable::isLocalAddress(), RoutingTable::isLocalMulticastAddress(), RoutingTableParser::parseInterfaces(), RoutingTableParser::parseMulticastGroups(), SCTPAssociation::processInitArrived(), LDP::rebuildFecList(), IP::routeMulticastPacket(), IP::routePacket(), ARP::sendARPRequest(), SCTPAssociation::sendInit(), OSPF::Interface::SetIfIndex(), RSVP::setupHello(), and RoutingTable::updateNetmaskRoutes().
{return ipv4data;}
IPv6InterfaceData* InterfaceEntry::ipv6Data | ( | ) | [inline] |
Definition at line 158 of file InterfaceEntry.h.
Referenced by FlatNetworkConfigurator6::addOwnAdvPrefixRoutes(), FlatNetworkConfigurator6::addStaticRoutes(), IPv6NeighbourDiscovery::assignLinkLocalAddress(), RoutingTable6::assignRequiredNodeAddresses(), FlatNetworkConfigurator6::configureAdvPrefixes(), RoutingTable6::configureInterfaceFromXML(), IPv6NeighbourDiscovery::createAndSendRAPacket(), IPv6NeighbourDiscovery::createAndSendRSPacket(), IPv6NeighbourDiscovery::createRATimer(), IPAddressResolver::getAddressFrom(), RoutingTable6::getInterfaceByAddress(), IPAddressResolver::getInterfaceIPv6Address(), IPAddressResolver::getIPv6AddressFrom(), RoutingTable6::initialize(), IPv6NeighbourDiscovery::initialize(), IPv6NeighbourDiscovery::initiateAddressResolution(), IPv6NeighbourDiscovery::initiateDAD(), IPv6NeighbourDiscovery::initiateNeighbourUnreachabilityDetection(), IPv6NeighbourDiscovery::initiateRouterDiscovery(), RoutingTable6::isLocalAddress(), IPv6NeighbourDiscovery::processARTimeout(), IPv6NeighbourDiscovery::processDADTimeout(), SCTPAssociation::processInitArrived(), IPv6NeighbourDiscovery::processNAForIncompleteNCEState(), IPv6NeighbourDiscovery::processNAForOtherNCEStates(), IPv6NeighbourDiscovery::processNAPacket(), IPv6NeighbourDiscovery::processNSPacket(), IPv6NeighbourDiscovery::processNUDTimeout(), IPv6NeighbourDiscovery::processRAForRouterUpdates(), IPv6NeighbourDiscovery::processRAPacket(), IPv6NeighbourDiscovery::processRAPrefixInfoForAddrAutoConf(), IPv6NeighbourDiscovery::processRDTimeout(), IPv6NeighbourDiscovery::processRSPacket(), IPv6::routePacket(), SCTPAssociation::sendInit(), IPv6NeighbourDiscovery::sendPeriodicRA(), and IPv6NeighbourDiscovery::sendSolicitedNA().
{return ipv6data;}
bool InterfaceEntry::isBroadcast | ( | ) | const [inline] |
Definition at line 128 of file InterfaceEntry.h.
Referenced by detailedInfo(), info(), and ARP::processOutboundPacket().
{return broadcast;}
bool InterfaceEntry::isDown | ( | ) | const [inline] |
Definition at line 127 of file InterfaceEntry.h.
Referenced by detailedInfo(), and info().
{return down;}
bool InterfaceEntry::isLoopback | ( | ) | const [inline] |
Definition at line 131 of file InterfaceEntry.h.
Referenced by NetworkConfigurator::addDefaultRoutes(), FlatNetworkConfigurator::addDefaultRoutes(), FlatNetworkConfigurator6::addOwnAdvPrefixRoutes(), FlatNetworkConfigurator6::addStaticRoutes(), NetworkConfigurator::assignAddresses(), FlatNetworkConfigurator::assignAddresses(), IPv6NeighbourDiscovery::assignLinkLocalAddress(), RoutingTable6::assignRequiredNodeAddresses(), FlatNetworkConfigurator6::configureAdvPrefixes(), RoutingTable::configureRouterId(), detailedInfo(), NetworkInfo::dumpRoutingInfo(), IPAddressResolver::getIPv4AddressFrom(), IPAddressResolver::getIPv6AddressFrom(), info(), TED::initialize(), RoutingTable6::initialize(), NAMTraceWriter::initialize(), and IPv6NeighbourDiscovery::initialize().
{return loopback;}
bool InterfaceEntry::isMulticast | ( | ) | const [inline] |
Definition at line 129 of file InterfaceEntry.h.
Referenced by detailedInfo(), and info().
{return multicast;}
bool InterfaceEntry::isPointToPoint | ( | ) | const [inline] |
Definition at line 130 of file InterfaceEntry.h.
Referenced by detailedInfo(), info(), and NAMTraceWriter::initialize().
{return pointToPoint;}
InterfaceEntry& InterfaceEntry::operator= | ( | const InterfaceEntry & | obj | ) | [private] |
virtual void InterfaceEntry::setBroadcast | ( | bool | b | ) | [inline, virtual] |
Definition at line 146 of file InterfaceEntry.h.
Referenced by RoutingTableParser::parseInterfaces(), and EtherMACBase::registerInterface().
{broadcast = b; configChanged();}
virtual void InterfaceEntry::setDatarate | ( | double | d | ) | [inline, virtual] |
Definition at line 150 of file InterfaceEntry.h.
Referenced by PPP::registerInterface(), and EtherMACBase::registerInterface().
{datarate = d; configChanged();}
virtual void InterfaceEntry::setDown | ( | bool | b | ) | [inline, virtual] |
Definition at line 145 of file InterfaceEntry.h.
{down = b; stateChanged();}
virtual void InterfaceEntry::setInterfaceId | ( | int | id | ) | [inline, virtual] |
Definition at line 106 of file InterfaceEntry.h.
Referenced by InterfaceTable::addInterface().
{interfaceId = id;}
virtual void InterfaceEntry::setInterfaceTable | ( | IInterfaceTable * | t | ) | [inline, virtual] |
Definition at line 105 of file InterfaceEntry.h.
Referenced by InterfaceTable::addInterface().
{ownerp = t;}
virtual void InterfaceEntry::setInterfaceToken | ( | const InterfaceToken & | t | ) | [inline, virtual] |
Definition at line 152 of file InterfaceEntry.h.
Referenced by PPP::registerInterface(), and EtherMACBase::registerInterface().
{token = t; configChanged();}
void InterfaceEntry::setIPv4Data | ( | IPv4InterfaceData * | p | ) | [virtual] |
Definition at line 140 of file InterfaceEntry.cc.
Referenced by RoutingTable::configureInterfaceForIPv4(), and RoutingTable::configureLoopbackForIPv4().
{ #ifndef WITHOUT_IPv4 ipv4data = p; p->ownerp = this; configChanged(); #else opp_error("setIPv4Data(): INET was compiled without IPv4 support"); #endif }
void InterfaceEntry::setIPv6Data | ( | IPv6InterfaceData * | p | ) | [virtual] |
Definition at line 151 of file InterfaceEntry.cc.
Referenced by RoutingTable6::configureInterfaceForIPv6().
{ #ifndef WITHOUT_IPv6 ipv6data = p; p->ownerp = this; configChanged(); #else opp_error("setIPv4Data(): INET was compiled without IPv6 support"); #endif }
virtual void InterfaceEntry::setLoopback | ( | bool | b | ) | [inline, virtual] |
Definition at line 149 of file InterfaceEntry.h.
Referenced by InterfaceTable::initialize().
{loopback = b; configChanged();}
virtual void InterfaceEntry::setMACAddress | ( | const MACAddress & | addr | ) | [inline, virtual] |
Definition at line 151 of file InterfaceEntry.h.
Referenced by EtherMACBase::registerInterface().
{macAddr = addr; configChanged();}
virtual void InterfaceEntry::setMtu | ( | int | m | ) | [inline, virtual] |
Definition at line 144 of file InterfaceEntry.h.
Referenced by InterfaceTable::initialize(), RoutingTableParser::parseInterfaces(), PPP::registerInterface(), ExtInterface::registerInterface(), and EtherMACBase::registerInterface().
{mtu = m; configChanged();}
virtual void InterfaceEntry::setMulticast | ( | bool | b | ) | [inline, virtual] |
Definition at line 147 of file InterfaceEntry.h.
Referenced by RoutingTableParser::parseInterfaces(), PPP::registerInterface(), ExtInterface::registerInterface(), and EtherMACBase::registerInterface().
{multicast = b; configChanged();}
virtual void InterfaceEntry::setName | ( | const char * | s | ) | [inline, virtual] |
Definition at line 139 of file InterfaceEntry.h.
Referenced by InterfaceTable::initialize(), PPP::registerInterface(), ExtInterface::registerInterface(), and EtherMACBase::registerInterface().
{cNamedObject::setName(s); configChanged();}
virtual void InterfaceEntry::setNetworkLayerGateIndex | ( | int | i | ) | [inline, virtual] |
Definition at line 140 of file InterfaceEntry.h.
Referenced by InterfaceTable::discoverConnectingGates().
{nwLayerGateIndex = i; configChanged();}
virtual void InterfaceEntry::setNodeInputGateId | ( | int | i | ) | [inline, virtual] |
Definition at line 142 of file InterfaceEntry.h.
Referenced by InterfaceTable::discoverConnectingGates().
{nodeInputGateId = i; configChanged();}
virtual void InterfaceEntry::setNodeOutputGateId | ( | int | i | ) | [inline, virtual] |
Definition at line 141 of file InterfaceEntry.h.
Referenced by InterfaceTable::discoverConnectingGates().
{nodeOutputGateId = i; configChanged();}
virtual void InterfaceEntry::setPeerNamId | ( | int | ni | ) | [inline, virtual] |
Definition at line 143 of file InterfaceEntry.h.
Referenced by NAMTraceWriter::initialize().
{peernamid = ni; configChanged();}
virtual void InterfaceEntry::setPointToPoint | ( | bool | b | ) | [inline, virtual] |
Definition at line 148 of file InterfaceEntry.h.
Referenced by RoutingTableParser::parseInterfaces(), PPP::registerInterface(), and ExtInterface::registerInterface().
{pointToPoint = b; configChanged();}
virtual void InterfaceEntry::setProtocol3Data | ( | InterfaceProtocolData * | p | ) | [inline, virtual] |
Definition at line 167 of file InterfaceEntry.h.
{protocol3data = p; configChanged();}
virtual void InterfaceEntry::setProtocol4Data | ( | InterfaceProtocolData * | p | ) | [inline, virtual] |
Definition at line 168 of file InterfaceEntry.h.
{protocol4data = p; configChanged();}
virtual void InterfaceEntry::stateChanged | ( | ) | [inline, protected, virtual] |
Definition at line 100 of file InterfaceEntry.h.
friend class InterfaceProtocolData [friend] |
Definition at line 69 of file InterfaceEntry.h.
bool InterfaceEntry::broadcast [protected] |
interface supports broadcast
Definition at line 79 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
double InterfaceEntry::datarate [protected] |
bool InterfaceEntry::down [protected] |
current state (up or down)
Definition at line 78 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
int InterfaceEntry::interfaceId [protected] |
identifies the interface in the IInterfaceTable
Definition at line 72 of file InterfaceEntry.h.
IPv4InterfaceData* InterfaceEntry::ipv4data [protected] |
IPv4-specific interface info (IP address, etc).
Definition at line 87 of file InterfaceEntry.h.
Referenced by detailedInfo(), info(), InterfaceEntry(), and setIPv4Data().
IPv6InterfaceData* InterfaceEntry::ipv6data [protected] |
IPv6-specific interface info (IPv6 addresses, etc).
Definition at line 88 of file InterfaceEntry.h.
Referenced by detailedInfo(), info(), InterfaceEntry(), and setIPv6Data().
bool InterfaceEntry::loopback [protected] |
interface is loopback interface
Definition at line 82 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
MACAddress InterfaceEntry::macAddr [protected] |
link-layer address (for now, only IEEE 802 MAC addresses are supported)
Definition at line 84 of file InterfaceEntry.h.
int InterfaceEntry::mtu [protected] |
Maximum Transmission Unit (e.g. 1500 on Ethernet).
Definition at line 77 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
bool InterfaceEntry::multicast [protected] |
interface supports multicast
Definition at line 80 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
int InterfaceEntry::nodeInputGateId [protected] |
id of the input gate of this host/router (or -1 if this is a virtual interface)
Definition at line 75 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
int InterfaceEntry::nodeOutputGateId [protected] |
id of the output gate of this host/router (or -1 if this is a virtual interface)
Definition at line 74 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
int InterfaceEntry::nwLayerGateIndex [protected] |
index of ifIn[],ifOut[] gates to that interface (or -1 if virtual interface)
Definition at line 73 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
IInterfaceTable* InterfaceEntry::ownerp [protected] |
IInterfaceTable that contains this interface, or NULL.
Definition at line 71 of file InterfaceEntry.h.
Referenced by changed(), InterfaceProtocolData::getInterfaceEntry(), InterfaceEntry(), and InterfaceProtocolData::InterfaceProtocolData().
int InterfaceEntry::peernamid [protected] |
used only when writing ns2 nam traces
Definition at line 76 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
bool InterfaceEntry::pointToPoint [protected] |
interface is point-to-point link
Definition at line 81 of file InterfaceEntry.h.
Referenced by InterfaceEntry().
InterfaceProtocolData* InterfaceEntry::protocol3data [protected] |
extension point: data for a 3rd network-layer protocol
Definition at line 89 of file InterfaceEntry.h.
Referenced by detailedInfo(), info(), and InterfaceEntry().
InterfaceProtocolData* InterfaceEntry::protocol4data [protected] |
extension point: data for a 4th network-layer protocol
Definition at line 90 of file InterfaceEntry.h.
Referenced by detailedInfo(), info(), and InterfaceEntry().
InterfaceToken InterfaceEntry::token [protected] |
for IPv6 stateless autoconfig (RFC 1971)
Definition at line 85 of file InterfaceEntry.h.