![]() |
NetSim Source Code Help
|

Go to the source code of this file.
Data Structures | |
| struct | stru_rpl_option |
| struct | stru_rpl_ctrl_message |
| struct | stru_rpl_DIS_Base |
| struct | stru_rpl_dio_base |
| struct | stru_rpl_dao_base |
| struct | stru_rpl_dao_ack_base |
| struct | stru_rpl_cc_base |
| struct | stru_dodag_config_option |
| struct | stru_rpl_target |
Macros | |
| #define | ICMP_TYPE_RPL 0x9B |
| #define | GET_RPL_CTRL_PACKET_TYPE(code) (NW_PROTOCOL_RPL*100+code) |
| #define | GET_RPL_CTRL_MSG_CODE(packet) (packet->nControlDataType%100) |
| #define | GET_PRPL_CTRL_MSG(packet) ((PRPL_CTRL_MSG)(PACKET_NWDATA(packet)->Packet_RoutingProtocol)) |
| #define | SET_BASE_IN_MSG(packet, b) (GET_PRPL_CTRL_MSG(packet)->Base = b) |
| #define | GET_BASE_FROM_MSG(packet) (GET_PRPL_CTRL_MSG(packet)->Base) |
| #define | RPL_CTRL_MSG_SIZE_FIXED 4 |
| #define | RPL_DIS_BASE_SIZE 2 |
| #define | RPL_DIO_BASE_SIZE 24 |
| #define | RPL_DAO_BASE_SIZE 20 |
| #define | RPL_DAOACK_BASE_SIZE 20 |
| #define | RPL_DODAG_CONFIG_OPTION_SIZE 16 |
Typedefs | |
| typedef enum enum_rpl_option_type | RPL_OPTION_TYPE |
| typedef struct stru_rpl_option | RPL_OPTION |
| typedef struct stru_rpl_option * | PRPL_OPTION |
| typedef struct stru_rpl_ctrl_message | RPL_CTRL_MSG |
| typedef struct stru_rpl_ctrl_message * | PRPL_CTRL_MSG |
| typedef struct stru_rpl_DIS_Base | RPL_DIS_BASE |
| typedef struct stru_rpl_DIS_Base * | PRPL_DIS_BASE |
| typedef struct stru_rpl_dio_base | RPL_DIO_BASE |
| typedef struct stru_rpl_dio_base * | PRPL_DIO_BASE |
| typedef struct stru_rpl_dao_base | RPL_DAO_BASE |
| typedef struct stru_rpl_dao_base * | PRPL_DAO_BASE |
| typedef struct stru_rpl_dao_ack_base | RPL_DAOACK_BASE |
| typedef struct stru_rpl_dao_ack_base * | PRPL_DAOACK_BASE |
| typedef struct stru_rpl_cc_base | RPL_CC_BASE |
| typedef struct stru_rpl_cc_base * | PRPL_CC_BASE |
| typedef struct stru_dodag_config_option | RPL_DODAG_CONFIG_OPTION |
| typedef struct stru_dodag_config_option * | PRPL_DODAG_CONFIG_OPTION |
| typedef struct stru_rpl_target | RPL_TARGET_OPTION |
| typedef struct stru_rpl_target * | PRPL_TARGET_OPTION |
Enumerations | |
| enum | RPL_CTRL_MSG_CODE { DODAG_Information_Solicitation = 0x00 , DODAG_Information_Object = 0x01 , Destination_Advertisement_Object = 0x02 , Destination_Advertisement_Object_Acknowledgment = 0x03 , Secure_DODAG_Information_Solicitation = 0x80 , Secure_DODAG_Information_Object = 0x81 , Secure_Destination_Advertisement_Object = 0x82 , Secure_Destination_Advertisement_Object_Acknowledgment = 0x83 , Consistency_Check = 0x8A } |
| enum | enum_rpl_option_type { RPLOPTION_Pad1 = 0x00 , RPLOPTION_PadN , RPLOPTION_DAGMetricsContainer , RPLOPTION_RoutingInformation , RPLOPTION_DODAGConfiguration , RPLOPTION_RPLTARGET , RPLOPTION_PrefixInformation = 0x08 } |
| #define GET_BASE_FROM_MSG | ( | packet | ) | (GET_PRPL_CTRL_MSG(packet)->Base) |
Definition at line 85 of file RPL_Message.h.
| #define GET_PRPL_CTRL_MSG | ( | packet | ) | ((PRPL_CTRL_MSG)(PACKET_NWDATA(packet)->Packet_RoutingProtocol)) |
Definition at line 83 of file RPL_Message.h.
| #define GET_RPL_CTRL_MSG_CODE | ( | packet | ) | (packet->nControlDataType%100) |
Definition at line 36 of file RPL_Message.h.
| #define GET_RPL_CTRL_PACKET_TYPE | ( | code | ) | (NW_PROTOCOL_RPL*100+code) |
Definition at line 35 of file RPL_Message.h.
| #define ICMP_TYPE_RPL 0x9B |
Definition at line 20 of file RPL_Message.h.
| #define RPL_CTRL_MSG_SIZE_FIXED 4 |
Definition at line 86 of file RPL_Message.h.
| #define RPL_DAO_BASE_SIZE 20 |
Definition at line 176 of file RPL_Message.h.
| #define RPL_DAOACK_BASE_SIZE 20 |
Definition at line 206 of file RPL_Message.h.
| #define RPL_DIO_BASE_SIZE 24 |
Definition at line 145 of file RPL_Message.h.
| #define RPL_DIS_BASE_SIZE 2 |
Definition at line 105 of file RPL_Message.h.
| #define RPL_DODAG_CONFIG_OPTION_SIZE 16 |
Definition at line 278 of file RPL_Message.h.
| #define SET_BASE_IN_MSG | ( | packet, | |
| b | |||
| ) | (GET_PRPL_CTRL_MSG(packet)->Base = b) |
Definition at line 84 of file RPL_Message.h.
| typedef struct stru_rpl_cc_base* PRPL_CC_BASE |
| typedef struct stru_rpl_ctrl_message* PRPL_CTRL_MSG |
| typedef struct stru_rpl_dao_base * PRPL_DAO_BASE |
| typedef struct stru_rpl_dao_ack_base* PRPL_DAOACK_BASE |
| typedef struct stru_rpl_dio_base* PRPL_DIO_BASE |
| typedef struct stru_rpl_DIS_Base* PRPL_DIS_BASE |
| typedef struct stru_dodag_config_option* PRPL_DODAG_CONFIG_OPTION |
| typedef struct stru_rpl_option* PRPL_OPTION |
| typedef struct stru_rpl_target* PRPL_TARGET_OPTION |
| typedef struct stru_rpl_cc_base RPL_CC_BASE |
| typedef struct stru_rpl_ctrl_message RPL_CTRL_MSG |
| typedef struct stru_rpl_dao_base RPL_DAO_BASE |
| typedef struct stru_rpl_dao_ack_base RPL_DAOACK_BASE |
| typedef struct stru_rpl_dio_base RPL_DIO_BASE |
| typedef struct stru_rpl_DIS_Base RPL_DIS_BASE |
| typedef struct stru_dodag_config_option RPL_DODAG_CONFIG_OPTION |
| typedef struct stru_rpl_option RPL_OPTION |
| typedef enum enum_rpl_option_type RPL_OPTION_TYPE |
| typedef struct stru_rpl_target RPL_TARGET_OPTION |
| enum enum_rpl_option_type |
| Enumerator | |
|---|---|
| RPLOPTION_Pad1 | |
| RPLOPTION_PadN | |
| RPLOPTION_DAGMetricsContainer | |
| RPLOPTION_RoutingInformation | |
| RPLOPTION_DODAGConfiguration | |
| RPLOPTION_RPLTARGET | |
| RPLOPTION_PrefixInformation | |
Definition at line 39 of file RPL_Message.h.
| enum RPL_CTRL_MSG_CODE |
Definition at line 22 of file RPL_Message.h.