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

#include <sinic.hh>

Inheritance diagram for Sinic::Interface:
EtherInt

Public Member Functions

 Interface (const std::string &name, Device *d)
 
virtual bool recvPacket (EthPacketPtr pkt)
 
virtual void sendDone ()
 
- 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 ()
 
virtual bool isBusy ()
 

Private Attributes

Devicedev
 

Additional Inherited Members

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

Detailed Description

Definition at line 311 of file sinic.hh.

Constructor & Destructor Documentation

Sinic::Interface::Interface ( const std::string &  name,
Device d 
)
inline

Definition at line 317 of file sinic.hh.

Member Function Documentation

virtual bool Sinic::Interface::recvPacket ( EthPacketPtr  pkt)
inlinevirtual

Implements EtherInt.

Definition at line 321 of file sinic.hh.

References dev, and Sinic::Device::recvPacket().

virtual void Sinic::Interface::sendDone ( )
inlinevirtual

Implements EtherInt.

Definition at line 322 of file sinic.hh.

References dev, and Sinic::Device::transferDone().

Member Data Documentation

Device* Sinic::Interface::dev
private

Definition at line 314 of file sinic.hh.

Referenced by recvPacket(), and sendDone().


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

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