cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
tcp_shell_if.hpp File Reference

: TCP Shell Interface (TSIF) More...

#include <hls_stream.h>
#include "ap_int.h"
#include "../../../../cFDK/SRA/LIB/SHELL/LIB/hls/NTS/nts.hpp"
#include "../../../../cFDK/SRA/LIB/SHELL/LIB/hls/NTS/nts_utils.hpp"
Include dependency graph for tcp_shell_if.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ForwardCmd
 
class  InterruptEntry
 
class  InterruptQuery
 

Macros

#define RECV_MODE_LSN_PORT   8800
 
#define XMIT_MODE_LSN_PORT   8801
 
#define ECHO_MOD2_LSN_PORT   8802
 
#define ECHO_MODE_LSN_PORT   8803
 
#define IPERF_LSN_PORT   5001
 
#define IPREF3_LSN_PORT   5201
 
#define FIXME_DEFAULT_HOST_IP4_ADDR   0x0A0CC832
 
#define FIXME_DEFAULT_HOST_LSN_PORT   8803+0x8000
 
#define GEN_CHK0   0x48692066726f6d20
 
#define GEN_CHK1   0x464d4b553630210a
 

Enumerations

enum  DropCode { NOP =0 , GEN }
 
enum  QueryCmd { GET =0 , PUT , POST }
 

Functions

void tcp_shell_if (CmdBit *piSHL_Mmio_En, stream< TcpAppData > &siTAF_Data, stream< TcpSessId > &siTAF_SessId, stream< TcpDatLen > &siTAF_DatLen, stream< TcpAppData > &soTAF_Data, stream< TcpSessId > &soTAF_SessId, stream< TcpDatLen > &soTAF_DatLen, stream< TcpAppNotif > &siSHL_Notif, stream< TcpAppRdReq > &soSHL_DReq, stream< TcpAppData > &siSHL_Data, stream< TcpAppMeta > &siSHL_Meta, stream< TcpAppLsnReq > &soSHL_LsnReq, stream< TcpAppLsnRep > &siSHL_LsnRep, stream< TcpAppData > &soSHL_Data, stream< TcpAppSndReq > &soSHL_SndReq, stream< TcpAppSndRep > &siSHL_SndRep, stream< TcpAppOpnReq > &soSHL_OpnReq, stream< TcpAppOpnRep > &siSHL_OpnRep, stream< TcpAppClsReq > &soSHL_ClsReq, stream< ap_uint< 32 > > &soDBG_SinkCnt, stream< ap_uint< 16 > > &soDBG_InpBufSpace)
 TCP Shell Interface (TSIF) More...
 

Variables

const int cDepth_IRbToRDp_Data = 256
 
const int cDepth_IRbToRDp_Meta = 256
 
const int cDepth_RNhToRRh_Notif = 64
 
const int cDepth_RRhToRDp_FwdCmd = 8
 
const int cDepth_RRhToRRm_DReq = cDepth_RRhToRDp_FwdCmd
 
const int cDepth_RDpToRRh_Dequeue = 4
 
const int cDepth_RDpToCOn_OpnSockReq = 2
 
const int cDepth_RDpToCOn_TxCountReq = cDepth_RDpToCOn_OpnSockReq
 
const int cDepth_COnToWRp_TxBytesReq = 2
 
const int cDepth_COnToWRp_TxSessId = cDepth_COnToWRp_TxBytesReq
 
const int cMaxSessions = TOE_MAX_SESSIONS
 
const int cIBuffBytes = cDepth_IRbToRDp_Data * (ARW/8)
 
const int cMinDataReqLen = 128
 

Detailed Description

: TCP Shell Interface (TSIF)

System: : cloudFPGA Component : cFp_HelloKale / ROLE Language : Vivado HLS

Definition in file tcp_shell_if.hpp.