Loading...
Searching...
No Matches
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
42extern "C" {
43#endif
44
59void gnrc_sixlowpan_frag_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
60
68void 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 */
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:108
IEEE 802.15.4 header definitions.