Loading...
Searching...
No Matches
minfwd.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
22
23#include <stddef.h>
24
25#include "net/gnrc/pkt.h"
26#include "net/gnrc/netif.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
55 const sixlowpan_frag_n_t *frag,
57 unsigned page);
58
88 size_t orig_datagram_size,
89 const ipv6_addr_t *ipv6_addr,
91
92#ifdef __cplusplus
93}
94#endif
95
Fragmentation buffer definitions.
Definition for GNRC's network interfaces.
6LoWPAN Fragmentation definitions
struct gnrc_pktsnip gnrc_pktsnip_t
Type to represent parts (either headers or payload) of a packet, called snips.
int gnrc_sixlowpan_frag_minfwd_forward(gnrc_pktsnip_t *pkt, const sixlowpan_frag_n_t *frag, gnrc_sixlowpan_frag_vrb_t *vrbe, unsigned page)
Forwards a fragment according to a VRB entry.
int gnrc_sixlowpan_frag_minfwd_frag_iphc(gnrc_pktsnip_t *pkt, size_t orig_datagram_size, const ipv6_addr_t *ipv6_addr, gnrc_sixlowpan_frag_fb_t *fbuf)
Fragments a packet with just the IPHC (and padding payload to get to 8 byte) as the first fragment.
General definitions for network packets and their helper functions.
6LoWPAN fragmentation buffer entry.
Definition fb.h:44
Representation of the virtual reassembly buffer entry.
Definition vrb.h:45
Subsequent 6LoWPAN fragmentation header.
Definition sixlowpan.h:130
Data type to represent an IPv6 address.
Definition addr.h:64
Virtual reassembly buffer definitions.