DODAG-related functions for P2P-RPL. More...
DODAG-related functions for P2P-RPL.
Header file, which defines all public known DODAG-related functions for P2P-RPL.
Definition in file p2p_dodag.h.
#include "net/gnrc/rpl/p2p_structs.h"
Go to the source code of this file.
#define | GNRC_RPL_P2P_EXTS_NUMOF (1) |
Number of P2P RPL DODAG extensions. | |
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_new (gnrc_rpl_dodag_t *dodag) |
Allocate a free P2P-RPL DODAG extension. More... | |
void | gnrc_rpl_p2p_ext_remove (gnrc_rpl_dodag_t *dodag) |
Free the P2P-RPL DODAG extension of dodag . More... | |
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 . More... | |
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
.
[in] | dodag | Pointer to a P2P-RPL DODAG |
dodag
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
.
[in] | dodag | Pointer to a P2P-RPL DODAG |