Go to the source code of this file.
Data Structures | |
struct | fip_sixlowpan_attr_t |
Holds the 6lowpan attributes associated with the current packet. More... | |
Enumerations | |
enum | fip_sixlowpan_state_t { SL_UNKNOWN = 0 , SL_RXINPROCESS } |
General 6lowpan state. More... | |
Functions | |
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. | |
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. | |
void | fip_sixlowpan_process (void) |
Generic Process. | |
fip_return_t | fip_sixlowpan_llInput (uint8_t *srcAddr, unsigned char srcAddrLen, uint8_t *destAddr, unsigned char destAddrLen, uint8_t *payloadPtr, unsigned char payloadLen) |
Receive an 802.15.4 Frame. | |
unsigned char | fip_hostInterface_sixGetPayLoadLength (unsigned char destLen, unsigned char srcLen) |
Based on the destination & source address lengths, get the maximum amount of payload that can be fit into a data frame. | |
unsigned char | fip_hostInterface_sixSendSetup (uint8_t *srcAddr, unsigned char srcLen, uint8_t *destAddr, unsigned char destLen, fip_bool_t isDestBroadcast) |
Setup a new data packet, the data itself is loaded with calls to CopyPayload(). | |
void | fip_hostInterface_sixSendCopyPayload (uint8_t *data, unsigned char dataLen) |
Copy data to the payload of the 6lowpan frame to send. | |
void | fip_hostInterface_sixSendFinish (void) |
Current 6lowpan frame is done being copied, should be sent out. | |
unsigned int | fip_nd6_6lowpan_addRAOptions (unsigned int upperLength) |
fip_return_t | fip_nd6_6lowpan_LBRTableNewEntry (const uint8_t *shortAddr, const uint8_t *eui64, uint16_t lifetime) |
void | fip_nd6_6lowpan_processNA (const fip_nd6_optionStruct_t *optionStruct) |
Process an incoming Neighbour Advertisement. | |
Variables | |
uint16_t | abroVersionNumber |
Authoritive Border Router. | |
fip_ip6addr_t | abroAddress |
Authoritive Border Router. |