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 
21 #ifndef NET_GNRC_RPL_P2P_DODAG_H
22 #define NET_GNRC_RPL_P2P_DODAG_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
29 
33 #ifndef GNRC_RPL_P2P_EXTS_NUMOF
34 #define GNRC_RPL_P2P_EXTS_NUMOF (1)
35 #endif
36 
41 
49 
56 
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif /* NET_GNRC_RPL_P2P_DODAG_H */
72 
P2P-RPL data structs.
#define GNRC_RPL_P2P_EXTS_NUMOF
Number of P2P RPL DODAG extensions.
Definition: p2p_dodag.h:34
gnrc_rpl_p2p_ext_t gnrc_rpl_p2p_exts[GNRC_RPL_P2P_EXTS_NUMOF]
P2P-RPL DODAG extensions table.
Extended DODAG information for P2P-RPL.
Definition: p2p_structs.h:79
gnrc_rpl_p2p_ext_t * gnrc_rpl_p2p_ext_new(gnrc_rpl_dodag_t *dodag)
Allocate a free P2P-RPL DODAG extension.
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.
void gnrc_rpl_p2p_ext_remove(gnrc_rpl_dodag_t *dodag)
Free the P2P-RPL DODAG extension of dodag.
struct gnrc_rpl_dodag gnrc_rpl_dodag_t
DODAG representation.
Definition: structs.h:206