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

#include <AxisIp4.hpp>

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

Public Member Functions

 AxisIp4 ()
 
 AxisIp4 (LE_tData tdata, LE_tKeep tkeep, LE_tLast tlast)
 
 AxisIp4 (const AxisIp4 &axisRaw)
 
 AxisIp4 (AxisRaw axisRaw)
 
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 setIp4DstAddr (Ip4Addr addr)
 
Ip4Addr getIp4DstAddr ()
 
LE_Ip4TtL getLE_Ip4Ttl ()
 
LE_Ip4Prot getLE_Ip4Prot ()
 
LE_Ip4HdrCsum getLE_Ip4HdrCsum ()
 
LE_Ip4Addr getLE_Ip4SrcAddr ()
 
LE_Ip4Addr getLE_Ip4DstAddr ()
 
void setTcpSrcPort (TcpPort port)
 
TcpPort getTcpSrcPort ()
 
void setTcpDstPort (TcpPort port)
 
TcpPort getTcpDstPort ()
 
void setTcpSeqNum (TcpSeqNum num)
 
TcpSeqNum getTcpSeqNum ()
 
void setTcpAckNum (TcpAckNum num)
 
TcpAckNum getTcpAckNum ()
 
void setTcpDataOff (TcpDataOff offset)
 
TcpDataOff getTcpDataOff ()
 
void setTcpCtrlFin (TcpCtrlBit bit)
 
TcpCtrlBit getTcpCtrlFin ()
 
void setTcpCtrlSyn (TcpCtrlBit bit)
 
TcpCtrlBit getTcpCtrlSyn ()
 
void setTcpCtrlRst (TcpCtrlBit bit)
 
TcpCtrlBit getTcpCtrlRst ()
 
void setTcpCtrlPsh (TcpCtrlBit bit)
 
TcpCtrlBit getTcpCtrlPsh ()
 
void setTcpCtrlAck (TcpCtrlBit bit)
 
TcpCtrlBit getTcpCtrlAck ()
 
void setTcpCtrlUrg (TcpCtrlBit bit)
 
TcpCtrlBit getTcpCtrlUrg ()
 
void setTcpWindow (TcpWindow win)
 
TcpWindow getTcpWindow ()
 
void setTcpChecksum (TcpChecksum csum)
 
TcpChecksum getTcpChecksum ()
 
void setTcpUrgPtr (TcpUrgPtr ptr)
 
TcpUrgPtr getTcpUrgPtr ()
 
void setTcpOptKind (TcpOptKind val)
 
TcpOptKind getTcpOptKind ()
 
void setTcpOptMss (TcpOptMss val)
 
TcpOptMss getTcpOptMss ()
 
LE_TcpPort getLE_TcpSrcPort ()
 
LE_TcpPort getLE_TcpDstPort ()
 
void setUdpSrcPort (UdpPort port, int Lo=32)
 
UdpPort getUdpSrcPort (int Lo=32)
 
void setUdpDstPort (UdpPort port, int Lo=48)
 
UdpPort getUdpDstPort (int Lo=48)
 
void setUdpLen (UdpLen len, int Lo=0)
 
UdpLen getUdpLen (int Lo=0)
 
void setUdpCsum (UdpCsum csum, int Lo=16)
 
UdpCsum getUdpCsum (int Lo=16)
 
void setIcmpType (IcmpType type)
 
IcmpType getIcmpType ()
 
void setIcmpCode (IcmpCode code)
 
IcmpCode getIcmpCode ()
 
void setIcmpCsum (IcmpCsum csum)
 
IcmpCsum getIcmpCsum ()
 
LE_IcmpType getLE_IcmpType ()
 
LE_IcmpCode getLE_IcmpCode ()
 
LE_IcmpCsum getLE_IcmpCsum ()
 
- 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

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

Definition at line 180 of file AxisIp4.hpp.

Constructor & Destructor Documentation

◆ AxisIp4() [1/4]

AxisIp4::AxisIp4 ( )
inline

Definition at line 183 of file AxisIp4.hpp.

183 {}

◆ AxisIp4() [2/4]

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

Definition at line 184 of file AxisIp4.hpp.

184  :
185  AxisRaw(tdata, tkeep, tlast) {}
LE_tData tdata
Definition: AxisRaw.hpp:173
AxisRaw()
Definition: AxisRaw.hpp:178
LE_tKeep tkeep
Definition: AxisRaw.hpp:174
LE_tLast tlast
Definition: AxisRaw.hpp:175

