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 
ieee802154.h
IEEE 802.15.4 header definitions.
sixlowpan.h
6LoWPAN dispatch type and helper function definitions.
byteorder.h
Functions to work with different byte orders.
hint.h
Definitions to provide a hint on the final fragment size.
gnrc_sixlowpan_frag_send
void gnrc_sixlowpan_frag_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Sends a packet fragmented.
fb.h
Fragmentation buffer definitions.
pkt.h
General definitions for network packets and their helper functions.
hdr.h
Generic network interface header.
inttypes.h
Adds include for missing inttype definitions.
gnrc_sixlowpan_frag_recv
void gnrc_sixlowpan_frag_recv(gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
Handles a packet containing a fragment header.
internal.h
6LoWPAN internal functions
gnrc_pktsnip
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108