p2p_dodag.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Cenk Gündoğan <mail@cgundogan.de>
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 
9 #pragma once
10 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
28 
32 #ifndef GNRC_RPL_P2P_EXTS_NUMOF
33 #define GNRC_RPL_P2P_EXTS_NUMOF (1)
34 #endif
35 
40 
48 
55 
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
gnrc_rpl_p2p_ext_t * gnrc_rpl_p2p_ext_new(gnrc_rpl_dodag_t *dodag)
Allocate a free P2P-RPL DODAG extension.
void gnrc_rpl_p2p_ext_remove(gnrc_rpl_dodag_t *dodag)
Free the P2P-RPL DODAG extension of dodag.
gnrc_rpl_p2p_ext_t gnrc_rpl_p2p_exts[GNRC_RPL_P2P_EXTS_NUMOF]
P2P-RPL DODAG extensions table.
gnrc_rpl_p2p_ext_t * gnrc_rpl_p2p_ext_get(gnrc_rpl_dodag_t *dodag)
Get the appropriate P2P-RPL DODAG extension of the dodag.
#define GNRC_RPL_P2P_EXTS_NUMOF
Number of P2P RPL DODAG extensions.
Definition: p2p_dodag.h:33
P2P-RPL data structs.
Extended DODAG information for P2P-RPL.
Definition: p2p_structs.h:78
struct gnrc_rpl_dodag gnrc_rpl_dodag_t
DODAG representation.
Definition: structs.h:224