◆ AxisIp4() [3/4]

AxisIp4::AxisIp4 ( const AxisIp4 axisRaw)
inline

Definition at line 186 of file AxisIp4.hpp.

186  :
187  AxisRaw(axisRaw.tdata, axisRaw.tkeep, axisRaw.tlast) {}

◆ AxisIp4() [4/4]

AxisIp4::AxisIp4 ( AxisRaw  axisRaw)
inline

Definition at line 188 of file AxisIp4.hpp.

188  :
189  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
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

Member Function Documentation

◆ getIcmpCode()

IcmpCode AxisIp4::getIcmpCode ( )
inline

Definition at line 314 of file AxisIp4.hpp.

314 { return tdata.range(32+15, 32+ 8); }
Here is the caller graph for this function:

◆ getIcmpCsum()

IcmpCsum AxisIp4::getIcmpCsum ( )
inline

Definition at line 317 of file AxisIp4.hpp.

317 { return swapWord (tdata.range(32+31, 32+16)); }
Here is the caller graph for this function:

◆ getIcmpType()

IcmpType AxisIp4::getIcmpType ( )
inline

Definition at line 311 of file AxisIp4.hpp.

311 { return tdata.range(32+ 7, 32+ 0); }
Here is the caller graph for this function:

◆ getIp4DstAddr()

Ip4Addr AxisIp4::getIp4DstAddr ( )
inline

Definition at line 230 of file AxisIp4.hpp.

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

◆ getIp4FragOff()

Ip4FragOff AxisIp4::getIp4FragOff ( )
inline

Definition at line 212 of file AxisIp4.hpp.

212  { return (tdata.range(52, 48) << 8 |
213  tdata.range(63, 56)); }

◆ getIp4HdrCsum()

Ip4HdrCsum AxisIp4::getIp4HdrCsum ( )
inline

Definition at line 224 of file AxisIp4.hpp.

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

◆ getIp4HdrLen()

Ip4HdrLen AxisIp4::getIp4HdrLen ( )
inline

Definition at line 199 of file AxisIp4.hpp.

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

◆ getIp4Ident()

Ip4Ident AxisIp4::getIp4Ident ( )
inline

Definition at line 208 of file AxisIp4.hpp.

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

◆ getIp4Prot()

Ip4Prot AxisIp4::getIp4Prot ( )
inline

Definition at line 221 of file AxisIp4.hpp.

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

◆ getIp4SrcAddr()

Ip4Addr AxisIp4::getIp4SrcAddr ( )
inline

Definition at line 227 of file AxisIp4.hpp.

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

◆ getIp4ToS()

Ip4ToS AxisIp4::getIp4ToS ( )
inline

Definition at line 202 of file AxisIp4.hpp.

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

◆ getIp4TotalLen()

Ip4TotalLen AxisIp4::getIp4TotalLen ( )
inline

Definition at line 205 of file AxisIp4.hpp.

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

◆ getIp4TtL()

Ip4TtL AxisIp4::getIp4TtL ( )
inline

Definition at line 218 of file AxisIp4.hpp.

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

◆ getIp4Version()

Ip4Version AxisIp4::getIp4Version ( )
inline

Definition at line 196 of file AxisIp4.hpp.

196 { return tdata.range( 7, 4); }
Here is the caller graph for this function:

◆ getLE_IcmpCode()

LE_IcmpCode AxisIp4::getLE_IcmpCode ( )
inline

Definition at line 320 of file AxisIp4.hpp.

320 { return tdata.range(32+15, 32+ 8); }

◆ getLE_IcmpCsum()

LE_IcmpCsum AxisIp4::getLE_IcmpCsum ( )
inline

Definition at line 321 of file AxisIp4.hpp.

321 { return tdata.range(32+31, 32+16); }

◆ getLE_IcmpType()

LE_IcmpType AxisIp4::getLE_IcmpType ( )
inline

Definition at line 319 of file AxisIp4.hpp.

319 { return tdata.range(32+ 7, 32+ 0); }

◆ getLE_Ip4DstAddr()

LE_Ip4Addr AxisIp4::getLE_Ip4DstAddr ( )
inline

Definition at line 235 of file AxisIp4.hpp.

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

◆ getLE_Ip4HdrCsum()

LE_Ip4HdrCsum AxisIp4::getLE_Ip4HdrCsum ( )
inline

Definition at line 233 of file AxisIp4.hpp.

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

◆ getLE_Ip4Prot()

