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

Member Function Documentation

◆ get() [1/2]

Ip6Hdr* Net::Ip6Ptr::get ( )
inline

Definition at line 514 of file inet.hh.

References eth_hdr_vlan, and p.

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

◆ get() [2/2]

const Ip6Hdr* Net::Ip6Ptr::get ( ) const
inline

Definition at line 519 of file inet.hh.

References eth_hdr_vlan, and p.

◆ operator*() [1/2]

Ip6Hdr& Net::Ip6Ptr::operator* ( )
inline

Definition at line 517 of file inet.hh.

References get().

◆ operator*() [2/2]

const Ip6Hdr& Net::Ip6Ptr::operator* ( ) const
inline

Definition at line 523 of file inet.hh.

References get().

◆ operator->() [1/2]

Ip6Hdr* Net::Ip6Ptr::operator-> ( )
inline

Definition at line 516 of file inet.hh.

References get().

◆ operator->() [2/2]

const Ip6Hdr* Net::Ip6Ptr::operator-> ( ) const
inline

Definition at line 522 of file inet.hh.

References get().

◆ set()

void Net::Ip6Ptr::set ( const EthPacketPtr ptr)
inlineprotected

Definition at line 489 of file inet.hh.

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

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

Friends And Related Function Documentation

◆ TcpPtr

friend class TcpPtr
friend

Definition at line 484 of file inet.hh.

◆ UdpPtr

friend class UdpPtr
friend

Definition at line 485 of file inet.hh.

Member Data Documentation

◆ eth_hdr_vlan

bool Net::Ip6Ptr::eth_hdr_vlan
protected

Definition at line 487 of file inet.hh.

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

◆ p

EthPacketPtr Net::Ip6Ptr::p
protected

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

Generated on Wed Sep 30 2020 14:03:07 for gem5 by doxygen 1.8.17