gem5 v24.0.0.0
Loading...
Searching...
No Matches
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, 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.

Referenced by listen().

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 Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0