78 #define ICMP_HEADER_LEN 8
135 ap_uint<16> swapWord(ap_uint<16> inpWord) {
136 return (inpWord.range(7,0), inpWord.range(15, 8));
139 ap_uint<32> swapDWord(ap_uint<32> inpDWord) {
140 return (inpDWord.range( 7, 0), inpDWord.range(15, 8),
141 inpDWord.range(23,16), inpDWord.range(31, 24));
: A generic class used by the Network-Transport-Stack (NTS) to to transfer a chunk of data over an AX...
AxisIcmp(LE_tData tdata, LE_tKeep tkeep, LE_tLast tlast)
void setIcmpSeqNum(IcmpSeqNum num)
void setIcmpCsum(IcmpCsum csum)
IcmpSeqNum getIcmpSeqNum()
AxisIcmp(const AxisIcmp &axisIcmp)
void setIcmpIdent(IcmpIdent id)
void setIcmpType(IcmpType type)
void setIcmpCode(IcmpCode code)
AxisIcmp(AxisRaw axisRaw)
LE_tKeep getLE_TKeep(int leHi=64/8-1, int leLo=0) const
LE_tData getLE_TData(int leHi=64 -1, int leLo=0) const
LE_tLast getLE_TLast() const
ap_uint< 16 > LE_IcmpCsum