cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
AxisEth Class Reference

#include <AxisEth.hpp>

Inheritance diagram for AxisEth:
[legend]
Collaboration diagram for AxisEth:
[legend]

Public Member Functions

 AxisEth ()
 
 AxisEth (AxisRaw axisRaw)
 
 AxisEth (LE_tData tdata, LE_tKeep tkeep, LE_tLast tlast)
 
 AxisEth (const AxisEth &axisEth)
 
void setEthDstAddr (EthAddr addr)
 
EthAddr getEthDstAddr ()
 
void setEthSrcAddrHi (EthAddr addr)
 
ap_uint< 16 > getEthSrcAddrHi ()
 
void setEthSrcAddrLo (EthAddr addr)
 
ap_uint< 32 > getEthSrcAddrLo ()
 
void setEthTypeLen (EthTypeLen eTyLe)
 
EthTypeLen getEthTypelen ()
 
void setEthertType (EtherType eType)
 
EtherType getEtherType ()
 
void setEtherLen (EtherLen eLength)
 
EtherLen getEtherLen ()
 
LE_EthAddr getLE_EthDstAddr ()
 
ap_uint< 16 > getLE_EthSrcAddrHi ()
 
ap_uint< 32 > getLE_EthSrcAddrLo ()
 
LE_EtherType getLE_EtherType ()
 
void setArpHwType (ArpHwType htype)
 
ArpHwType getArpHwType ()
 
void setArpProtType (ArpProtType ptype)
 
ArpProtType getArpProtType ()
 
void setArpHwLen (ArpHwLen hlen)
 
ArpHwLen getArpHwLen ()
 
void setArpProtLen (ArpProtLen plen)
 
ArpProtLen getArpProtLen ()
 
void setArpOper (ArpOper oper)
 
ArpOper getArpOper ()
 
void setArpShaHi (ArpSendHwAddr sha)
 
ArpShaHi getArpShaHi ()
 
void setArpShaLo (ArpSendHwAddr sha)
 
ArpShaLo getArpShaLo ()
 
void setArpSpa (ArpSendProtAddr spa)
 
ArpSendProtAddr getArpSpa ()
 
void setArpTha (ArpTargHwAddr tha)
 
ArpTargHwAddr getArpTha ()
 
void setArpTpaHi (ArpTargProtAddr tpa)
 
ArpTpaHi getArpTpaHi ()
 
void setArpTpaLo (ArpTargProtAddr tpa)
 
ArpTpaLo getArpTpaLo ()
 
LE_ArpHwType getLE_ArpHwType ()
 
LE_ArpProtType getLE_ArpProtType ()
 
LE_ArpOper getLE_ArpOper ()
 
LE_ArpShaHi getLE_ArpShaHi ()
 
LE_ArpShaLo getLE_ArpShaLo ()
 
LE_ArpSendProtAddr getLE_ArpSpa ()
 
LE_ArpTargHwAddr getLE_ArpTha ()
 
LE_ArpTpaHi getLE_ArpTpaHi ()
 
LE_ArpTpaLo getLE_ArpTpaLo ()
 
void setIp4Version (Ip4Version ver)
 
Ip4Version getIp4Version ()
 
void setIp4HdrLen (Ip4HdrLen ihl)
 
Ip4HdrLen getIp4HdrLen ()
 
void setIp4ToS (Ip4ToS tos)
 
Ip4ToS getIp4ToS ()
 
void setIp4TotalLen (Ip4TotalLen len)
 
Ip4TotalLen getIp4TotalLen ()
 
void setIp4Ident (Ip4Ident id)
 
Ip4Ident getIp4Ident ()
 
void setIp4FragOff (Ip4FragOff offset)
 
Ip4FragOff getIp4FragOff ()
 
void setIp4Flags (Ip4Flags flags)
 
void setIp4TtL (Ip4TtL ttl)
 
Ip4TtL getIp4Ttl ()
 
void setIp4Prot (Ip4Prot prot)
 
Ip4Prot getIp4Prot ()
 
void setIp4HdrCsum (Ip4HdrCsum csum)
 
Ip4HdrCsum getIp4HdrCsum ()
 
void setIp4SrcAddr (Ip4Addr addr)
 
Ip4Addr getIp4SrcAddr ()
 
void setIp4DstAddrHi (Ip4Addr addr)
 
Ip4DstAddrHi getIp4DstAddrHi ()
 
void setIp4DstAddrLo (Ip4Addr addr)
 
