gem5  v22.1.0.0
Public Member Functions | List of all members
gem5::networking::TcpOpt Struct Reference

#include <inet.hh>

Inheritance diagram for gem5::networking::TcpOpt:

Public Member Functions

uint8_t type () const
 
uint8_t len () const
 
bool isopt (int opt) const
 
const uint8_t * data () const
 
uint16_t mss () const
 
uint8_t wscale () const
 
uint32_t echo () const
 
uint32_t tsval () const
 
uint32_t tsecr () const
 
uint32_t cc () const
 
uint8_t cksum () const
 
const uint8_t * md5 () const
 
int size () const
 
const uint8_t * bytes () const
 
const uint8_t * payload () const
 
uint8_t * bytes ()
 
uint8_t * payload ()
 

Detailed Description

Definition at line 715 of file inet.hh.

Member Function Documentation

◆ bytes() [1/2]

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

Definition at line 736 of file inet.hh.

◆ bytes() [2/2]

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

Definition at line 734 of file inet.hh.

Referenced by payload().

◆ cc()

uint32_t gem5::networking::TcpOpt::cc ( ) const
inline

Definition at line 729 of file inet.hh.

◆ cksum()

uint8_t gem5::networking::TcpOpt::cksum ( ) const
inline

Definition at line 730 of file inet.hh.

◆ data()

const uint8_t* gem5::networking::TcpOpt::data ( ) const
inline

Definition at line 722 of file inet.hh.

◆ echo()

uint32_t gem5::networking::TcpOpt::echo ( ) const
inline

Definition at line 726 of file inet.hh.

◆ isopt()

bool gem5::networking::TcpOpt::isopt ( int  opt) const
inline

Definition at line 720 of file inet.hh.

References type().

◆ len()

uint8_t gem5::networking::TcpOpt::len ( ) const
inline

Definition at line 718 of file inet.hh.

References type().

Referenced by gem5::networking::TcpHdr::options(), and size().

◆ md5()

const uint8_t* gem5::networking::TcpOpt::md5 ( ) const
inline

Definition at line 731 of file inet.hh.

◆ mss()

uint16_t gem5::networking::TcpOpt::mss ( ) const
inline

Definition at line 724 of file inet.hh.

◆ payload() [1/2]

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

Definition at line 737 of file inet.hh.

References bytes(), and size().

◆ payload() [2/2]

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

Definition at line 735 of file inet.hh.

References bytes(), and size().

◆ size()

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

Definition at line 733 of file inet.hh.

References len().

Referenced by payload().

◆ tsecr()

uint32_t gem5::networking::TcpOpt::tsecr ( ) const
inline

Definition at line 728 of file inet.hh.

◆ tsval()

uint32_t gem5::networking::TcpOpt::tsval ( ) const
inline

Definition at line 727 of file inet.hh.

◆ type()

uint8_t gem5::networking::TcpOpt::type ( ) const
inline

Definition at line 717 of file inet.hh.

Referenced by isopt(), and len().

◆ wscale()

uint8_t gem5::networking::TcpOpt::wscale ( ) const
inline

Definition at line 725 of file inet.hh.


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

Generated on Wed Dec 21 2022 10:24:17 for gem5 by doxygen 1.9.1