validation.h File Reference

RPL control message validation functions. More...

Detailed Description

RPL control message validation functions.

Author
Cenk Gündoğan cenk..nosp@m.guen.nosp@m.dogan.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file validation.h.

+ Include dependency graph for validation.h:

Go to the source code of this file.

bool gnrc_rpl_validation_options (int msg_type, gnrc_rpl_instance_t *inst, gnrc_rpl_opt_t *opt, uint16_t len)
 Checks validity of control message options. More...
 

Function Documentation

◆ gnrc_rpl_validation_options()

bool gnrc_rpl_validation_options ( int  msg_type,
gnrc_rpl_instance_t inst,
gnrc_rpl_opt_t opt,
uint16_t  len 
)

Checks validity of control message options.

Parameters
[in]msg_typeType of the control message
[in]instThe RPL instance
[in]optOptions of the control message
[in]lenLength of the options
Returns
true, if opt is valid
false, otherwise