gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 456 of file inet.hh.

Member Function Documentation

◆ bytes() [1/2]

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

Definition at line 481 of file inet.hh.

◆ bytes() [2/2]

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

Definition at line 478 of file inet.hh.

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

◆ dst()

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

Definition at line 466 of file inet.hh.

◆ dstOptExt()

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

Definition at line 472 of file inet.hh.

References getExt().

◆ extensionLength()

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

◆ flow()

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

Definition at line 459 of file inet.hh.

◆ fragmentExt()

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

Definition at line 470 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 461 of file inet.hh.

◆ hlim()

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

Definition at line 463 of file inet.hh.

◆ nxt()

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

Definition at line 462 of file inet.hh.

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

◆ payload() [1/2]

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

Definition at line 482 of file inet.hh.

References bytes(), and extensionLength().

◆ payload() [2/2]

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

Definition at line 479 of file inet.hh.

References bytes(), and extensionLength().

◆ plen() [1/2]

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

Definition at line 460 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 475 of file inet.hh.

◆ proto()

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

◆ rtTypeExt()

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

Definition at line 471 of file inet.hh.

References getExt().

◆ size()

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

Definition at line 477 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 465 of file inet.hh.

◆ version()

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

Definition at line 458 of file inet.hh.


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

Generated on Tue Jun 18 2024 16:24:20 for gem5 by doxygen 1.11.0