gem5  v20.1.0.0
Public Member Functions | Protected Attributes | Friends | List of all members
Net::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 186 of file inet.hh.

Member Function Documentation

◆ operator const EthHdr *()

Net::EthPtr::operator const EthHdr * ( ) const
inline

Definition at line 208 of file inet.hh.

References p.

◆ operator EthHdr *()

Net::EthPtr::operator EthHdr * ( )
inline

Definition at line 204 of file inet.hh.

References p.

◆ operator*() [1/2]

EthHdr& Net::EthPtr::operator* ( )
inline

Definition at line 203 of file inet.hh.

References p.

◆ operator*() [2/2]

const EthHdr& Net::EthPtr::operator* ( ) const
inline

Definition at line 207 of file inet.hh.

References p.

◆ operator->() [1/2]

EthHdr* Net::EthPtr::operator-> ( )
inline

Definition at line 202 of file inet.hh.

References p.

◆ operator->() [2/2]

const EthHdr* Net::EthPtr::operator-> ( ) const
inline

Definition at line 206 of file inet.hh.

References p.

Friends And Related Function Documentation

◆ Ip6Ptr

friend class Ip6Ptr
friend

Definition at line 190 of file inet.hh.

◆ IpPtr

friend class IpPtr
friend

Definition at line 189 of file inet.hh.

Member Data Documentation

◆ p

EthPacketPtr Net::EthPtr::p
protected

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

Generated on Wed Sep 30 2020 14:03:07 for gem5 by doxygen 1.8.17