Ip4DstAddrLo getIp4DstAddrLo ()
 
LE_Ip4Addr getLE_Ip4SrcAddr ()
 
LE_Ip4DstAddrHi getLE_Ip4DstAddrHi ()
 
LE_Ip4DstAddrLo getLE_Ip4DstAddrLo ()
 
- Public Member Functions inherited from AxisRaw
 AxisRaw ()
 
 AxisRaw (LE_tData tdata, LE_tKeep tkeep, LE_tLast tlast)
 
tData getTData (int leHi=64 -1, int leLo=0) const
 
tKeep getTKeep (int leHi=64/8-1, int leLo=0) const
 
tLast getTLast () const
 
void setTData (tData data)
 
void setTKeep (tKeep keep)
 
void setTLast (tLast last)
 
LE_tData getLE_TData (int leHi=64 -1, int leLo=0) const
 
LE_tKeep getLE_TKeep (int leHi=64/8-1, int leLo=0) const
 
LE_tLast getLE_TLast () const
 
void setLE_TData (LE_tData data, int leHi=64 -1, int leLo=0)
 
void setLE_TKeep (LE_tKeep keep, int leHi=64/8-1, int leLo=0)
 
void setLE_TLast (LE_tLast last)
 
tDataHalf getTDataHi () const
 
tDataHalf getTDataLo () const
 
tKeepHalf getTKeepHi () const
 
tKeepHalf getTKeepLo () const
 
void setTDataHi (tDataHalf halfData)
 
void setTDataLo (tDataHalf halfData)
 
void setTKeepHi (tKeepHalf halfKeep)
 
void setTKeepLo (tKeepHalf halfKeep)
 
LE_tDataHalf getLE_TDataHi () const
 
LE_tDataHalf getLE_TDataLo () const
 
void setLE_TDataHi (LE_tData data)
 
void setLE_TDataLo (LE_tData data)
 
void clearUnusedBytes ()
 
int getLen () const
 
int getLenHi ()
 
int getLenLo ()
 
bool isValid () const
 

Additional Inherited Members

- Protected Member Functions inherited from AxisRaw
int keepToLen () const
 
- Protected Attributes inherited from AxisRaw
LE_tData tdata
 
LE_tKeep tkeep
 
LE_tLast tlast
 

Detailed Description

ETH Data over AXI4-STREAMING As Encoded by the 10GbE MAC (.i.e LITTLE-ENDIAN order).

Definition at line 143 of file AxisEth.hpp.

Constructor & Destructor Documentation

◆ AxisEth() [1/4]

AxisEth::AxisEth ( )
inline

Definition at line 146 of file AxisEth.hpp.

146 {}

◆ AxisEth() [2/4]

AxisEth::AxisEth ( AxisRaw  axisRaw)
inline

Definition at line 147 of file AxisEth.hpp.

147  :
148  AxisRaw(axisRaw.getLE_TData(), axisRaw.getLE_TKeep(), axisRaw.getLE_TLast()) {}
LE_tKeep getLE_TKeep(int leHi=64/8-1, int leLo=0) const
Definition: AxisRaw.hpp:264
AxisRaw()
Definition: AxisRaw.hpp:178
LE_tData getLE_TData(int leHi=64 -1, int leLo=0) const
Definition: AxisRaw.hpp:260
LE_tLast getLE_TLast() const
Definition: AxisRaw.hpp:268

◆ AxisEth() [3/4]

AxisEth::AxisEth ( LE_tData  tdata,
LE_tKeep  tkeep,
LE_tLast  tlast 
)
inline

Definition at line 149 of file AxisEth.hpp.

149  :
150  AxisRaw(tdata, tkeep, tlast) {}
LE_tData tdata
Definition: AxisRaw.hpp:173
LE_tKeep tkeep
Definition: AxisRaw.hpp:174
LE_tLast tlast
Definition: AxisRaw.hpp:175

◆ AxisEth() [4/4]

AxisEth::AxisEth ( const AxisEth axisEth)
inline

Definition at line 151 of file AxisEth.hpp.

151  :
152  AxisRaw(axisEth.tdata, axisEth.tkeep, axisEth.tlast) {}

Member Function Documentation

◆ getArpHwLen()

ArpHwLen AxisEth::getArpHwLen ( )
inline

Definition at line 192 of file AxisEth.hpp.

192 { return tdata.range(23, 16); }
Here is the caller graph for this function:

◆ getArpHwType()

ArpHwType AxisEth::getArpHwType ( )
inline

