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

#include <inet.hh>

Public Member Functions

Ip6Hdrget ()
 
Ip6Hdroperator-> ()
 
Ip6Hdroperator* ()
 
const Ip6Hdrget () const
 
const Ip6Hdroperator-> () const
 
const Ip6Hdroperator* () const
 
 Ip6Ptr ()
 
 Ip6Ptr (const EthPacketPtr &ptr)
 
 Ip6Ptr (const EthPtr &ptr)
 
 Ip6Ptr (const Ip6Ptr &ptr)
 
const Ip6Ptroperator= (const EthPacketPtr &ptr)
 
const Ip6Ptroperator= (const EthPtr &ptr)
 
const Ip6Ptroperator= (const Ip6Ptr &ptr)
 
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 486 of file inet.hh.

Member Function Documentation

◆ get() [1/2]

Ip6Hdr * gem5::networking::Ip6Ptr::get ( )
inline

Definition at line 519 of file inet.hh.

References eth_hdr_vlan, and p.

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

◆ get() [2/2]

const Ip6Hdr * gem5::networking::Ip6Ptr::get ( ) const
inline

Definition at line 524 of file inet.hh.

References eth_hdr_vlan, and p.

◆ operator*() [1/2]

Ip6Hdr & gem5::networking::Ip6Ptr::operator* ( )
inline

Definition at line 522 of file inet.hh.

References get().

◆ operator*() [2/2]

const Ip6Hdr & gem5::networking::Ip6Ptr::operator* ( ) const
inline

Definition at line 528 of file inet.hh.

References get().

◆ operator->() [1/2]

Ip6Hdr * gem5::networking::Ip6Ptr::operator-> ( )
inline

Definition at line 521 of file inet.hh.

References get().

◆ operator->() [2/2]

const Ip6Hdr * gem5::networking::Ip6Ptr::operator-> ( ) const
inline

Definition at line 527 of file inet.hh.

References get().

◆ set()

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

Friends And Related Symbol Documentation

◆ TcpPtr

friend class TcpPtr
friend

Definition at line 489 of file inet.hh.

◆ UdpPtr

friend class UdpPtr
friend

Definition at line 490 of file inet.hh.

Member Data Documentation

◆ eth_hdr_vlan

bool gem5::networking::Ip6Ptr::eth_hdr_vlan
protected

Definition at line 492 of file inet.hh.

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

◆ p

EthPacketPtr gem5::networking::Ip6Ptr::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