LE_Ip4Prot AxisIp4::getLE_Ip4Prot ( )
inline

Definition at line 232 of file AxisIp4.hpp.

232 { return tdata.range(15, 8); }

◆ getLE_Ip4SrcAddr()

LE_Ip4Addr AxisIp4::getLE_Ip4SrcAddr ( )
inline

Definition at line 234 of file AxisIp4.hpp.

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

◆ getLE_Ip4Ttl()

LE_Ip4TtL AxisIp4::getLE_Ip4Ttl ( )
inline

Definition at line 231 of file AxisIp4.hpp.

231 { return tdata.range( 7, 0); }

◆ getLE_TcpDstPort()

LE_TcpPort AxisIp4::getLE_TcpDstPort ( )
inline

Definition at line 284 of file AxisIp4.hpp.

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

◆ getLE_TcpSrcPort()

LE_TcpPort AxisIp4::getLE_TcpSrcPort ( )
inline

Definition at line 283 of file AxisIp4.hpp.

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

◆ getTcpAckNum()

TcpAckNum AxisIp4::getTcpAckNum ( )
inline

Definition at line 251 of file AxisIp4.hpp.

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

◆ getTcpChecksum()

TcpChecksum AxisIp4::getTcpChecksum ( )
inline

Definition at line 273 of file AxisIp4.hpp.

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

◆ getTcpCtrlAck()

TcpCtrlBit AxisIp4::getTcpCtrlAck ( )
inline

Definition at line 265 of file AxisIp4.hpp.

265 { return tdata.bit(12); }

◆ getTcpCtrlFin()

TcpCtrlBit AxisIp4::getTcpCtrlFin ( )
inline

Definition at line 257 of file AxisIp4.hpp.

257 { return tdata.bit( 8); }

◆ getTcpCtrlPsh()

TcpCtrlBit AxisIp4::getTcpCtrlPsh ( )
inline

Definition at line 263 of file AxisIp4.hpp.

263 { return tdata.bit(11); }

◆ getTcpCtrlRst()

TcpCtrlBit AxisIp4::getTcpCtrlRst ( )
inline

Definition at line 261 of file AxisIp4.hpp.

261 { return tdata.bit(10); }

◆ getTcpCtrlSyn()

TcpCtrlBit AxisIp4::getTcpCtrlSyn ( )
inline

Definition at line 259 of file AxisIp4.hpp.

259 { return tdata.bit( 9); }

◆ getTcpCtrlUrg()

TcpCtrlBit AxisIp4::getTcpCtrlUrg ( )
inline

Definition at line 267 of file AxisIp4.hpp.

267 { return tdata.bit(13); }

◆ getTcpDataOff()

TcpDataOff AxisIp4::getTcpDataOff ( )
inline

Definition at line 254 of file AxisIp4.hpp.

254 { return tdata.range( 7, 4); }

◆ getTcpDstPort()

TcpPort AxisIp4::getTcpDstPort ( )
inline

Definition at line 245 of file AxisIp4.hpp.

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

◆ getTcpOptKind()

TcpOptKind AxisIp4::getTcpOptKind ( )
inline

Definition at line 279 of file AxisIp4.hpp.

279 { return tdata.range( 7, 0); }

◆ getTcpOptMss()

TcpOptMss AxisIp4::getTcpOptMss ( )
inline

Definition at line 281 of file AxisIp4.hpp.

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

◆ getTcpSeqNum()

TcpSeqNum AxisIp4::getTcpSeqNum ( )
inline

Definition at line 248 of file AxisIp4.hpp.

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

◆ getTcpSrcPort()

TcpPort AxisIp4::getTcpSrcPort ( )
inline

Definition at line 242 of file AxisIp4.hpp.

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

◆ getTcpUrgPtr()

TcpUrgPtr AxisIp4::getTcpUrgPtr ( )
inline

Definition at line 276 of file AxisIp4.hpp.

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

◆ getTcpWindow()

TcpWindow AxisIp4::getTcpWindow ( )
inline

Definition at line 270 of file AxisIp4.hpp.

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

◆ getUdpCsum()

UdpCsum AxisIp4::getUdpCsum ( int  Lo = 16)
inline

Definition at line 304 of file AxisIp4.hpp.

304 { return swapWord (tdata.range(Lo+16-1, Lo)); }

◆ getUdpDstPort()

UdpPort AxisIp4::getUdpDstPort ( int  Lo = 48)
inline

Definition at line 296 of file AxisIp4.hpp.

