gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::networking::TcpHdr Struct Reference

#include <inet.hh>

Inheritance diagram for gem5::networking::TcpHdr:

Public Member Functions

uint16_t sport () const
 
uint16_t dport () const
 
uint32_t seq () const
 
uint32_t ack () const
 
uint8_t off () const
 
uint8_t flags () const
 
uint16_t win () const
 
uint16_t sum () const
 
uint16_t urp () const
 
void sum (uint16_t sum)
 
void seq (uint32_t _seq)
 
void flags (uint8_t _flags)
 
bool options (std::vector< const TcpOpt * > &vec) 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 620 of file inet.hh.

Member Function Documentation

◆ ack()

uint32_t gem5::networking::TcpHdr::ack ( ) const
inline

Definition at line 625 of file inet.hh.

◆ bytes() [1/2]

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

Definition at line 641 of file inet.hh.

◆ bytes() [2/2]

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

Definition at line 639 of file inet.hh.

Referenced by options(), payload(), and payload().

◆ dport()

uint16_t gem5::networking::TcpHdr::dport ( ) const
inline

Definition at line 623 of file inet.hh.

◆ flags() [1/2]

uint8_t gem5::networking::TcpHdr::flags ( ) const
inline

Definition at line 627 of file inet.hh.

◆ flags() [2/2]

void gem5::networking::TcpHdr::flags ( uint8_t _flags)
inline

Definition at line 634 of file inet.hh.

◆ off()

uint8_t gem5::networking::TcpHdr::off ( ) const
inline

Definition at line 626 of file inet.hh.

Referenced by options(), and size().

◆ options()

bool gem5::networking::TcpHdr::options ( std::vector< const TcpOpt * > & vec) const

◆ payload() [1/2]

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

Definition at line 642 of file inet.hh.

References bytes(), and size().

◆ payload() [2/2]

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

Definition at line 640 of file inet.hh.

References bytes(), and size().

◆ seq() [1/2]

uint32_t gem5::networking::TcpHdr::seq ( ) const
inline

Definition at line 624 of file inet.hh.

◆ seq() [2/2]

void gem5::networking::TcpHdr::seq ( uint32_t _seq)
inline

Definition at line 633 of file inet.hh.

◆ size()

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

Definition at line 638 of file inet.hh.

References off().

Referenced by payload(), payload(), and gem5::networking::TcpPtr::pstart().

◆ sport()

uint16_t gem5::networking::TcpHdr::sport ( ) const
inline

Definition at line 622 of file inet.hh.

◆ sum() [1/2]

uint16_t gem5::networking::TcpHdr::sum ( ) const
inline

Definition at line 629 of file inet.hh.

◆ sum() [2/2]

void gem5::networking::TcpHdr::sum ( uint16_t sum)
inline

Definition at line 632 of file inet.hh.

References sum().

Referenced by sum().

◆ urp()

uint16_t gem5::networking::TcpHdr::urp ( ) const
inline

Definition at line 630 of file inet.hh.

◆ win()

uint16_t gem5::networking::TcpHdr::win ( ) const
inline

Definition at line 628 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