Loading...
Searching...
No Matches
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 HAW Hamburg
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
24
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
39extern "C" {
40#endif
41
56void gnrc_sixlowpan_frag_send(gnrc_pktsnip_t *pkt, void *ctx, unsigned page);
57
65void 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.
struct gnrc_pktsnip gnrc_pktsnip_t
Type to represent parts (either headers or payload) of a packet, called snips.
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.
IEEE 802.15.4 header definitions.