35 #define THIS_NAME "ToeUtils"
62 return "ERROR: UNKNOWN EVENT!";
89 printFatal(callerName,
"Unknown request source %d.\n", src);
void printFourTuple(const char *callerName, int src, FourTuple fourTuple)
Print a socket pair association from an internal FourTuple encoding.
const char * getEventName(EventType evType)
Returns the name of an enum-based event as a user friendly string.
void printSockPair(const char *callerName, SocketPair sockPair)
Print a socket pair association.
#define printFatal(callerName, format,...)
A macro to print a fatal error message and exit.
: Utilities and helpers for the TCP Offload Engine (TOE)
ap_uint< 32 > byteSwap32(ap_uint< 32 > inputVector)
ap_uint< 16 > byteSwap16(ap_uint< 16 > inputVector)