hint.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 
21 #ifndef NET_GNRC_SIXLOWPAN_FRAG_HINT_H
22 #define NET_GNRC_SIXLOWPAN_FRAG_HINT_H
23 
24 #include <stdint.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 typedef struct {
42  uint16_t fragsz;
51  uint16_t fragsz_uncomp;
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* NET_GNRC_SIXLOWPAN_FRAG_HINT_H */
59 
gnrc_sixlowpan_frag_hint_t
A fragment size hint.
Definition: hint.h:33
gnrc_sixlowpan_frag_hint_t::fragsz_uncomp
uint16_t fragsz_uncomp
The size of the data bound by gnrc_sixlowpan_frag_hint_t::fragsz uncompressed.
Definition: hint.h:51
gnrc_sixlowpan_frag_hint_t::fragsz
uint16_t fragsz
Provides a hint of the size for the next fragment to send.
Definition: hint.h:42