249 tdata.range(36, 32) = offset(12, 8); }
251 tdata.range(36, 32)); }
279 ap_uint<16> swapWord(ap_uint<16> inpWord) {
280 return (inpWord.range(7,0), inpWord.range(15, 8));
283 ap_uint<32> swapDWord(ap_uint<32> inpDWord) {
284 return (inpDWord.range( 7, 0), inpDWord.range(15, 8),
285 inpDWord.range(23,16), inpDWord.range(31, 24));
288 ap_uint<48> swapMacAddr(ap_uint<48> macAddr) {
289 return (macAddr.range( 7, 0), macAddr.range(15, 8),
290 macAddr.range(23, 16), macAddr.range(31, 24),
291 macAddr.range(39, 32), macAddr.range(47, 40));
: A class to access an ARP data chunk transmitted over an AXI4-Stream interface.
: A class to access an IPv4 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...
LE_EtherType getLE_EtherType()
ap_uint< 16 > getEthSrcAddrHi()
LE_ArpTpaLo getLE_ArpTpaLo()
LE_Ip4Addr getLE_Ip4SrcAddr()
void setEthDstAddr(EthAddr addr)
LE_Ip4DstAddrHi getLE_Ip4DstAddrHi()
LE_ArpProtType getLE_ArpProtType()
void setArpTpaHi(ArpTargProtAddr tpa)
void setIp4DstAddrLo(Ip4Addr addr)
ap_uint< 32 > getEthSrcAddrLo()
ArpTargHwAddr getArpTha()
void setIp4TtL(Ip4TtL ttl)
void setEtherLen(EtherLen eLength)
LE_ArpTargHwAddr getLE_ArpTha()
void setIp4Version(Ip4Version ver)
Ip4DstAddrHi getIp4DstAddrHi()
void setArpProtLen(ArpProtLen plen)
void setEthertType(EtherType eType)
void setIp4TotalLen(Ip4TotalLen len)
Ip4Version getIp4Version()
void setArpSpa(ArpSendProtAddr spa)
Ip4DstAddrLo getIp4DstAddrLo()
ap_uint< 32 > getLE_EthSrcAddrLo()
void setIp4SrcAddr(Ip4Addr addr)
void setIp4Ident(Ip4Ident id)
LE_ArpHwType getLE_ArpHwType()
LE_EthAddr getLE_EthDstAddr()
LE_ArpOper getLE_ArpOper()
ArpProtLen getArpProtLen()
void setArpProtType(ArpProtType ptype)
void setIp4HdrCsum(Ip4HdrCsum csum)
LE_Ip4DstAddrLo getLE_Ip4DstAddrLo()
AxisEth(const AxisEth &axisEth)
void setArpOper(ArpOper oper)
EthTypeLen getEthTypelen()
Ip4FragOff getIp4FragOff()
void setIp4DstAddrHi(Ip4Addr addr)
Ip4TotalLen getIp4TotalLen()
LE_ArpShaHi getLE_ArpShaHi()
void setArpShaLo(ArpSendHwAddr sha)
void setIp4Prot(Ip4Prot prot)
AxisEth(LE_tData tdata, LE_tKeep tkeep, LE_tLast tlast)
void setArpTpaLo(ArpTargProtAddr tpa)
void setEthSrcAddrHi(EthAddr addr)
LE_ArpTpaHi getLE_ArpTpaHi()
void setEthSrcAddrLo(EthAddr addr)
void setArpShaHi(ArpSendHwAddr sha)
void setIp4FragOff(Ip4FragOff offset)
void setEthTypeLen(EthTypeLen eTyLe)
void setIp4ToS(Ip4ToS tos)
LE_ArpShaLo getLE_ArpShaLo()
void setArpHwLen(ArpHwLen hlen)
void setArpHwType(ArpHwType htype)
LE_ArpSendProtAddr getLE_ArpSpa()
void setArpTha(ArpTargHwAddr tha)
ArpSendProtAddr getArpSpa()
ArpProtType getArpProtType()
void setIp4HdrLen(Ip4HdrLen ihl)
void setIp4Flags(Ip4Flags flags)
ap_uint< 16 > getLE_EthSrcAddrHi()
Ip4HdrCsum getIp4HdrCsum()
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_Ip4DstAddrHi
ap_uint< 16 > ArpProtType
ap_uint< 48 > LE_EthSrcAddr
ap_uint< 16 > LE_EtherLen
ap_uint< 48 > ArpSendHwAddr
ap_uint< 32 > LE_ArpSendProtAddr
ap_uint< 16 > LE_Ip4DstAddrLo
ap_uint< 32 > ArpSendProtAddr
ap_uint< 32 > ArpTargProtAddr
ap_uint< 48 > LE_EthDstAddr
ap_uint< 16 > LE_ArpProtType
ap_uint< 16 > LE_ArpTpaLo
ap_uint< 48 > LE_EthAddress
ap_uint< 16 > Ip4DstAddrLo
ap_uint< 32 > LE_ArpShaLo
ap_uint< 16 > LE_ArpTpaHi
ap_uint< 16 > LE_EthTypeLen
ap_uint< 48 > LE_ArpTargHwAddr
ap_uint< 48 > ArpTargHwAddr
ap_uint< 16 > Ip4DstAddrHi
ap_uint< 16 > Ip4TotalLen
ap_uint< 16 > LE_EtherType
ap_uint< 16 > LE_ArpHwType
ap_uint< 16 > LE_ArpShaHi