validation.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Cenk Gündoğan <cenk.guendogan@haw-hamburg.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 
19 #ifndef VALIDATION_H
20 #define VALIDATION_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include "net/gnrc/rpl/structs.h"
27 #include "net/gnrc/icmpv6.h"
28 
40 bool gnrc_rpl_validation_options(int msg_type, gnrc_rpl_instance_t *inst,
41  gnrc_rpl_opt_t *opt, uint16_t len);
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* VALIDATION_H */
48 
gnrc_rpl_instance_t
struct gnrc_rpl_instance gnrc_rpl_instance_t
Instance representation.
Definition: structs.h:235
structs.h
RPL data structs.
icmpv6.h
Definitions for GNRC's ICMPv6 implementation.
gnrc_rpl_opt_t
RPL-Option Generic Format.
Definition: structs.h:79
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.