60 #include "../../../../../NTS/nts.hpp"
61 #include "../../../../../NTS/nts_utils.hpp"
62 #include "../../../../../NTS/toe/src/toe.hpp"
63 #include "../../../../../NTS/toe/src/toe_utils.hpp"
64 #include "../../../../../NTS/SimNtsUtils.hpp"
65 #include "../../../../../NTS/AxisIp4.hpp"
66 #include "../../../../../NTS/AxisPsd4.hpp"
84 TXeMeta(ap_uint<1> ack, ap_uint<1> rst, ap_uint<1> syn, ap_uint<1> fin)
85 : seqNumb(0), ackNumb(0), winSize(0), length(0), ack(ack), rst(rst), syn(syn), fin(fin) {}
87 : seqNumb(seqNumb), ackNumb(ackNumb), winSize(0), length(0), ack(ack), rst(rst), syn(syn), fin(fin) {}
89 : seqNumb(seqNumb), ackNumb(ackNumb), winSize(winSize), length(0), ack(ack), rst(rst), syn(syn), fin(fin) {}
104 sum0(sums[0]), sum1(sums[1]), sum2(sums[2]), sum3(sums[3]) {}
105 SubCSums(ap_uint<17> s0, ap_uint<17> s1, ap_uint<17> s2, ap_uint<17> s3) :
106 sum0(s0), sum1(s1), sum2(s2), sum3(s3) {}
119 src(src), dst(dst) {}
129 stream<ExtendedEvent> &siAKd_Event,
130 stream<SigBit> &soEVe_RxEventSig,
132 stream<SessionId> &soRSt_RxSarReq,
133 stream<RxSarReply> &siRSt_RxSarRep,
135 stream<TXeTxSarQuery> &soTSt_TxSarQry,
136 stream<TXeTxSarReply> &siTSt_TxSarRep,
138 stream<DmCmd> &soMEM_Txp_RdCmd,
139 stream<AxisApp> &siMEM_TxP_Data,
141 stream<TXeReTransTimerCmd> &soTIm_ReTxTimerEvent,
142 stream<ap_uint<16> > &soTIm_SetProbeTimer,
144 stream<SessionId> &soSLc_ReverseLkpReq,
145 stream<fourTuple> &siSLc_ReverseLkpRep,
147 stream<AxisIp4> &soIPTX_Data
IpAddrPair(Ip4Addr src, Ip4Addr dst)
void tx_engine(stream< ExtendedEvent > &siAKd_Event, stream< SigBit > &soEVe_RxEventSig, stream< SessionId > &soRSt_RxSarReq, stream< RxSarReply > &siRSt_RxSarRep, stream< TXeTxSarQuery > &soTSt_TxSarQry, stream< TXeTxSarReply > &siTSt_TxSarRep, stream< DmCmd > &soMEM_Txp_RdCmd, stream< AxisApp > &siMEM_TxP_Data, stream< TXeReTransTimerCmd > &soTIm_ReTxTimerCmd, stream< SessionId > &soTIm_SetProbeTimer, stream< SessionId > &soSLc_ReverseLkpReq, stream< fourTuple > &siSLc_ReverseLkpRep, stream< AxisIp4 > &soIPTX_Data)
Transmit Engine (TXe)
SubCSums(ap_uint< 17 > sums[4])
SubCSums(ap_uint< 17 > s0, ap_uint< 17 > s1, ap_uint< 17 > s2, ap_uint< 17 > s3)