iphc.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
20 #include <stdbool.h>
21 
22 #include "net/gnrc/pkt.h"
23 #include "net/sixlowpan.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
42 void gnrc_sixlowpan_iphc_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
43 
61 void gnrc_sixlowpan_iphc_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
void gnrc_sixlowpan_iphc_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Decompresses a received 6LoWPAN IPHC frame.
void gnrc_sixlowpan_iphc_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Compresses a 6LoWPAN for IPHC.
General definitions for network packets and their helper functions.
6LoWPAN dispatch type and helper function definitions.
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:105