gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Net::TcpPtr Class Reference

#include <inet.hh>

Public Member Functions

 TcpPtr ()
 
 TcpPtr (const IpPtr &ptr)
 
 TcpPtr (const Ip6Ptr &ptr)
 
 TcpPtr (const TcpPtr &ptr)
 
TcpHdrget ()
 
TcpHdroperator-> ()
 
TcpHdroperator* ()
 
const TcpHdrget () const
 
const TcpHdroperator-> () const
 
const TcpHdroperator* () const
 
const TcpPtroperator= (const IpPtr &i)
 
const TcpPtroperator= (const TcpPtr &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 535 of file inet.hh.

Constructor & Destructor Documentation

Net::TcpPtr::TcpPtr ( )
inline

Definition at line 558 of file inet.hh.

Net::TcpPtr::TcpPtr ( const IpPtr ptr)
inline

Definition at line 559 of file inet.hh.

References set().

Net::TcpPtr::TcpPtr ( const Ip6Ptr ptr)
inline

Definition at line 560 of file inet.hh.

References set().

Net::TcpPtr::TcpPtr ( const TcpPtr ptr)
inline

Definition at line 561 of file inet.hh.

Member Function Documentation

TcpHdr* Net::TcpPtr::get ( )
inline

Definition at line 563 of file inet.hh.

References _off, and p.

const TcpHdr* Net::TcpPtr::get ( ) const
inline

Definition at line 567 of file inet.hh.

References _off, and p.

int Net::TcpPtr::off ( ) const
inline

Definition at line 580 of file inet.hh.

References _off.

Referenced by pstart().

Net::TcpPtr::operator bool ( ) const
inline

Definition at line 579 of file inet.hh.

References p.

bool Net::TcpPtr::operator! ( ) const
inline

Definition at line 578 of file inet.hh.

References p.

TcpHdr& Net::TcpPtr::operator* ( )
inline

Definition at line 565 of file inet.hh.

const TcpHdr& Net::TcpPtr::operator* ( ) const
inline

Definition at line 569 of file inet.hh.

TcpHdr* Net::TcpPtr::operator-> ( )
inline

Definition at line 564 of file inet.hh.

const TcpHdr* Net::TcpPtr::operator-> ( ) const
inline

Definition at line 568 of file inet.hh.

const TcpPtr& Net::TcpPtr::operator= ( const IpPtr i)
inline

Definition at line 571 of file inet.hh.

References set().

const TcpPtr& Net::TcpPtr::operator= ( const TcpPtr t)
inline

Definition at line 573 of file inet.hh.

References _off, p, and set().

const EthPacketPtr Net::TcpPtr::packet ( ) const
inline

Definition at line 576 of file inet.hh.

References p.

Referenced by Net::cksum().

EthPacketPtr Net::TcpPtr::packet ( )
inline

Definition at line 577 of file inet.hh.

References p.

int Net::TcpPtr::pstart ( ) const
inline

Definition at line 581 of file inet.hh.

References off(), and X86ISA::size().

Referenced by Net::hsplit().

void Net::TcpPtr::set ( const EthPacketPtr ptr,
int  offset 
)
inlineprotected

Definition at line 541 of file inet.hh.

References _off, ArmISA::offset, and p.

Referenced by operator=(), set(), and TcpPtr().

void Net::TcpPtr::set ( const IpPtr ptr)
inlineprotected

Definition at line 542 of file inet.hh.

References Net::IpPtr::p, Net::IpHdr::proto(), Net::IpPtr::pstart(), and set().

void Net::TcpPtr::set ( const Ip6Ptr ptr)
inlineprotected

Definition at line 549 of file inet.hh.

References Net::Ip6Ptr::p, Net::Ip6Hdr::proto(), Net::Ip6Ptr::pstart(), and set().

Member Data Documentation

int Net::TcpPtr::_off
protected

Definition at line 539 of file inet.hh.

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

EthPacketPtr Net::TcpPtr::p
protected

Definition at line 538 of file inet.hh.

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


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

Generated on Fri Jun 9 2017 13:04:34 for gem5 by doxygen 1.8.6