gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Friends | List of all members
Net::EthPtr Class Reference

#include <inet.hh>

Public Member Functions

 EthPtr ()
 
 EthPtr (const EthPacketPtr &ptr)
 
EthHdroperator-> ()
 
EthHdroperator* ()
 
 operator EthHdr * ()
 
const EthHdroperator-> () const
 
const EthHdroperator* () const
 
 operator const EthHdr * () const
 
const EthPtroperator= (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 161 of file inet.hh.

Constructor & Destructor Documentation

Net::EthPtr::EthPtr ( )
inline

Definition at line 169 of file inet.hh.

Net::EthPtr::EthPtr ( const EthPacketPtr ptr)
inline

Definition at line 170 of file inet.hh.

Member Function Documentation

int Net::EthPtr::off ( ) const
inline

Definition at line 186 of file inet.hh.

Referenced by pstart().

Net::EthPtr::operator bool ( ) const
inline

Definition at line 185 of file inet.hh.

References p.

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

Definition at line 178 of file inet.hh.

References p.

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

Definition at line 174 of file inet.hh.

References p.

bool Net::EthPtr::operator! ( ) const
inline

Definition at line 184 of file inet.hh.

References p.

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

Definition at line 173 of file inet.hh.

References p.

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

Definition at line 177 of file inet.hh.

References p.

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

Definition at line 172 of file inet.hh.

References p.

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

Definition at line 176 of file inet.hh.

References p.

const EthPtr& Net::EthPtr::operator= ( const EthPacketPtr ptr)
inline

Definition at line 180 of file inet.hh.

References p.

const EthPacketPtr Net::EthPtr::packet ( ) const
inline

Definition at line 182 of file inet.hh.

References p.

EthPacketPtr Net::EthPtr::packet ( )
inline

Definition at line 183 of file inet.hh.

References p.

int Net::EthPtr::pstart ( ) const
inline

Definition at line 187 of file inet.hh.

References off(), and p.

Friends And Related Function Documentation

friend class Ip6Ptr
friend

Definition at line 165 of file inet.hh.

friend class IpPtr
friend

Definition at line 164 of file inet.hh.

Member Data Documentation

EthPacketPtr Net::EthPtr::p
protected

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

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