cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
session_lookup_controller.cpp File Reference
Include dependency graph for session_lookup_controller.cpp:

Go to the source code of this file.

Macros

#define THIS_NAME   "TOE/SLc"
 
#define TRACE_OFF   0x0000
 
#define TRACE_LRH   1 << 1
 
#define TRACE_RLT   1 << 2
 
#define TRACE_SIM   1 << 3
 
#define TRACE_URH   1 << 4
 
#define TRACE_URS   1 << 5
 
#define DEBUG_LEVEL   (TRACE_OFF)
 

Functions

void pSessionIdManager (stream< RtlSessId > &siUrs_FreeId, stream< RtlSessId > &soLrh_FreeList)
 Session Id Manager (Sim) More...
 
void pLookupReplyHandler (stream< CamSessionLookupRequest > &soCAM_SessLookupReq, stream< CamSessionLookupReply > &siCAM_SessLookupRep, stream< CamSessionUpdateReply > &siUrh_SessUpdateRsp, stream< SessionLookupQuery > &siRXe_SessLookupReq, stream< SessionLookupReply > &soRXe_SessLookupRep, stream< SocketPair > &siTAi_SessLookupReq, stream< SessionLookupReply > &soTAi_SessLookupRep, stream< RtlSessId > &siSim_FreeList, stream< CamSessionUpdateRequest > &soUrs_InsertSessReq, stream< SLcReverseLkp > &soRlt_ReverseLkpRsp)
 Lookup Reply Handler (Lrh) More...
 
void pUpdateRequestSender (stream< CamSessionUpdateRequest > &siLrh_InsertSessReq, stream< CamSessionUpdateRequest > &siRlt_SessDeleteReq, stream< CamSessionUpdateRequest > &soCAM_SessUpdateReq, stream< RtlSessId > &soSim_FreeId, stream< ap_uint< 16 > > &soSssRelCnt, stream< ap_uint< 16 > > &soSssRegCnt)
 Update Request Sender (Urs) More...
 
void pUpdateReplyHandler (stream< CamSessionUpdateReply > &siCAM_SessUpdateRep, stream< CamSessionUpdateReply > &soLrh_SessUpdateRsp)
 Update Reply Handler (Urh) More...
 
void pReverseLookupTable (stream< SLcReverseLkp > &siLrh_ReverseLkpRsp, stream< SessionId > &siSTt_SessReleaseCmd, stream< SessionId > &siTXe_ReverseLkpReq, stream< fourTuple > &soTXe_ReverseLkpRep, stream< TcpPort > &soPRt_ClosePortCmd, stream< CamSessionUpdateRequest > &soUrs_SessDeleteReq)
 Reverse Lookup Table (Rlt) More...
 
void session_lookup_controller (stream< SessionLookupQuery > &siRXe_SessLookupReq, stream< SessionLookupReply > &soRXe_SessLookupRep, stream< SessionId > &siSTt_SessReleaseCmd, stream< TcpPort > &soPRt_ClosePortCmd, stream< SocketPair > &siTAi_SessLookupReq, stream< SessionLookupReply > &soTAi_SessLookupRep, stream< SessionId > &siTXe_ReverseLkpReq, stream< fourTuple > &soTXe_ReverseLkpRep, stream< CamSessionLookupRequest > &soCAM_SessLookupReq, stream< CamSessionLookupReply > &siCAM_SessLookupRep, stream< CamSessionUpdateRequest > &soCAM_SessUpdateReq, stream< CamSessionUpdateReply > &siCAM_SessUpdateRep, stream< ap_uint< 16 > > &soSssRelCnt, stream< ap_uint< 16 > > &soSssRegCnt)
 Session Lookup Controller (SLc) More...
 

Variables

bool gTraceEvent