iphc.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef NET_GNRC_SIXLOWPAN_IPHC_H
21 #define NET_GNRC_SIXLOWPAN_IPHC_H
22 
23 #include <stdbool.h>
24 
25 #include "net/gnrc/pkt.h"
26 #include "net/sixlowpan.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
45 void gnrc_sixlowpan_iphc_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
46 
58 void gnrc_sixlowpan_iphc_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif /* NET_GNRC_SIXLOWPAN_IPHC_H */
65 
sixlowpan.h
6LoWPAN dispatch type and helper function definitions.
pkt.h
General definitions for network packets and their helper functions.
gnrc_sixlowpan_iphc_send
void gnrc_sixlowpan_iphc_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Compresses a 6LoWPAN for IPHC.
gnrc_sixlowpan_iphc_recv
void gnrc_sixlowpan_iphc_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Decompresses a received 6LoWPAN IPHC frame.
gnrc_pktsnip
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108