Definition at line 186 of file AxisEth.hpp.

186 { return swapWord(tdata.range(63, 48)); }
Here is the caller graph for this function:

◆ getArpOper()

ArpOper AxisEth::getArpOper ( )
inline

Definition at line 198 of file AxisEth.hpp.

198 { return swapWord(tdata.range(47, 32)); }
Here is the caller graph for this function:

◆ getArpProtLen()

ArpProtLen AxisEth::getArpProtLen ( )
inline

Definition at line 195 of file AxisEth.hpp.

195 { return tdata.range(31, 24); }
Here is the caller graph for this function:

◆ getArpProtType()

ArpProtType AxisEth::getArpProtType ( )
inline

Definition at line 189 of file AxisEth.hpp.

189 { return swapWord(tdata.range(15, 0)); }
Here is the caller graph for this function:

◆ getArpShaHi()

ArpShaHi AxisEth::getArpShaHi ( )
inline

Definition at line 201 of file AxisEth.hpp.

201 { return swapWord(tdata.range(63, 48)); }
Here is the caller graph for this function:

◆ getArpShaLo()

ArpShaLo AxisEth::getArpShaLo ( )
inline

Definition at line 204 of file AxisEth.hpp.

204 {return swapDWord(tdata.range(31, 0)); }
Here is the caller graph for this function:

◆ getArpSpa()

ArpSendProtAddr AxisEth::getArpSpa ( )
inline

Definition at line 207 of file AxisEth.hpp.

207 {return swapDWord(tdata.range(63, 32)); }
Here is the caller graph for this function:

◆ getArpTha()

ArpTargHwAddr AxisEth::getArpTha ( )
inline

Definition at line 210 of file AxisEth.hpp.

210 {return swapMacAddr(tdata.range(47, 0)); }

◆ getArpTpaHi()

ArpTpaHi AxisEth::getArpTpaHi ( )
inline

Definition at line 213 of file AxisEth.hpp.

213 { return swapWord(tdata.range(63, 48)); }
Here is the caller graph for this function:

◆ getArpTpaLo()

ArpTpaLo AxisEth::getArpTpaLo ( )
inline

Definition at line 216 of file AxisEth.hpp.

216 { return swapWord(tdata.range(15, 0)); }
Here is the caller graph for this function:

◆ getEthDstAddr()

EthAddr AxisEth::getEthDstAddr ( )
inline

Definition at line 161 of file AxisEth.hpp.

161 { return swapMacAddr(tdata.range(47, 0)); }
Here is the caller graph for this function:

◆ getEtherLen()

EtherLen AxisEth::getEtherLen ( )
inline

Definition at line 174 of file AxisEth.hpp.

174 { return swapWord(tdata.range(47, 32)); }

◆ getEtherType()

EtherType AxisEth::getEtherType ( )
inline

Definition at line 172 of file AxisEth.hpp.

172 { return swapWord(tdata.range(47, 32)); }
Here is the caller graph for this function:

◆ getEthSrcAddrHi()

ap_uint<16> AxisEth::getEthSrcAddrHi ( )
inline

Definition at line 164 of file AxisEth.hpp.

164 { return swapWord(tdata.range(63, 48)); }
Here is the caller graph for this function:

◆ getEthSrcAddrLo()

ap_uint<32> AxisEth::getEthSrcAddrLo ( )
inline

Definition at line 167 of file AxisEth.hpp.

167 { return swapDWord(tdata.range(31, 0)); }
Here is the caller graph for this function:

◆ getEthTypelen()

EthTypeLen AxisEth::getEthTypelen ( )
inline

Definition at line 170 of file AxisEth.hpp.

170 { return swapWord(tdata.range(47, 32)); }

◆ getIp4DstAddrHi()

Ip4DstAddrHi AxisEth::getIp4DstAddrHi ( )
inline

Definition at line 268 of file AxisEth.hpp.

268 { return swapWord(tdata.range(63, 48)); }
Here is the caller graph for this function:

◆ getIp4DstAddrLo()

Ip4DstAddrLo AxisEth::getIp4DstAddrLo ( )
inline

Definition at line 270 of file AxisEth.hpp.

270 { return swapWord(tdata.range(15, 0)); }
Here is the caller graph for this function:

◆ getIp4FragOff()

Ip4FragOff AxisEth::getIp4FragOff ( )
inline

Definition at line 250 of file AxisEth.hpp.

