minfwd.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
23 #ifndef NET_GNRC_SIXLOWPAN_FRAG_MINFWD_H
24 #define NET_GNRC_SIXLOWPAN_FRAG_MINFWD_H
25 
26 #include <stddef.h>
27 
28 #include "net/gnrc/pkt.h"
29 #include "net/gnrc/netif.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
58  const sixlowpan_frag_n_t *frag,
60  unsigned page);
61 
91  size_t orig_datagram_size,
92  const ipv6_addr_t *ipv6_addr,
94 
95 #ifdef __cplusplus
96 }
97 #endif
98 
99 #endif /* NET_GNRC_SIXLOWPAN_FRAG_MINFWD_H */
Fragmentation buffer definitions.
Definition for GNRC's network interfaces.
6LoWPAN Fragmentation definitions
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.
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108
6LoWPAN fragmentation buffer entry.
Definition: fb.h:47
Representation of the virtual reassembly buffer entry.
Definition: vrb.h:47
Subsequent 6LoWPAN fragmentation header.
Definition: sixlowpan.h:133
Data type to represent an IPv6 address.
Definition: addr.h:72
Virtual reassembly buffer definitions.