gem5 v25.0.0.1
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 IpPtr(), and 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 IpPtr(), 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 IpPtr(), and p.

◆ set()

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

◆ TcpPtr

friend class TcpPtr
friend

Definition at line 359 of file inet.hh.

References TcpPtr.

Referenced by TcpPtr.

◆ UdpPtr

friend class UdpPtr
friend

Definition at line 360 of file inet.hh.

References UdpPtr.

Referenced by UdpPtr.

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(), IpPtr(), IpPtr(), IpPtr(), IpPtr(), off(), and set().

◆ p


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

Generated on Sat Oct 18 2025 08:07:00 for gem5 by doxygen 1.14.0