gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::networking::IpPtr Class Reference

#include <inet.hh>

Public Member Functions

IpHdrget ()
 
IpHdroperator-> ()
 
IpHdroperator* ()
 
const IpPtroperator= (const EthPacketPtr &ptr)
 
const IpPtroperator= (const EthPtr &ptr)
 
const IpPtroperator= (const IpPtr &ptr)
 
 IpPtr ()
 
 IpPtr (const EthPacketPtr &ptr)
 
 IpPtr (const EthPtr &ptr)
 
 IpPtr (const IpPtr &ptr)
 
const IpHdrget () const
 
const IpHdroperator-> () const
 
const IpHdroperator* () const
 
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)
 

Protected Attributes

EthPacketPtr p
 
bool eth_hdr_vlan
 

Friends

class TcpPtr
 
class UdpPtr
 

Detailed Description

Definition at line 356 of file inet.hh.

Member Function Documentation

◆ get()

IpHdr * gem5::networking::IpPtr::get ( )
inline

Definition at line 389 of file inet.hh.

References eth_hdr_vlan, and p.

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

◆ operator*()

IpHdr & gem5::networking::IpPtr::operator* ( )
inline

Definition at line 392 of file inet.hh.

References get().

◆ operator->()

IpHdr * gem5::networking::IpPtr::operator-> ( )
inline

Definition at line 391 of file inet.hh.

References get().

◆ operator=() [1/3]

const IpPtr & gem5::networking::IpPtr::operator= ( const EthPacketPtr & ptr)
inline

Definition at line 405 of file inet.hh.

References gem5::ArmISA::set.

◆ operator=() [2/3]

const IpPtr & gem5::networking::IpPtr::operator= ( const EthPtr & ptr)
inline

Definition at line 406 of file inet.hh.

References gem5::networking::EthPtr::p, and gem5::ArmISA::set.

◆ operator=() [3/3]

const IpPtr & gem5::networking::IpPtr::operator= ( const IpPtr & ptr)
inline

Definition at line 407 of file inet.hh.

References p.

◆ set()

void gem5::networking::IpPtr::set ( const EthPacketPtr & ptr)
inlineprotected

Friends And Related Symbol Documentation

◆ TcpPtr

friend class TcpPtr
friend

Definition at line 359 of file inet.hh.

◆ UdpPtr

friend class UdpPtr
friend

Definition at line 360 of file inet.hh.

Member Data Documentation

◆ eth_hdr_vlan

bool gem5::networking::IpPtr::eth_hdr_vlan
protected

Definition at line 362 of file inet.hh.

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

◆ p

EthPacketPtr gem5::networking::IpPtr::p
protected

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