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

Member Function Documentation

◆ get() [1/2]

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

Definition at line 520 of file inet.hh.

References eth_hdr_vlan, and p.

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

◆ get() [2/2]

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

Definition at line 525 of file inet.hh.

References eth_hdr_vlan, and p.

◆ operator*() [1/2]

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

Definition at line 523 of file inet.hh.

References get().

◆ operator*() [2/2]

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

Definition at line 529 of file inet.hh.

References get().

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

◆ set()

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

Definition at line 495 of file inet.hh.

References eth_hdr_vlan, gem5::networking::EthHdr::isVlan(), p, and gem5::networking::EthHdr::type().

Referenced by Ip6Ptr(), and operator=().

Friends And Related Function Documentation

◆ TcpPtr

friend class TcpPtr
friend

Definition at line 490 of file inet.hh.

◆ UdpPtr

friend class UdpPtr
friend

Definition at line 491 of file inet.hh.

Member Data Documentation

◆ eth_hdr_vlan

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

Definition at line 493 of file inet.hh.

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

◆ p

EthPacketPtr gem5::networking::Ip6Ptr::p
protected

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