Go to the documentation of this file.
34 #ifndef __DEV_NET_ETHERINT_HH__
35 #define __DEV_NET_ETHERINT_HH__
75 virtual bool isBusy() {
return false; }
78 #endif // __DEV_NET_ETHERINT_HH__
virtual void sendDone()=0
const PortID InvalidPortID
void bind(Port &peer) override
Attach to a peer port.
void setPeer(EtherInt *p)
EtherInt(const std::string &name, int idx=InvalidPortID)
Ports are used to interface objects to each other.
virtual bool recvPacket(EthPacketPtr packet)=0
std::shared_ptr< EthPacketData > EthPacketPtr
const std::string & name() const
Return port name (for DPRINTF).
bool sendPacket(EthPacketPtr packet)
void unbind() override
Dettach from a peer port.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17