gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 645 of file inet.hh.

Member Function Documentation

◆ get() [1/2]

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

Definition at line 678 of file inet.hh.

References _off, and p.

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

◆ get() [2/2]

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

Definition at line 682 of file inet.hh.

References _off, and p.

◆ 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().

◆ operator->() [1/2]

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

Definition at line 679 of file inet.hh.

References get().

◆ operator->() [2/2]

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

Definition at line 683 of file inet.hh.

References get().

◆ set() [1/3]

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

Definition at line 651 of file inet.hh.

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

◆ 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 649 of file inet.hh.

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

◆ p

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

Definition at line 648 of file inet.hh.

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


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

Generated on Tue Jun 18 2024 16:24:20 for gem5 by doxygen 1.11.0