296 { return swapWord (tdata.range(Lo+16-1, Lo)); }

◆ getUdpLen()

UdpLen AxisIp4::getUdpLen ( int  Lo = 0)
inline

Definition at line 300 of file AxisIp4.hpp.

300 { return swapWord (tdata.range(Lo+16-1, Lo)); }
Here is the caller graph for this function:

◆ getUdpSrcPort()

UdpPort AxisIp4::getUdpSrcPort ( int  Lo = 32)
inline

Definition at line 292 of file AxisIp4.hpp.

292 { return swapWord (tdata.range(Lo+16-1, Lo)); }

◆ setIcmpCode()

void AxisIp4::setIcmpCode ( IcmpCode  code)
inline

Definition at line 313 of file AxisIp4.hpp.

313 { tdata.range(32+15, 32+ 8) = code; }
Here is the caller graph for this function:

◆ setIcmpCsum()

void AxisIp4::setIcmpCsum ( IcmpCsum  csum)
inline

Definition at line 316 of file AxisIp4.hpp.

316 { tdata.range(32+31, 32+16) = swapWord(csum); }
Here is the caller graph for this function:

◆ setIcmpType()

void AxisIp4::setIcmpType ( IcmpType  type)
inline

Definition at line 310 of file AxisIp4.hpp.

310 { tdata.range(32+ 7, 32+ 0) = type; }
Here is the caller graph for this function:

◆ setIp4DstAddr()

void AxisIp4::setIp4DstAddr ( Ip4Addr  addr)
inline

Definition at line 229 of file AxisIp4.hpp.

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

◆ setIp4Flags()

void AxisIp4::setIp4Flags ( Ip4Flags  flags)
inline

Definition at line 215 of file AxisIp4.hpp.

215 { tdata.range(55, 53) = flags; }
Here is the caller graph for this function:

◆ setIp4FragOff()

void AxisIp4::setIp4FragOff ( Ip4FragOff  offset)
inline

Definition at line 210 of file AxisIp4.hpp.

210  { tdata.range(63, 56) = offset( 7, 0);
211  tdata.range(52, 48) = offset(12, 8); }
Here is the caller graph for this function:

◆ setIp4HdrCsum()

void AxisIp4::setIp4HdrCsum ( Ip4HdrCsum  csum)
inline

Definition at line 223 of file AxisIp4.hpp.

223 { tdata.range(31, 16) = swapWord(csum); }
Here is the caller graph for this function:

◆ setIp4HdrLen()

void AxisIp4::setIp4HdrLen ( Ip4HdrLen  ihl)
inline

Definition at line 198 of file AxisIp4.hpp.

198 { tdata.range( 3, 0) = ihl; }
Here is the caller graph for this function:

◆ setIp4Ident()

void AxisIp4::setIp4Ident ( Ip4Ident  id)
inline

Definition at line 207 of file AxisIp4.hpp.

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

◆ setIp4Prot()

void AxisIp4::setIp4Prot ( Ip4Prot  prot)
inline

Definition at line 220 of file AxisIp4.hpp.

220 { tdata.range(15, 8) = prot; }
Here is the caller graph for this function:

◆ setIp4SrcAddr()

void AxisIp4::setIp4SrcAddr ( Ip4Addr  addr)
inline

Definition at line 226 of file AxisIp4.hpp.

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

◆ setIp4ToS()

void AxisIp4::setIp4ToS ( Ip4ToS  tos)
inline

Definition at line 201 of file AxisIp4.hpp.

201 { tdata.range(15, 8) = tos; }
Here is the caller graph for this function:

◆ setIp4TotalLen()

void AxisIp4::setIp4TotalLen ( Ip4TotalLen  len)
inline

Definition at line 204 of file AxisIp4.hpp.

204 { tdata.range(31, 16) = swapWord(len); }
Here is the caller graph for this function:

◆ setIp4TtL()

void AxisIp4::setIp4TtL ( Ip4TtL  ttl)
inline

Definition at line 217 of file AxisIp4.hpp.

217 { tdata.range( 7, 0) = ttl; }
Here is the caller graph for this function:

◆ setIp4Version()

void AxisIp4::setIp4Version ( Ip4Version  ver)
inline

IP4 PACKET HEADER HELPERS

Definition at line 195 of file AxisIp4.hpp.

195 { tdata.range( 7, 4) = ver; }
Here is the caller graph for this function:

◆ setTcpAckNum()

void AxisIp4::setTcpAckNum ( TcpAckNum  num)
inline

