36 #ifndef __DEV_NET_ETHERINT_HH__
37 #define __DEV_NET_ETHERINT_HH__
73 virtual bool isBusy() {
return false; }
76 #endif // __DEV_NET_ETHERINT_HH__
void setPeer(EtherInt *p)
EtherInt(const std::string &name)
virtual bool recvPacket(EthPacketPtr packet)=0
std::shared_ptr< EthPacketData > EthPacketPtr
bool sendPacket(EthPacketPtr packet)
const std::string & name() const
Return port name (for DPRINTF).
virtual void sendDone()=0