gem5  v22.0.0.2
Public Member Functions | Protected Attributes | Friends | List of all members
gem5::networking::EthPtr Class Reference

#include <inet.hh>

Public Member Functions

EthHdroperator-> ()
 
EthHdroperator* ()
 
 operator EthHdr * ()
 
const EthHdroperator-> () const
 
const EthHdroperator* () const
 
 operator const EthHdr * () const
 
const EthPtroperator= (const EthPacketPtr &ptr)
 
 EthPtr ()
 
 EthPtr (const EthPacketPtr &ptr)
 
const EthPacketPtr packet () const
 
EthPacketPtr packet ()
 
bool operator! () const
 
 operator bool () const
 
int off () const
 
int pstart () const
 

Protected Attributes

EthPacketPtr p
 

Friends

class IpPtr
 
class Ip6Ptr
 

Detailed Description

Definition at line 192 of file inet.hh.

Member Function Documentation

◆ operator const EthHdr *()

gem5::networking::EthPtr::operator const EthHdr * ( ) const
inline

Definition at line 214 of file inet.hh.

References p.

◆ operator EthHdr *()

gem5::networking::EthPtr::operator EthHdr * ( )
inline

Definition at line 210 of file inet.hh.

References p.

◆ operator*() [1/2]

EthHdr& gem5::networking::EthPtr::operator* ( )
inline

Definition at line 209 of file inet.hh.

References p.

◆ operator*() [2/2]

const EthHdr& gem5::networking::EthPtr::operator* ( ) const
inline

Definition at line 213 of file inet.hh.

References p.

◆ operator->() [1/2]

EthHdr* gem5::networking::EthPtr::operator-> ( )
inline

Definition at line 208 of file inet.hh.

References p.

◆ operator->() [2/2]

const EthHdr* gem5::networking::EthPtr::operator-> ( ) const
inline

Definition at line 212 of file inet.hh.

References p.

Friends And Related Function Documentation

◆ Ip6Ptr

friend class Ip6Ptr
friend

Definition at line 196 of file inet.hh.

◆ IpPtr

friend class IpPtr
friend

Definition at line 195 of file inet.hh.

Member Data Documentation

◆ p

EthPacketPtr gem5::networking::EthPtr::p
protected

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

Generated on Thu Jul 28 2022 13:34:10 for gem5 by doxygen 1.8.17