gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Net::Ip6Ptr Class Reference

#include <inet.hh>

Public Member Functions

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

Constructor & Destructor Documentation

Net::Ip6Ptr::Ip6Ptr ( )
inline

Definition at line 417 of file inet.hh.

Net::Ip6Ptr::Ip6Ptr ( const EthPacketPtr ptr)
inline

Definition at line 418 of file inet.hh.

References set().

Net::Ip6Ptr::Ip6Ptr ( const EthPtr ptr)
inline

Definition at line 419 of file inet.hh.

References Net::EthPtr::p, and set().

Net::Ip6Ptr::Ip6Ptr ( const Ip6Ptr ptr)
inline

Definition at line 420 of file inet.hh.

Member Function Documentation

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

Definition at line 422 of file inet.hh.

References eth_hdr_vlan, and p.

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

Definition at line 427 of file inet.hh.

References eth_hdr_vlan, and p.

int Net::Ip6Ptr::off ( ) const
inline

Definition at line 444 of file inet.hh.

References eth_hdr_vlan.

Referenced by pstart().

Net::Ip6Ptr::operator bool ( ) const
inline

Definition at line 443 of file inet.hh.

References p.

bool Net::Ip6Ptr::operator! ( ) const
inline

Definition at line 442 of file inet.hh.

References p.

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

Definition at line 425 of file inet.hh.

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

Definition at line 431 of file inet.hh.

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

Definition at line 424 of file inet.hh.

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

Definition at line 430 of file inet.hh.

const Ip6Ptr& Net::Ip6Ptr::operator= ( const EthPacketPtr ptr)
inline

Definition at line 433 of file inet.hh.

References set().

const Ip6Ptr& Net::Ip6Ptr::operator= ( const EthPtr ptr)
inline

Definition at line 435 of file inet.hh.

References Net::EthPtr::p, and set().

const Ip6Ptr& Net::Ip6Ptr::operator= ( const Ip6Ptr ptr)
inline

Definition at line 437 of file inet.hh.

References p.

const EthPacketPtr Net::Ip6Ptr::packet ( ) const
inline

Definition at line 440 of file inet.hh.

References p.

EthPacketPtr Net::Ip6Ptr::packet ( )
inline

Definition at line 441 of file inet.hh.

References p.

int Net::Ip6Ptr::pstart ( ) const
inline

Definition at line 445 of file inet.hh.

References off(), and X86ISA::size().

Referenced by Net::hsplit(), Net::TcpPtr::set(), and Net::UdpPtr::set().

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

Definition at line 402 of file inet.hh.

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

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

Friends And Related Function Documentation

friend class TcpPtr
friend

Definition at line 397 of file inet.hh.

friend class UdpPtr
friend

Definition at line 398 of file inet.hh.

Member Data Documentation

bool Net::Ip6Ptr::eth_hdr_vlan
protected

Definition at line 400 of file inet.hh.

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

EthPacketPtr Net::Ip6Ptr::p
protected

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

Generated on Fri Jun 9 2017 13:04:34 for gem5 by doxygen 1.8.6