gem5  v22.0.0.2
Public Member Functions | List of all members
gem5::networking::Ip6Hdr Struct Reference

#include <inet.hh>

Inheritance diagram for gem5::networking::Ip6Hdr:

Public Member Functions

uint8_t version () const
 
uint32_t flow () const
 
uint16_t plen () const
 
uint16_t hlen () const
 
uint8_t nxt () const
 
uint8_t hlim () const
 
const uint8_t * src () const
 
const uint8_t * dst () const
 
int extensionLength () const
 
const Ip6OptgetExt (uint8_t ext) const
 
const Ip6OptfragmentExt () const
 
const Ip6OptrtTypeExt () const
 
const Ip6OptdstOptExt () const
 
uint8_t proto () const
 
void plen (uint16_t _plen)
 
int size () const
 
const uint8_t * bytes () const
 
const uint8_t * payload () const
 
uint8_t * bytes ()
 
uint8_t * payload ()
 

Detailed Description

Definition at line 457 of file inet.hh.

Member Function Documentation

◆ bytes() [1/2]

uint8_t* gem5::networking::Ip6Hdr::bytes ( )
inline

Definition at line 482 of file inet.hh.

◆ bytes() [2/2]

const uint8_t* gem5::networking::Ip6Hdr::bytes ( ) const
inline

Definition at line 479 of file inet.hh.

Referenced by extensionLength(), getExt(), payload(), and proto().

◆ dst()

const uint8_t* gem5::networking::Ip6Hdr::dst ( ) const
inline

Definition at line 467 of file inet.hh.

◆ dstOptExt()

const Ip6Opt* gem5::networking::Ip6Hdr::dstOptExt ( ) const
inline

Definition at line 473 of file inet.hh.

References getExt().

◆ extensionLength()

int gem5::networking::Ip6Hdr::extensionLength ( ) const

Definition at line 299 of file inet.cc.

References bytes(), data, gem5::ArmISA::ext, len, nxt(), and plen().

Referenced by payload(), and size().

◆ flow()

uint32_t gem5::networking::Ip6Hdr::flow ( ) const
inline

Definition at line 460 of file inet.hh.

◆ fragmentExt()

const Ip6Opt* gem5::networking::Ip6Hdr::fragmentExt ( ) const
inline

Definition at line 471 of file inet.hh.

References getExt().

◆ getExt()

const Ip6Opt * gem5::networking::Ip6Hdr::getExt ( uint8_t  ext) const

◆ hlen()

uint16_t gem5::networking::Ip6Hdr::hlen ( ) const
inline

Definition at line 462 of file inet.hh.

◆ hlim()

uint8_t gem5::networking::Ip6Hdr::hlim ( ) const
inline

Definition at line 464 of file inet.hh.

◆ nxt()

uint8_t gem5::networking::Ip6Hdr::nxt ( ) const
inline

Definition at line 463 of file inet.hh.

Referenced by extensionLength(), getExt(), and proto().

◆ payload() [1/2]

uint8_t* gem5::networking::Ip6Hdr::payload ( )
inline

Definition at line 483 of file inet.hh.

References bytes(), and extensionLength().

◆ payload() [2/2]

const uint8_t* gem5::networking::Ip6Hdr::payload ( ) const
inline

Definition at line 480 of file inet.hh.

References bytes(), and extensionLength().

◆ plen() [1/2]

uint16_t gem5::networking::Ip6Hdr::plen ( ) const
inline

Definition at line 461 of file inet.hh.

Referenced by extensionLength(), getExt(), and proto().

◆ plen() [2/2]

void gem5::networking::Ip6Hdr::plen ( uint16_t  _plen)
inline

Definition at line 476 of file inet.hh.

◆ proto()

uint8_t gem5::networking::Ip6Hdr::proto ( ) const

Definition at line 348 of file inet.cc.

References bytes(), data, gem5::ArmISA::ext, nxt(), and plen().

Referenced by gem5::networking::TcpPtr::set(), and gem5::networking::UdpPtr::set().

◆ rtTypeExt()

const Ip6Opt* gem5::networking::Ip6Hdr::rtTypeExt ( ) const
inline

Definition at line 472 of file inet.hh.

References getExt().

◆ size()

int gem5::networking::Ip6Hdr::size ( ) const
inline

Definition at line 478 of file inet.hh.

References extensionLength().

Referenced by gem5::networking::Ip6Ptr::pstart().

◆ src()

const uint8_t* gem5::networking::Ip6Hdr::src ( ) const
inline

Definition at line 466 of file inet.hh.

◆ version()

uint8_t gem5::networking::Ip6Hdr::version ( ) const
inline

Definition at line 459 of file inet.hh.


The documentation for this struct was generated from the following files:

Generated on Thu Jul 28 2022 13:34:10 for gem5 by doxygen 1.8.17