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

#include <ethertap.hh>

Inheritance diagram for EtherTapInt:
EtherInt

Public Member Functions

 EtherTapInt (const std::string &name, EtherTapBase *t)
 
bool recvPacket (EthPacketPtr pkt) override
 
void sendDone () override
 
- 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

EtherTapBasetap
 

Additional Inherited Members

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

Detailed Description

Definition at line 129 of file ethertap.hh.

Constructor & Destructor Documentation

EtherTapInt::EtherTapInt ( const std::string &  name,
EtherTapBase t 
)
inline

Definition at line 134 of file ethertap.hh.

Member Function Documentation

bool EtherTapInt::recvPacket ( EthPacketPtr  pkt)
inlineoverridevirtual

Implements EtherInt.

Definition at line 138 of file ethertap.hh.

References EtherTapBase::recvSimulated(), and tap.

void EtherTapInt::sendDone ( )
inlineoverridevirtual

Implements EtherInt.

Definition at line 140 of file ethertap.hh.

Member Data Documentation

EtherTapBase* EtherTapInt::tap
private

Definition at line 132 of file ethertap.hh.

Referenced by recvPacket().


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

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