|
libSNAP v1.0.0
Open source C/C++ library for the Scaleable Node Address Protocol (SNAP)
|
This is the main structure of the library, used in frame decoding, encapsulation, and decapsulation. More...
#include <snap.h>
Data Fields | |
| uint8_t * | buffer |
| Pointer to the array that stores all the bytes of the frame. | |
| uint16_t | maxSize |
| Maximum number of bytes that can be stored in the buffer. | |
| uint16_t | size |
| Current size of the frame (it may be incomplete). | |
| int8_t | status |
| Status of the frame, used primarily in the decoding process. It can assume any value from snap_status_t. | |
This is the main structure of the library, used in frame decoding, encapsulation, and decapsulation.