gem5
|
#include <etherlink.hh>
Public Member Functions | |
Interface (const std::string &name, Link *txlink, Link *rxlink) | |
bool | recvPacket (EthPacketPtr packet) |
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 | |
Link * | txlink |
Additional Inherited Members | |
Protected Attributes inherited from EtherInt | |
std::string | portName |
EtherInt * | peer |
Definition at line 133 of file etherlink.hh.
Definition at line 108 of file etherlink.cc.
References EtherLink::Link::setRxInt(), and EtherLink::Link::setTxInt().
|
inlinevirtual |
Reimplemented from EtherInt.
Definition at line 142 of file etherlink.hh.
References EtherLink::Link::busy(), and txlink.
|
inlinevirtual |
Implements EtherInt.
Definition at line 140 of file etherlink.hh.
References EtherLink::Link::transmit(), and txlink.
|
inlinevirtual |
Implements EtherInt.
Definition at line 141 of file etherlink.hh.
References EtherInt::peer, and EtherInt::sendDone().
|
private |
Definition at line 136 of file etherlink.hh.
Referenced by isBusy(), and recvPacket().