|
libSNAP v1.0.0
Open source C/C++ library for the Scaleable Node Address Protocol (SNAP)
|
Structure that stores every data necessary to build a new frame (i.e. every field value and size, except the hash bytes). More...
#include <snap.h>
Data Fields | |
| uint8_t * | data |
| Pointer to the array that holds the frame data/payload. | |
| uint32_t | destAddress |
| Destination address (up to 0xFFFFFF). | |
| uint32_t | sourceAddress |
| Source address (up to 0xFFFFFF). | |
| uint32_t | protocolFlags |
| Protocol specific flags (up to 0xFFFFFF). | |
| snap_header_t | header |
| Header bytes. | |
| uint16_t | dataSize |
| Number of bytes in the data array. | |
| bool | paddingAfter |
| Position of the padding bytes in the payload (if there are any). true = padding after data, false = padding before data. | |
Structure that stores every data necessary to build a new frame (i.e. every field value and size, except the hash bytes).