frag.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3  * SPDX-FileCopyrightText: 2015 Hamburg University of Applied Sciences
4  * SPDX-License-Identifier: LGPL-2.1-only
5  */
6 
7 #pragma once
8 
25 #include <inttypes.h>
26 
27 #include "byteorder.h"
28 #include "net/gnrc/pkt.h"
29 #include "net/gnrc/netif/hdr.h"
30 #ifdef MODULE_GNRC_SIXLOWPAN_FRAG_HINT
32 #endif /* MODULE_GNRC_SIXLOWPAN_FRAG_HINT */
35 #include "net/ieee802154.h"
36 #include "net/sixlowpan.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
56 void gnrc_sixlowpan_frag_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
57 
65 void gnrc_sixlowpan_frag_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
Functions to work with different byte orders.
Fragmentation buffer definitions.
void gnrc_sixlowpan_frag_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Handles a packet containing a fragment header.
void gnrc_sixlowpan_frag_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Sends a packet fragmented.
Definitions to provide a hint on the final fragment size.
Adds include for missing inttype definitions.
Generic network interface header.
General definitions for network packets and their helper functions.
6LoWPAN internal 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
IEEE 802.15.4 header definitions.