Provides an API for building and analyzing socket-0 protocol packets. More...
#include <packet.h>
Public Member Functions | |
void | GetAttribute (unsigned int object, unsigned int attribute) |
Builds a command packet for the initial socket-0 handshakes that fetch certain (some unknown) attributes. | |
void | Echo (uint64_t us_ticks) |
Builds command packet for sending echo request. |
Provides an API for building and analyzing socket-0 protocol packets.
This class relies on 2 external objects: a send and receive Data buffer.
Note that the receive buffer may be modified during a packet send, and this class provides API helpers to analyze the results.
Definition at line 79 of file packet.h.
void Barry::ZeroPacket::Echo | ( | uint64_t | us_ticks | ) |
void Barry::ZeroPacket::GetAttribute | ( | unsigned int | object, | |
unsigned int | attribute | |||
) |