gem5 v24.1.0.1
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
gem5::TapListener Class Reference

Classes

class  Event
 

Public Member Functions

 TapListener (EtherTapStub *t, ListenSocketPtr _listener)
 
 ~TapListener ()
 
void listen ()
 

Protected Member Functions

void accept ()
 

Protected Attributes

Eventevent = nullptr
 
ListenSocketPtr listener
 
EtherTapStubtap
 

Friends

class Event
 

Detailed Description

Definition at line 228 of file ethertap.cc.

Constructor & Destructor Documentation

◆ TapListener()

gem5::TapListener::TapListener ( EtherTapStub t,
ListenSocketPtr  _listener 
)
inline

Definition at line 252 of file ethertap.cc.

◆ ~TapListener()

gem5::TapListener::~TapListener ( )
inline

Definition at line 254 of file ethertap.cc.

References event.

Member Function Documentation

◆ accept()

void gem5::TapListener::accept ( )
protected

◆ listen()

void gem5::TapListener::listen ( )

Definition at line 260 of file ethertap.cc.

References event, listener, gem5::pollQueue, and gem5::PollQueue::schedule().

Referenced by gem5::EtherTapStub::EtherTapStub().

Friends And Related Symbol Documentation

◆ Event

friend class Event
friend

Definition at line 242 of file ethertap.cc.

Member Data Documentation

◆ event

Event* gem5::TapListener::event = nullptr
protected

Definition at line 243 of file ethertap.cc.

Referenced by listen(), and ~TapListener().

◆ listener

ListenSocketPtr gem5::TapListener::listener
protected

Definition at line 248 of file ethertap.cc.

Referenced by accept(), and listen().

◆ tap

EtherTapStub* gem5::TapListener::tap
protected

Definition at line 249 of file ethertap.cc.

Referenced by accept().


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

Generated on Mon Jan 13 2025 04:28:59 for gem5 by doxygen 1.9.8