Functions | |
static _PACKEND void | sixUncompAddr (uint8_t code, uint8_t *IID, uint8_t **inlinedIPHC, uint8_t *LLAddr, uint8_t LLLen) |
Uncompressed an address compressed according to 6lowpan-hc-11. | |
unsigned char | fip_sixlowpanhc_uncompress (uint8_t *srcAddr, unsigned char srcLength, uint8_t *destAddr, unsigned char destLength, uint8_t *payload, unsigned char payloadLen, uint16_t totalLen) |
Take a packet compressed with the IPHC format, and uncompresses it into the FIP packet buffer. | |
static unsigned char | sixComprAddr (const uint8_t *IID, uint8_t *LLAddr, uint8_t LLLen, uint8_t **inlineLocation) |
Compress an address compressed according to 6lowpan-hc. | |
static fip_bool_t | fip_sixlowpanhc_isNHCompressed (uint8_t nextHeader) |
Internal function which checks if next header is a compressible type. | |
unsigned int | fip_sixlowpanhc_compress (uint8_t *srcAddr, unsigned char srcLength, uint8_t *destAddr, unsigned char destLength) |
Compresses the current IPv6 packet according to 6lowpan-hc-13, returning the number of bytes compressed away. |