gem5 v25.0.0.1
Loading...
Searching...
No Matches
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 191 of file inet.hh.

Member Function Documentation

◆ operator const EthHdr *()

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

Definition at line 213 of file inet.hh.

References p.

◆ operator EthHdr *()

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

Definition at line 209 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.

◆ operator->() [1/2]

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

Definition at line 207 of file inet.hh.

References p.

◆ operator->() [2/2]

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

Definition at line 211 of file inet.hh.

References p.

◆ Ip6Ptr

friend class Ip6Ptr
friend

Definition at line 195 of file inet.hh.

References Ip6Ptr.

Referenced by Ip6Ptr.

◆ IpPtr

friend class IpPtr
friend

Definition at line 194 of file inet.hh.

References IpPtr.

Referenced by IpPtr.

Member Data Documentation

◆ p


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

Generated on Sat Oct 18 2025 08:07:00 for gem5 by doxygen 1.14.0