DODAG-related functions for P2P-RPL. More...

Detailed Description

DODAG-related functions for P2P-RPL.

Header file, which defines all public known DODAG-related functions for P2P-RPL.

Author
Cenk Gündoğan mail@.nosp@m.cgun.nosp@m.dogan.nosp@m..de

Definition in file p2p_dodag.h.

+ Include dependency graph for p2p_dodag.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_tgnrc_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_tgnrc_rpl_p2p_ext_get (gnrc_rpl_dodag_t *dodag)
 Get the appropriate P2P-RPL DODAG extension of the dodag. More...
 

Function Documentation

◆ gnrc_rpl_p2p_ext_get()

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.

Parameters
[in]dodagPointer to a P2P-RPL DODAG
Returns
Pointer to a P2P-RPL DODAG extension
NULL, if no P2P-RPL DODAG extension is available for dodag

◆ gnrc_rpl_p2p_ext_new()

gnrc_rpl_p2p_ext_t* gnrc_rpl_p2p_ext_new ( gnrc_rpl_dodag_t dodag)

Allocate a free P2P-RPL DODAG extension.

Returns
Pointer to a free P2P-RPL DODAG extension
NULL, if no free P2P-RPL DODAG extension is available

◆ gnrc_rpl_p2p_ext_remove()

void gnrc_rpl_p2p_ext_remove ( gnrc_rpl_dodag_t dodag)

Free the P2P-RPL DODAG extension of dodag.

Parameters
[in]dodagPointer to a P2P-RPL DODAG