250  { return (tdata.range(47, 40) << 8 |
251  tdata.range(36, 32)); }

◆ getIp4HdrCsum()

Ip4HdrCsum AxisEth::getIp4HdrCsum ( )
inline

Definition at line 262 of file AxisEth.hpp.

262 {return swapWord(tdata.range(15, 0)); }

◆ getIp4HdrLen()

Ip4HdrLen AxisEth::getIp4HdrLen ( )
inline

Definition at line 237 of file AxisEth.hpp.

237 { return tdata.range(51, 48); }
Here is the caller graph for this function:

◆ getIp4Ident()

Ip4Ident AxisEth::getIp4Ident ( )
inline

Definition at line 246 of file AxisEth.hpp.

246 { return swapWord(tdata.range(31, 16)); }

◆ getIp4Prot()

Ip4Prot AxisEth::getIp4Prot ( )
inline

Definition at line 259 of file AxisEth.hpp.

259 { return tdata.range(63, 56); }

◆ getIp4SrcAddr()

Ip4Addr AxisEth::getIp4SrcAddr ( )
inline

Definition at line 265 of file AxisEth.hpp.

265 {return swapDWord(tdata.range(47, 16)); }

◆ getIp4ToS()

Ip4ToS AxisEth::getIp4ToS ( )
inline

Definition at line 240 of file AxisEth.hpp.

240 { return tdata.range(63, 56); }
Here is the caller graph for this function:

◆ getIp4TotalLen()

Ip4TotalLen AxisEth::getIp4TotalLen ( )
inline

Definition at line 243 of file AxisEth.hpp.

243 { return swapWord(tdata.range(15, 0)); }
Here is the caller graph for this function:

◆ getIp4Ttl()

Ip4TtL AxisEth::getIp4Ttl ( )
inline

Definition at line 256 of file AxisEth.hpp.

256 { return tdata.range(55, 48); }

◆ getIp4Version()

Ip4Version AxisEth::getIp4Version ( )
inline

Definition at line 234 of file AxisEth.hpp.

234 { return tdata.range(55, 52); }
Here is the caller graph for this function:

◆ getLE_ArpHwType()

LE_ArpHwType AxisEth::getLE_ArpHwType ( )
inline

Definition at line 218 of file AxisEth.hpp.

218 { return tdata.range(63, 48); }

◆ getLE_ArpOper()

LE_ArpOper AxisEth::getLE_ArpOper ( )
inline

Definition at line 220 of file AxisEth.hpp.

220 { return tdata.range(47, 32); }

◆ getLE_ArpProtType()

LE_ArpProtType AxisEth::getLE_ArpProtType ( )
inline

Definition at line 219 of file AxisEth.hpp.

219 { return tdata.range(15, 0); }

◆ getLE_ArpShaHi()

LE_ArpShaHi AxisEth::getLE_ArpShaHi ( )
inline

Definition at line 221 of file AxisEth.hpp.

221 { return tdata.range(63, 48); }

◆ getLE_ArpShaLo()

LE_ArpShaLo AxisEth::getLE_ArpShaLo ( )
inline

Definition at line 222 of file AxisEth.hpp.

222 { return tdata.range(31, 0); }

◆ getLE_ArpSpa()

LE_ArpSendProtAddr AxisEth::getLE_ArpSpa ( )
inline

Definition at line 223 of file AxisEth.hpp.

223 { return tdata.range(63, 32); }

◆ getLE_ArpTha()

LE_ArpTargHwAddr AxisEth::getLE_ArpTha ( )
inline

Definition at line 224 of file AxisEth.hpp.

224 { return tdata.range(47, 0); }

◆ getLE_ArpTpaHi()

LE_ArpTpaHi AxisEth::getLE_ArpTpaHi ( )
inline

Definition at line 225 of file AxisEth.hpp.

225 { return tdata.range(63, 48); }

◆ getLE_ArpTpaLo()

LE_ArpTpaLo AxisEth::getLE_ArpTpaLo ( )
inline

Definition at line 226 of file AxisEth.hpp.

226 { return tdata.range(15, 0); }

◆ getLE_EthDstAddr()

LE_EthAddr AxisEth::getLE_EthDstAddr ( )
inline

Definition at line 176 of file AxisEth.hpp.

176 { return tdata.range(47, 0); }
Here is the caller graph for this function:

◆ getLE_EtherType()

LE_EtherType AxisEth::getLE_EtherType ( )
inline

Definition at line 179 of file AxisEth.hpp.

