SDK
23.9.2
For IoT System Software Development
|
IPv6PacketBuffer for Nol.A-SDK IPv6 Suite. More...
#include <IPv6PacketBuffer.hpp>
Public Types | |
enum | { MAX_PACKET_CHAIN_LENGTH = 10 } |
Public Member Functions | |
bool | put (IPv6PacketBuffer &new_pkt, void *buf, uint16_t buf_len, bool buf_alloc, uint8_t protocol) |
bool | setBuffer (void *buf, uint16_t len, bool buf_alloc, uint8_t protocol) |
uint16_t | getLength () |
uint16_t | getLength () const |
int32_t | getOffset (void *ptr) |
bool | align () |
uint16_t | dump (uint8_t *dst) |
void | clean () |
Static Public Member Functions | |
static void | Kill (IPv6PacketBuffer &head) |
Public Attributes | |
IPv6PacketBuffer * | next = NULL |
void * | buf = NULL |
uint16_t | buf_len = 0 |
uint8_t | protocol = 0 |
bool | alloc = false |
bool | buf_alloc = false |
bool | compressed = false |
IPv6PacketBuffer for Nol.A-SDK IPv6 Suite.