gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 44 of file pktfifo.hh.

Constructor & Destructor Documentation

PacketFifoEntry::PacketFifoEntry ( )
inline

Definition at line 51 of file pktfifo.hh.

References clear().

PacketFifoEntry::PacketFifoEntry ( const PacketFifoEntry s)
inline

Definition at line 56 of file pktfifo.hh.

PacketFifoEntry::PacketFifoEntry ( EthPacketPtr  p,
uint64_t  n 
)
inline

Definition at line 61 of file pktfifo.hh.

Member Function Documentation

void PacketFifoEntry::clear ( )
inline

Definition at line 66 of file pktfifo.hh.

References number, packet, priv, and slack.

Referenced by PacketFifoEntry().

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

Definition at line 69 of file pktfifo.cc.

References paramOut(), and SparcISA::priv.

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

Definition at line 78 of file pktfifo.cc.

References paramIn(), and SparcISA::priv.

Referenced by PacketFifo::unserialize().

Member Data Documentation

uint64_t PacketFifoEntry::number

Definition at line 47 of file pktfifo.hh.

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

EthPacketPtr PacketFifoEntry::packet

Definition at line 46 of file pktfifo.hh.

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

int PacketFifoEntry::priv

Definition at line 49 of file pktfifo.hh.

Referenced by clear().

unsigned PacketFifoEntry::slack

Definition at line 48 of file pktfifo.hh.

Referenced by clear().


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

Generated on Fri Jun 9 2017 13:04:16 for gem5 by doxygen 1.8.6