gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
PacketFifoEntry Struct Reference

#include <pktfifo.hh>

Public Member Functions

 PacketFifoEntry ()
 PacketFifoEntry (const PacketFifoEntry &s)
 PacketFifoEntry (EthPacketPtr p, uint64_t n)
void clear ()
void serialize (const std::string &base, CheckpointOut &cp) const
void unserialize (const std::string &base, CheckpointIn &cp)

Public Attributes

EthPacketPtr packet
uint64_t number
unsigned slack
int priv

Detailed Description

Definition at line 42 of file pktfifo.hh.

Constructor & Destructor Documentation

◆ PacketFifoEntry() [1/3]

PacketFifoEntry::PacketFifoEntry ( )

Definition at line 49 of file pktfifo.hh.

References clear().

◆ PacketFifoEntry() [2/3]

PacketFifoEntry::PacketFifoEntry ( const PacketFifoEntry s)

Definition at line 54 of file pktfifo.hh.

◆ PacketFifoEntry() [3/3]

PacketFifoEntry::PacketFifoEntry ( EthPacketPtr  p,
uint64_t  n 

Definition at line 59 of file pktfifo.hh.

Member Function Documentation

◆ clear()

void PacketFifoEntry::clear ( )

Definition at line 64 of file pktfifo.hh.

References number, packet, priv, and slack.

Referenced by PacketFifoEntry().

◆ serialize()

void PacketFifoEntry::serialize ( const std::string &  base,
CheckpointOut cp 
) const

Definition at line 67 of file

References X86ISA::base, paramOut(), and SparcISA::priv.

◆ unserialize()

void PacketFifoEntry::unserialize ( const std::string &  base,
CheckpointIn cp 

Definition at line 76 of file

References X86ISA::base, paramIn(), and SparcISA::priv.

Referenced by PacketFifo::unserialize().

Member Data Documentation

◆ number

uint64_t PacketFifoEntry::number

Definition at line 45 of file pktfifo.hh.

Referenced by clear(), and PacketFifo::push().

◆ packet

EthPacketPtr PacketFifoEntry::packet

Definition at line 44 of file pktfifo.hh.

Referenced by clear(), and PacketFifo::push().

◆ priv

int PacketFifoEntry::priv

Definition at line 47 of file pktfifo.hh.

Referenced by clear().

◆ slack

unsigned PacketFifoEntry::slack

Definition at line 46 of file pktfifo.hh.

Referenced by clear().

The documentation for this struct was generated from the following files:

Generated on Wed Sep 30 2020 14:02:29 for gem5 by doxygen 1.8.17