rio.cc File Reference

Remote I/O implementation. More...

#include "rio.hh"
Include dependency graph for rio.cc:

Functions

bool dfti::validateRIOChecksum (QByteArray pkt)
 Validate the RIO packet checksum. More...
 

Detailed Description

Remote I/O implementation.

Author
Joshua Harris
License
BSD 2-Clause License

Function Documentation

bool dfti::validateRIOChecksum ( QByteArray  pkt)

Validate the RIO packet checksum.

The checksum is a simple byte-wise XOR up to but not including the checksum byte itself.

Parameters
pktA full packet to validate.
Returns
True if the packet checksum is correct.