gem5  [DEVELOP-FOR-23.0]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 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->(), 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

Definition at line 494 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 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(), off(), and set().

◆ p

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

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

Generated on Sun Jul 30 2023 01:57:52 for gem5 by doxygen 1.8.17