p2p_dodag.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2016 Cenk Gündoğan <mail@cgundogan.de>
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
25 
29 #ifndef GNRC_RPL_P2P_EXTS_NUMOF
30 #define GNRC_RPL_P2P_EXTS_NUMOF (1)
31 #endif
32 
37 
45 
52 
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
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:30
P2P-RPL data structs.
Extended DODAG information for P2P-RPL.
Definition: p2p_structs.h:75
struct gnrc_rpl_dodag gnrc_rpl_dodag_t
DODAG representation.
Definition: structs.h:221