gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
DistEtherLink::LocalIface Class Reference

Interface to the local simulated system. More...

#include <dist_etherlink.hh>

Inheritance diagram for DistEtherLink::LocalIface:
EtherInt

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)
 
EtherIntgetPeer ()
 
void recvDone ()
 
bool sendPacket (EthPacketPtr packet)
 
bool askBusy ()
 

Private Attributes

TxLinktxLink
 

Additional Inherited Members

- Protected Attributes inherited from EtherInt
std::string portName
 
EtherIntpeer
 

Detailed Description

Interface to the local simulated system.

Definition at line 187 of file dist_etherlink.hh.

Constructor & Destructor Documentation

DistEtherLink::LocalIface::LocalIface ( const std::string &  name,
TxLink tx,
RxLink rx,
DistIface m 
)

Member Function Documentation

bool DistEtherLink::LocalIface::isBusy ( )
inlinevirtual

Reimplemented from EtherInt.

Definition at line 198 of file dist_etherlink.hh.

References DistEtherLink::Link::busy(), and txLink.

bool DistEtherLink::LocalIface::recvPacket ( EthPacketPtr  pkt)
inlinevirtual

Implements EtherInt.

Definition at line 196 of file dist_etherlink.hh.

References DistEtherLink::TxLink::transmit(), and txLink.

void DistEtherLink::LocalIface::sendDone ( )
inlinevirtual

Implements EtherInt.

Definition at line 197 of file dist_etherlink.hh.

References EtherInt::peer, and EtherInt::sendDone().

Referenced by DistEtherLink::TxLink::txDone().

Member Data Documentation

TxLink* DistEtherLink::LocalIface::txLink
private

Definition at line 190 of file dist_etherlink.hh.

Referenced by isBusy(), and recvPacket().


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:07 for gem5 by doxygen 1.8.6