163 ap_uint<16> swapWord(ap_uint<16> inpWord) {
164 return (inpWord.range(7,0), inpWord.range(15, 8));
167 ap_uint<32> swapDWord(ap_uint<32> inpDWord) {
168 return (inpDWord.range( 7, 0), inpDWord.range(15, 8),
169 inpDWord.range(23,16), inpDWord.range(31, 24));
172 ap_uint<48> swapMacAddr(ap_uint<48> macAddr) {
173 return (macAddr.range( 7, 0), macAddr.range(15, 8),
174 macAddr.range(23, 16), macAddr.range(31, 24),
175 macAddr.range(39, 32), macAddr.range(47, 40));
: A class to access an ETHernet data chunk transmitted over an AXI4-Stream interface.
: A generic class used by the Network-Transport-Stack (NTS) to to transfer a chunk of data over an AX...
AxisArp(const AxisArp &axisArp)
ArpHwType getArpHardwareType()
void setArpHardwareLength(ArpHwLen hlen)
void setArpProtocolLength(ArpProtLen plen)
ArpProtType getArpProtocolType()
AxisArp(LE_tData tdata, LE_tKeep tkeep, LE_tLast tlast)
void setArpSenderProtAddrLo(ArpSendProtAddr spa)
void setArpTargetHwAddr(ArpTargHwAddr tha)
void setArpHardwareType(ArpHwType htype)
ap_uint< 16 > getArpSenderProtAddrHi()
ArpOper getArpOperation()
ArpProtLen getArpProtocolLength()
ArpTargProtAddr getArpTargetProtAddr()
void setArpTargetProtAddr(ArpTargProtAddr tpa)
void setArpProtocolType(ArpProtType ptype)
void setArpOperation(ArpOper oper)
ap_uint< 32 > getArpSenderProtAddrLo()
ArpTargHwAddr getArpTargetHwAddr()
void setArpSenderHwAddr(ArpSendHwAddr sha)
void setArpSenderProtAddrHi(ArpSendProtAddr spa)
ArpSendHwAddr getArpSenderHwAddr()
ArpHwLen getArpHardwareLength()
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 > ArpProtType
ap_uint< 48 > ArpSendHwAddr
ap_uint< 32 > LE_ArpSendProtAddr
ap_uint< 32 > ArpSendProtAddr
ap_uint< 32 > ArpTargProtAddr
ap_uint< 16 > LE_ArpProtType
ap_uint< 48 > LE_ArpSendHwAddr
ap_uint< 16 > LE_ArpTpaLo
ap_uint< 32 > LE_ArpShaLo
ap_uint< 16 > LE_ArpTpaHi
ap_uint< 48 > LE_ArpTargHwAddr
ap_uint< 48 > ArpTargHwAddr
ap_uint< 32 > LE_ArpTargProtAddr
ap_uint< 16 > LE_ArpHwType
ap_uint< 8 > LE_ArpProtLen
ap_uint< 16 > LE_ArpShaHi