frag.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de>
3  * Copyright (C) 2015 Hamburg University of Applied Sciences
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
25 #ifndef NET_GNRC_SIXLOWPAN_FRAG_H
26 #define NET_GNRC_SIXLOWPAN_FRAG_H
27 
28 #include <inttypes.h>
29 
30 #include "byteorder.h"
31 #include "net/gnrc/pkt.h"
32 #include "net/gnrc/netif/hdr.h"
33 #ifdef MODULE_GNRC_SIXLOWPAN_FRAG_HINT
35 #endif /* MODULE_GNRC_SIXLOWPAN_FRAG_HINT */
38 #include "net/ieee802154.h"
39 #include "net/sixlowpan.h"
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
59 void gnrc_sixlowpan_frag_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
60 
68 void gnrc_sixlowpan_frag_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif /* NET_GNRC_SIXLOWPAN_FRAG_H */
75 
General definitions for network packets and their helper functions.
6LoWPAN dispatch type and helper function definitions.
IEEE 802.15.4 header definitions.
Generic network interface header.
6LoWPAN internal functions
Definitions to provide a hint on the final fragment size.
Fragmentation buffer definitions.
Functions to work with different byte orders.
Adds include for missing inttype definitions.
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:107
void gnrc_sixlowpan_frag_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Sends a packet fragmented.
void gnrc_sixlowpan_frag_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Handles a packet containing a fragment header.