179 { return tdata.range(47, 32); }

◆ getLE_EthSrcAddrHi()

ap_uint<16> AxisEth::getLE_EthSrcAddrHi ( )
inline

Definition at line 177 of file AxisEth.hpp.

177 { return tdata.range(63, 48); }

◆ getLE_EthSrcAddrLo()

ap_uint<32> AxisEth::getLE_EthSrcAddrLo ( )
inline

Definition at line 178 of file AxisEth.hpp.

178 { return tdata.range(31, 0); }

◆ getLE_Ip4DstAddrHi()

LE_Ip4DstAddrHi AxisEth::getLE_Ip4DstAddrHi ( )
inline

Definition at line 273 of file AxisEth.hpp.

273 { return tdata.range(63, 48); }

◆ getLE_Ip4DstAddrLo()

LE_Ip4DstAddrLo AxisEth::getLE_Ip4DstAddrLo ( )
inline

Definition at line 274 of file AxisEth.hpp.

274 { return tdata.range(15, 0); }

◆ getLE_Ip4SrcAddr()

LE_Ip4Addr AxisEth::getLE_Ip4SrcAddr ( )
inline

Definition at line 272 of file AxisEth.hpp.

272 { return tdata.range(63, 32); }

◆ setArpHwLen()

void AxisEth::setArpHwLen ( ArpHwLen  hlen)
inline

Definition at line 191 of file AxisEth.hpp.

191 { tdata.range(23, 16) = hlen; }
Here is the caller graph for this function:

◆ setArpHwType()

void AxisEth::setArpHwType ( ArpHwType  htype)
inline

Definition at line 185 of file AxisEth.hpp.

185 { tdata.range(63, 48) = swapWord(htype); }
Here is the caller graph for this function:

◆ setArpOper()

void AxisEth::setArpOper ( ArpOper  oper)
inline

Definition at line 197 of file AxisEth.hpp.

197 { tdata.range(47, 32) = swapWord(oper); }
Here is the caller graph for this function:

◆ setArpProtLen()

void AxisEth::setArpProtLen ( ArpProtLen  plen)
inline

Definition at line 194 of file AxisEth.hpp.

194 { tdata.range(31, 24) = plen; }
Here is the caller graph for this function:

◆ setArpProtType()

void AxisEth::setArpProtType ( ArpProtType  ptype)
inline

Definition at line 188 of file AxisEth.hpp.

188 { tdata.range(15, 0) = swapWord(ptype); }
Here is the caller graph for this function:

◆ setArpShaHi()

void AxisEth::setArpShaHi ( ArpSendHwAddr  sha)
inline

Definition at line 200 of file AxisEth.hpp.

200 { tdata.range(63, 48) = swapMacAddr(sha).range(15, 0);}
Here is the caller graph for this function:

◆ setArpShaLo()

void AxisEth::setArpShaLo ( ArpSendHwAddr  sha)
inline

Definition at line 203 of file AxisEth.hpp.

203 { tdata.range(31, 0) = swapMacAddr(sha).range(47, 16);}
Here is the caller graph for this function:

◆ setArpSpa()

void AxisEth::setArpSpa ( ArpSendProtAddr  spa)
inline

Definition at line 206 of file AxisEth.hpp.

206 { tdata.range(63, 32) = swapDWord(spa); }
Here is the caller graph for this function:

◆ setArpTha()

void AxisEth::setArpTha ( ArpTargHwAddr  tha)
inline

Definition at line 209 of file AxisEth.hpp.

209 { tdata.range(47, 0) = swapMacAddr(tha); }
Here is the caller graph for this function:

◆ setArpTpaHi()

void AxisEth::setArpTpaHi ( ArpTargProtAddr  tpa)
inline

Definition at line 212 of file AxisEth.hpp.

212 { tdata.range(63, 48) = swapDWord(tpa).range(15, 0); }
Here is the caller graph for this function:

◆ setArpTpaLo()

void AxisEth::setArpTpaLo ( ArpTargProtAddr  tpa)
inline

Definition at line 215 of file AxisEth.hpp.

215 { tdata.range(15, 0) = swapDWord(tpa).range(31, 16); }
Here is the caller graph for this function:

◆ setEthDstAddr()

void AxisEth::setEthDstAddr ( EthAddr  addr)
inline

ETHERNET FRAME HEADER HELPERS

Definition at line 159 of file AxisEth.hpp.

159 { tdata.range(47, 0) = swapMacAddr(addr); }
Here is the caller graph for this function:

