gem5
|
Interface to the local simulated system. More...
#include <dist_etherlink.hh>
Public Member Functions | |
LocalIface (const std::string &name, TxLink *tx, RxLink *rx, DistIface *m) | |
bool | recvPacket (EthPacketPtr pkt) |
void | sendDone () |
bool | isBusy () |
Public Member Functions inherited from EtherInt | |
EtherInt (const std::string &name) | |
virtual | ~EtherInt () |
const std::string & | name () const |
Return port name (for DPRINTF). More... | |
void | setPeer (EtherInt *p) |
EtherInt * | getPeer () |
void | recvDone () |
bool | sendPacket (EthPacketPtr packet) |
bool | askBusy () |
Private Attributes | |
TxLink * | txLink |
Additional Inherited Members | |
Protected Attributes inherited from EtherInt | |
std::string | portName |
EtherInt * | peer |
Interface to the local simulated system.
Definition at line 187 of file dist_etherlink.hh.
DistEtherLink::LocalIface::LocalIface | ( | const std::string & | name, |
TxLink * | tx, | ||
RxLink * | rx, | ||
DistIface * | m | ||
) |
Definition at line 250 of file dist_etherlink.cc.
References DistEtherLink::TxLink::setDistInt(), DistEtherLink::RxLink::setDistInt(), and DistEtherLink::Link::setLocalInt().
|
inlinevirtual |
Reimplemented from EtherInt.
Definition at line 198 of file dist_etherlink.hh.
References DistEtherLink::Link::busy(), and txLink.
|
inlinevirtual |
Implements EtherInt.
Definition at line 196 of file dist_etherlink.hh.
References DistEtherLink::TxLink::transmit(), and txLink.
|
inlinevirtual |
Implements EtherInt.
Definition at line 197 of file dist_etherlink.hh.
References EtherInt::peer, and EtherInt::sendDone().
Referenced by DistEtherLink::TxLink::txDone().
|
private |
Definition at line 190 of file dist_etherlink.hh.
Referenced by isBusy(), and recvPacket().