gem5  v22.1.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gem5::networking::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 646 of file inet.hh.

Member Function Documentation

◆ get() [1/2]

TcpHdr* gem5::networking::TcpPtr::get ( )
inline

Definition at line 679 of file inet.hh.

References _off, and p.

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

◆ get() [2/2]

const TcpHdr* gem5::networking::TcpPtr::get ( ) const
inline

Definition at line 683 of file inet.hh.

References _off, and p.

◆ operator*() [1/2]

TcpHdr& gem5::networking::TcpPtr::operator* ( )
inline

Definition at line 681 of file inet.hh.

References get().

◆ operator*() [2/2]

const TcpHdr& gem5::networking::TcpPtr::operator* ( ) const
inline

Definition at line 685 of file inet.hh.

References get().

◆ operator->() [1/2]

TcpHdr* gem5::networking::TcpPtr::operator-> ( )
inline

Definition at line 680 of file inet.hh.

References get().

◆ operator->() [2/2]

const TcpHdr* gem5::networking::TcpPtr::operator-> ( ) const
inline

Definition at line 684 of file inet.hh.

References get().

◆ set() [1/3]

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

Definition at line 652 of file inet.hh.

References _off, gem5::ArmISA::offset, and p.

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

◆ set() [2/3]

void gem5::networking::TcpPtr::set ( const Ip6Ptr ptr)
inlineprotected

◆ set() [3/3]

void gem5::networking::TcpPtr::set ( const IpPtr ptr)
inlineprotected

Member Data Documentation

◆ _off

int gem5::networking::TcpPtr::_off
protected

Definition at line 650 of file inet.hh.

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

◆ p

EthPacketPtr gem5::networking::TcpPtr::p
protected

Definition at line 649 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 Dec 21 2022 10:24:17 for gem5 by doxygen 1.9.1