Definition at line 250 of file AxisIp4.hpp.

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

◆ setTcpChecksum()

void AxisIp4::setTcpChecksum ( TcpChecksum  csum)
inline

Definition at line 272 of file AxisIp4.hpp.

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

◆ setTcpCtrlAck()

void AxisIp4::setTcpCtrlAck ( TcpCtrlBit  bit)
inline

Definition at line 264 of file AxisIp4.hpp.

264 { tdata.bit(12) = bit; }

◆ setTcpCtrlFin()

void AxisIp4::setTcpCtrlFin ( TcpCtrlBit  bit)
inline

Definition at line 256 of file AxisIp4.hpp.

256 { tdata.bit( 8) = bit; }

◆ setTcpCtrlPsh()

void AxisIp4::setTcpCtrlPsh ( TcpCtrlBit  bit)
inline

Definition at line 262 of file AxisIp4.hpp.

262 { tdata.bit(11) = bit; }

◆ setTcpCtrlRst()

void AxisIp4::setTcpCtrlRst ( TcpCtrlBit  bit)
inline

Definition at line 260 of file AxisIp4.hpp.

260 { tdata.bit(10) = bit; }

◆ setTcpCtrlSyn()

void AxisIp4::setTcpCtrlSyn ( TcpCtrlBit  bit)
inline

Definition at line 258 of file AxisIp4.hpp.

258 { tdata.bit( 9) = bit; }

◆ setTcpCtrlUrg()

void AxisIp4::setTcpCtrlUrg ( TcpCtrlBit  bit)
inline

Definition at line 266 of file AxisIp4.hpp.

266 { tdata.bit(13) = bit; }

◆ setTcpDataOff()

void AxisIp4::setTcpDataOff ( TcpDataOff  offset)
inline

Definition at line 253 of file AxisIp4.hpp.

253 { tdata.range( 7, 4) = offset; }

◆ setTcpDstPort()

void AxisIp4::setTcpDstPort ( TcpPort  port)
inline

Definition at line 244 of file AxisIp4.hpp.

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

◆ setTcpOptKind()

void AxisIp4::setTcpOptKind ( TcpOptKind  val)
inline

Definition at line 278 of file AxisIp4.hpp.

278 { tdata.range( 7, 0); }

◆ setTcpOptMss()

void AxisIp4::setTcpOptMss ( TcpOptMss  val)
inline

Definition at line 280 of file AxisIp4.hpp.

280 { tdata.range(31, 16); }

◆ setTcpSeqNum()

void AxisIp4::setTcpSeqNum ( TcpSeqNum  num)
inline

Definition at line 247 of file AxisIp4.hpp.

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

◆ setTcpSrcPort()

void AxisIp4::setTcpSrcPort ( TcpPort  port)
inline

Definition at line 241 of file AxisIp4.hpp.

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

◆ setTcpUrgPtr()

void AxisIp4::setTcpUrgPtr ( TcpUrgPtr  ptr)
inline

Definition at line 275 of file AxisIp4.hpp.

275 { tdata.range(63, 48) = swapWord(ptr); }

◆ setTcpWindow()

void AxisIp4::setTcpWindow ( TcpWindow  win)
inline

Definition at line 269 of file AxisIp4.hpp.

269 { tdata.range(31, 16) = swapWord(win); }

◆ setUdpCsum()

void AxisIp4::setUdpCsum ( UdpCsum  csum,
int  Lo = 16 
)
inline

Definition at line 302 of file AxisIp4.hpp.

302 { tdata.range(Lo+16-1, Lo) = swapWord(csum); }

◆ setUdpDstPort()

void AxisIp4::setUdpDstPort ( UdpPort  port,
int  Lo = 48 
)
inline

Definition at line 294 of file AxisIp4.hpp.

294 { tdata.range(Lo+16-1, Lo) = swapWord(port); }
Here is the caller graph for this function:

◆ setUdpLen()

void AxisIp4::setUdpLen ( UdpLen  len,
int  Lo = 0 
)
inline

Definition at line 298 of file AxisIp4.hpp.

298 { tdata.range(Lo+16-1, Lo) = swapWord(len); }

◆ setUdpSrcPort()

void AxisIp4::setUdpSrcPort ( UdpPort  port,
int  Lo = 32 
)
inline

Definition at line 290 of file AxisIp4.hpp.

290 { tdata.range(Lo+16-1, Lo) = swapWord(port); }
Here is the caller graph for this function:

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