cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
rstEvent Struct Reference

#include <toe.hpp>

Inheritance diagram for rstEvent:
[legend]
Collaboration diagram for rstEvent:
[legend]

Public Member Functions

 rstEvent ()
 
 rstEvent (const Event &ev)
 
 rstEvent (RxSeqNum seq)
 
 rstEvent (SessionId id, RxSeqNum seq)
 
 rstEvent (SessionId id, RxSeqNum seq, bool hasSessionID)
 
TxAckNum getAckNumb ()
 
bool hasSessionID ()
 
- Public Member Functions inherited from Event
 Event ()
 
 Event (EventType type, SessionId id)
 
 Event (EventType type, SessionId id, ap_uint< 3 > rt_count)
 
 Event (EventType type, SessionId id, ap_uint< 16 > addr, ap_uint< 16 > len)
 
 Event (EventType type, SessionId id, ap_uint< 16 > addr, ap_uint< 16 > len, ap_uint< 3 > rt_count)
 

Additional Inherited Members

- Public Attributes inherited from Event
EventType type
 
SessionId sessionID
 
TcpBufAdr address
 
TcpSegLen length
 
ap_uint< 3 > rt_count
 

Detailed Description

Definition at line 696 of file toe.hpp.

Constructor & Destructor Documentation

◆ rstEvent() [1/5]

rstEvent::rstEvent ( )
inline

Definition at line 698 of file toe.hpp.

698 {}

◆ rstEvent() [2/5]

rstEvent::rstEvent ( const Event ev)
inline

Definition at line 699 of file toe.hpp.

699  :
700  Event(ev.type, ev.sessionID, ev.address, ev.length, ev.rt_count) {}
TcpBufAdr address
Definition: toe.hpp:665
Event()
Definition: toe.hpp:668
ap_uint< 3 > rt_count
Definition: toe.hpp:667
SessionId sessionID
Definition: toe.hpp:664
EventType type
Definition: toe.hpp:663
TcpSegLen length
Definition: toe.hpp:666

◆ rstEvent() [3/5]

rstEvent::rstEvent ( RxSeqNum  seq)
inline

Definition at line 701 of file toe.hpp.

701  : //:Event(RST, 0, false), seq(seq) {}
702  Event(RST_EVENT, 0, seq(31, 16), seq(15, 0), 0) {}
@ RST_EVENT
Definition: toe.hpp:274

◆ rstEvent() [4/5]

rstEvent::rstEvent ( SessionId  id,
RxSeqNum  seq 
)
inline

Definition at line 703 of file toe.hpp.

703  :
704  Event(RST_EVENT, id, seq(31, 16), seq(15, 0), 1) {} //:Event(RST, id, true), seq(seq) {}

◆ rstEvent() [5/5]

rstEvent::rstEvent ( SessionId  id,
RxSeqNum  seq,
bool  hasSessionID 
)
inline

Definition at line 705 of file toe.hpp.

705  :
706  Event(RST_EVENT, id, seq(31, 16), seq(15, 0), hasSessionID) {} //:Event(RST, id, hasSessionID), seq(seq) {}
bool hasSessionID()
Definition: toe.hpp:713

Member Function Documentation

◆ getAckNumb()

TxAckNum rstEvent::getAckNumb ( )
inline

Definition at line 707 of file toe.hpp.

707  {
708  RxSeqNum seq;
709  seq(31, 16) = address;
710  seq(15, 0) = length;
711  return seq;
712  }
TcpSeqNum RxSeqNum
Definition: toe.hpp:290

◆ hasSessionID()

bool rstEvent::hasSessionID ( )
inline

Definition at line 713 of file toe.hpp.

713  {
714  return (rt_count != 0);
715  }
Here is the caller graph for this function:

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