6. ICMPv6 RPL Control Message
RPL control messages are ICMPv6 messages Type 155.
The Code field identifies the type of RPL Control Message.
| Code | Description | Section |
|---|---|---|
| 0x00 | DODAG Information Solicitation | 6.2 |
| 0x01 | DODAG Information Object | 6.3 |
| 0x02 | Destination Advertisement Object | 6.4 |
| 0x03 | Destination Advertisement Object Acknowledgment | 6.5 |
| 0x80 | Secure DODAG Information Solicitation | 6.2 |
| 0x81 | Secure DODAG Information Object | 6.3 |
| 0x82 | Secure Destination Advertisement Object | 6.4 |
| 0x83 | Secure Destination Advertisement Object Acknowledgment | 6.5 |
| 0x8A | Consistency Check | 6.6 |
The high order bit (0x80) of the code denotes whether the RPL message has security enabled. Secure RPL messages have a format to support confidentiality and integrity, illustrated in Figure 7.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Code | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. Security .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. Base .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. Option(s) .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 7: Secure RPL Control Message
The remainder of this section describes the currently defined RPL control message Base formats followed by the currently defined RPL Control Message options.