◆ setEtherLen()

void AxisEth::setEtherLen ( EtherLen  eLength)
inline

Definition at line 173 of file AxisEth.hpp.

173 { tdata.range(47, 32) = swapWord(eLength); }

◆ setEthertType()

void AxisEth::setEthertType ( EtherType  eType)
inline

Definition at line 171 of file AxisEth.hpp.

171 { tdata.range(47, 32) = swapWord(eType); }
Here is the caller graph for this function:

◆ setEthSrcAddrHi()

void AxisEth::setEthSrcAddrHi ( EthAddr  addr)
inline

Definition at line 163 of file AxisEth.hpp.

163 { tdata.range(63, 48) = swapMacAddr(addr).range(15, 0); }
Here is the caller graph for this function:

◆ setEthSrcAddrLo()

void AxisEth::setEthSrcAddrLo ( EthAddr  addr)
inline

Definition at line 166 of file AxisEth.hpp.

166 { tdata.range(31, 0) = swapMacAddr(addr).range(47, 16); }
Here is the caller graph for this function:

◆ setEthTypeLen()

void AxisEth::setEthTypeLen ( EthTypeLen  eTyLe)
inline

Definition at line 169 of file AxisEth.hpp.

169 { tdata.range(47, 32) = swapWord(eTyLe); }
Here is the caller graph for this function:

◆ setIp4DstAddrHi()

void AxisEth::setIp4DstAddrHi ( Ip4Addr  addr)
inline

Definition at line 267 of file AxisEth.hpp.

267 { tdata.range(63, 48) = swapWord(addr).range(15, 0); }

◆ setIp4DstAddrLo()

void AxisEth::setIp4DstAddrLo ( Ip4Addr  addr)
inline

Definition at line 269 of file AxisEth.hpp.

269 { tdata.range(15, 0) = swapWord(addr).range(31,16); }

◆ setIp4Flags()

void AxisEth::setIp4Flags ( Ip4Flags  flags)
inline

Definition at line 253 of file AxisEth.hpp.

253 { tdata.range(39, 37) = flags; }

◆ setIp4FragOff()

void AxisEth::setIp4FragOff ( Ip4FragOff  offset)
inline

Definition at line 248 of file AxisEth.hpp.

248  { tdata.range(47, 40) = offset( 7, 0);
249  tdata.range(36, 32) = offset(12, 8); }

◆ setIp4HdrCsum()

void AxisEth::setIp4HdrCsum ( Ip4HdrCsum  csum)
inline

Definition at line 261 of file AxisEth.hpp.

261 { tdata.range(15, 0) = swapWord(csum); }

◆ setIp4HdrLen()

void AxisEth::setIp4HdrLen ( Ip4HdrLen  ihl)
inline

Definition at line 236 of file AxisEth.hpp.

236 { tdata.range(51, 48) = ihl; }
Here is the caller graph for this function:

◆ setIp4Ident()

void AxisEth::setIp4Ident ( Ip4Ident  id)
inline

Definition at line 245 of file AxisEth.hpp.

245 { tdata.range(31, 16) = swapWord(id); }

◆ setIp4Prot()

void AxisEth::setIp4Prot ( Ip4Prot  prot)
inline

Definition at line 258 of file AxisEth.hpp.

258 { tdata.range(63, 56) = prot; }

◆ setIp4SrcAddr()

void AxisEth::setIp4SrcAddr ( Ip4Addr  addr)
inline

Definition at line 264 of file AxisEth.hpp.

264 { tdata.range(47, 16) = swapDWord(addr); }

◆ setIp4ToS()

void AxisEth::setIp4ToS ( Ip4ToS  tos)
inline

Definition at line 239 of file AxisEth.hpp.

239 { tdata.range(63, 56) = tos; }
Here is the caller graph for this function:

◆ setIp4TotalLen()

void AxisEth::setIp4TotalLen ( Ip4TotalLen  len)
inline

Definition at line 242 of file AxisEth.hpp.

242 { tdata.range(15, 0) = swapWord(len); }

◆ setIp4TtL()

void AxisEth::setIp4TtL ( Ip4TtL  ttl)
inline

Definition at line 255 of file AxisEth.hpp.

255 { tdata.range(55, 48) = ttl; }

◆ setIp4Version()

void AxisEth::setIp4Version ( Ip4Version  ver)
inline

Definition at line 233 of file AxisEth.hpp.

233 { tdata.range(55, 52) = ver; }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: