Loading...
Searching...
No Matches
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
29extern "C" {
30#endif
31
45void gnrc_sixlowpan_iphc_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
46
64void gnrc_sixlowpan_iphc_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* NET_GNRC_SIXLOWPAN_IPHC_H */
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:108