cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
Class ICMP Packet for simulation. More...
#include <SimIcmpPacket.hpp>
Public Member Functions | |
SimIcmpPacket (int pktLen) | |
SimIcmpPacket () | |
void | pushChunk (AxisIcmp icmpChunk) |
AxisIcmp | pullChunk () |
int | length () |
int | size () |
void | setIcmpType (IcmpType type) |
IcmpType | getIcmpType () |
void | setIcmpCode (IcmpCode code) |
IcmpCode | getCode () |
void | setIcmpChecksum (IcmpCsum csum) |
IcmpCsum | getIcmpChecksum () |
void | setIcmpIdent (IcmpIdent id) |
IcmpIdent | getIcmpIdent () |
void | setIcmpSeqNum (IcmpSeqNum num) |
IcmpSeqNum | getIcmpSeqNum () |
void | addIcmpPayload (string pldStr) |
IcmpCsum | calculateIcmpChecksum () |
IcmpCsum | reCalculateIcmpChecksum () |
Recalculate the ICMP checksum of a packet. More... | |
Class ICMP Packet for simulation.
This class defines an ICMP packet as a stream of 'AxisIcmp' data chunks. Such an ICMP packet consists of a double-ended queue that is used to accumulate all these data chunks. For the 10GbE MAC, the ICMP chunks are 64 bits wide. ICMP chunks are extracted from the Ethernet frame by the IPRX core and are transmitted by the ICMP core.
Definition at line 49 of file SimIcmpPacket.hpp.
|
inline |
Definition at line 86 of file SimIcmpPacket.hpp.
|
inline |
Definition at line 98 of file SimIcmpPacket.hpp.
|
inline |
Definition at line 148 of file SimIcmpPacket.hpp.
|
inline |
Definition at line 181 of file SimIcmpPacket.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 141 of file SimIcmpPacket.hpp.
|
inline |
Definition at line 145 of file SimIcmpPacket.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 114 of file SimIcmpPacket.hpp.
|
inline |
Definition at line 104 of file SimIcmpPacket.hpp.
|
inline |
Recalculate the ICMP checksum of a packet.
Definition at line 220 of file SimIcmpPacket.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 140 of file SimIcmpPacket.hpp.
|
inline |
Definition at line 144 of file SimIcmpPacket.hpp.
|
inline |
|
inline |