gem5  v20.1.0.0
Public Member Functions | List of all members
Net::TcpOpt Struct Reference

#include <inet.hh>

Inheritance diagram for Net::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 706 of file inet.hh.

Member Function Documentation

◆ bytes() [1/2]

uint8_t* Net::TcpOpt::bytes ( )
inline

Definition at line 727 of file inet.hh.

◆ bytes() [2/2]

const uint8_t* Net::TcpOpt::bytes ( ) const
inline

Definition at line 725 of file inet.hh.

Referenced by payload().

◆ cc()

uint32_t Net::TcpOpt::cc ( ) const
inline

Definition at line 720 of file inet.hh.

◆ cksum()

uint8_t Net::TcpOpt::cksum ( ) const
inline

Definition at line 721 of file inet.hh.

◆ data()

const uint8_t* Net::TcpOpt::data ( ) const
inline

Definition at line 713 of file inet.hh.

◆ echo()

uint32_t Net::TcpOpt::echo ( ) const
inline

Definition at line 717 of file inet.hh.

◆ isopt()

bool Net::TcpOpt::isopt ( int  opt) const
inline

Definition at line 711 of file inet.hh.

References type().

◆ len()

uint8_t Net::TcpOpt::len ( ) const
inline

Definition at line 709 of file inet.hh.

References type().

Referenced by Net::TcpHdr::options(), and size().

◆ md5()

const uint8_t* Net::TcpOpt::md5 ( ) const
inline

Definition at line 722 of file inet.hh.

◆ mss()

uint16_t Net::TcpOpt::mss ( ) const
inline

Definition at line 715 of file inet.hh.

◆ payload() [1/2]

uint8_t* Net::TcpOpt::payload ( )
inline

Definition at line 728 of file inet.hh.

References bytes(), and size().

◆ payload() [2/2]

const uint8_t* Net::TcpOpt::payload ( ) const
inline

Definition at line 726 of file inet.hh.

References bytes(), and size().

◆ size()

int Net::TcpOpt::size ( ) const
inline

Definition at line 724 of file inet.hh.

References len().

Referenced by payload().

◆ tsecr()

uint32_t Net::TcpOpt::tsecr ( ) const
inline

Definition at line 719 of file inet.hh.

◆ tsval()

uint32_t Net::TcpOpt::tsval ( ) const
inline

Definition at line 718 of file inet.hh.

◆ type()

uint8_t Net::TcpOpt::type ( ) const
inline

Definition at line 708 of file inet.hh.

Referenced by isopt(), and len().

◆ wscale()

uint8_t Net::TcpOpt::wscale ( ) const
inline

Definition at line 716 of file inet.hh.


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

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