gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::networking::UdpPtr Class Reference

#include <inet.hh>

Public Member Functions

 UdpPtr ()
 
 UdpPtr (const IpPtr &ptr)
 
 UdpPtr (const Ip6Ptr &ptr)
 
 UdpPtr (const UdpPtr &ptr)
 
UdpHdrget ()
 
UdpHdroperator-> ()
 
UdpHdroperator* ()
 
const UdpHdrget () const
 
const UdpHdroperator-> () const
 
const UdpHdroperator* () const
 
const UdpPtroperator= (const IpPtr &i)
 
const UdpPtroperator= (const UdpPtr &t)
 
const EthPacketPtr packet () const
 
EthPacketPtr packet ()
 
bool operator! () const
 
 operator bool () const
 
int off () const
 
int pstart () const
 

Protected Member Functions

void set (const EthPacketPtr &ptr, int offset)
 
void set (const IpPtr &ptr)
 
void set (const Ip6Ptr &ptr)
 

Protected Attributes

EthPacketPtr p
 
int _off
 

Detailed Description

Definition at line 759 of file inet.hh.

Constructor & Destructor Documentation

◆ UdpPtr() [1/3]

gem5::networking::UdpPtr::UdpPtr ( const IpPtr & ptr)
inline

Definition at line 786 of file inet.hh.

References gem5::ArmISA::set.

◆ UdpPtr() [2/3]

gem5::networking::UdpPtr::UdpPtr ( const Ip6Ptr & ptr)
inline

Definition at line 787 of file inet.hh.

References gem5::ArmISA::set.

◆ UdpPtr() [3/3]

gem5::networking::UdpPtr::UdpPtr ( const UdpPtr & ptr)
inline

Definition at line 788 of file inet.hh.

Member Function Documentation

◆ get() [1/2]

UdpHdr * gem5::networking::UdpPtr::get ( )
inline

Definition at line 791 of file inet.hh.

References _off, and p.

Referenced by operator*(), operator*(), operator->(), operator->(), and pstart().

◆ get() [2/2]

const UdpHdr * gem5::networking::UdpPtr::get ( ) const
inline

Definition at line 795 of file inet.hh.

References _off, and p.

◆ operator*() [1/2]

UdpHdr & gem5::networking::UdpPtr::operator* ( )
inline

Definition at line 793 of file inet.hh.

References get().

◆ operator*() [2/2]

const UdpHdr & gem5::networking::UdpPtr::operator* ( ) const
inline

Definition at line 797 of file inet.hh.

References get().

◆ operator->() [1/2]

UdpHdr * gem5::networking::UdpPtr::operator-> ( )
inline

Definition at line 792 of file inet.hh.

References get().

◆ operator->() [2/2]

const UdpHdr * gem5::networking::UdpPtr::operator-> ( ) const
inline

Definition at line 796 of file inet.hh.

References get().

◆ set() [1/3]

void gem5::networking::UdpPtr::set ( const EthPacketPtr & ptr,
int offset )
inlineprotected

Definition at line 765 of file inet.hh.

References _off, gem5::ArmISA::offset, and p.

◆ set() [2/3]

void gem5::networking::UdpPtr::set ( const Ip6Ptr & ptr)
inlineprotected

◆ set() [3/3]

void gem5::networking::UdpPtr::set ( const IpPtr & ptr)
inlineprotected

Member Data Documentation

◆ _off

int gem5::networking::UdpPtr::_off
protected

Definition at line 763 of file inet.hh.

Referenced by get(), get(), off(), and set().

◆ p

EthPacketPtr gem5::networking::UdpPtr::p
protected

Definition at line 762 of file inet.hh.

Referenced by get(), get(), operator bool(), operator!(), packet(), packet(), and set().


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

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