gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Net::TcpPtr Class Reference

#include <inet.hh>

Public Member Functions

TcpHdrget ()
 
TcpHdroperator-> ()
 
TcpHdroperator* ()
 
const TcpHdrget () const
 
const TcpHdroperator-> () const
 
const TcpHdroperator* () const
 
 TcpPtr ()
 
 TcpPtr (const IpPtr &ptr)
 
 TcpPtr (const Ip6Ptr &ptr)
 
 TcpPtr (const TcpPtr &ptr)
 
const TcpPtroperator= (const IpPtr &i)
 
const TcpPtroperator= (const TcpPtr &t)
 
const EthPacketPtr packet () const
 
EthPacketPtr packet ()
 
bool operator! () const
 
 operator bool () const
 
int off () const
 
int pstart () const
 

Protected Member Functions

void set (const EthPacketPtr &ptr, int offset)
 
void set (const IpPtr &ptr)
 
void set (const Ip6Ptr &ptr)
 

Protected Attributes

EthPacketPtr p
 
int _off
 

Detailed Description

Definition at line 637 of file inet.hh.

Member Function Documentation

◆ get() [1/2]

TcpHdr* Net::TcpPtr::get ( )
inline

Definition at line 670 of file inet.hh.

References _off, and p.

Referenced by operator*(), operator->(), and pstart().

◆ get() [2/2]

const TcpHdr* Net::TcpPtr::get ( ) const
inline

Definition at line 674 of file inet.hh.

References _off, and p.

◆ operator*() [1/2]

TcpHdr& Net::TcpPtr::operator* ( )
inline

Definition at line 672 of file inet.hh.

References get().

◆ operator*() [2/2]

const TcpHdr& Net::TcpPtr::operator* ( ) const
inline

Definition at line 676 of file inet.hh.

References get().

◆ operator->() [1/2]

TcpHdr* Net::TcpPtr::operator-> ( )
inline

Definition at line 671 of file inet.hh.

References get().

◆ operator->() [2/2]

const TcpHdr* Net::TcpPtr::operator-> ( ) const
inline

Definition at line 675 of file inet.hh.

References get().

◆ set() [1/3]

void Net::TcpPtr::set ( const EthPacketPtr ptr,
int  offset 
)
inlineprotected

Definition at line 643 of file inet.hh.

References _off, ArmISA::offset, and p.

Referenced by operator=(), set(), and TcpPtr().

◆ set() [2/3]

void Net::TcpPtr::set ( const Ip6Ptr ptr)
inlineprotected

Definition at line 651 of file inet.hh.

References Net::Ip6Ptr::p, Net::Ip6Hdr::proto(), Net::Ip6Ptr::pstart(), and set().

◆ set() [3/3]

void Net::TcpPtr::set ( const IpPtr ptr)
inlineprotected

Definition at line 644 of file inet.hh.

References Net::IpPtr::p, Net::IpHdr::proto(), Net::IpPtr::pstart(), and set().

Member Data Documentation

◆ _off

int Net::TcpPtr::_off
protected

Definition at line 641 of file inet.hh.

Referenced by get(), off(), and set().

◆ p

EthPacketPtr Net::TcpPtr::p
protected

Definition at line 640 of file inet.hh.

Referenced by get(), operator bool(), operator!(), packet(), and set().


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