Destination and hop-by-hop options extension header definitions. More...
Destination and hop-by-hop options extension header definitions.
Definition in file opt.h.
#include <stdint.h>
Include dependency graph for opt.h:Go to the source code of this file.
Destination and hop-by-hop option types | |
| |
| #define | IPV6_EXT_OPT_PAD1 (0x00U) |
| Pad1. | |
| #define | IPV6_EXT_OPT_PADN (0x01U) |
| PadN. | |
| #define | IPV6_EXT_OPT_JUMBO (0xC2U) |
| Jumbo payload. | |
| #define | IPV6_EXT_OPT_RPL (0x63U) |
| RPL Option. | |
| #define | IPV6_EXT_OPT_TEL (0x04U) |
| Tunnel Encapsulation Limit. | |
| #define | IPV6_EXT_OPT_RTR_ALERT (0x05U) |
| Router Alert. | |
| #define | IPV6_EXT_OPT_QUICK_START (0x26U) |
| Quick-Start. | |
| #define | IPV6_EXT_OPT_CALIPSO (0x07U) |
| CALIPSO. | |
| #define | IPV6_EXT_OPT_SMF_DPD (0x08U) |
| SMF_DPD. | |
| #define | IPV6_EXT_OPT_HOME_ADDR (0xC9U) |
| Home Address. | |
| #define | IPV6_EXT_OPT_ILNP_NONCE (0x8BU) |
| ILNP Nonce. | |
| #define | IPV6_EXT_OPT_LIO (0x8CU) |
| Line-Identification Option. | |
| #define | IPV6_EXT_OPT_MPL (0x6DU) |
| MPL Option. | |
| #define | IPV6_EXT_OPT_IP_DFF (0xEEU) |
| IP_DFF. | |
| #define | IPV6_EXT_OPT_PDM (0x0FU) |
| Performance and Diagnostic Metrics. | |
Processing actions | |
| |
| #define | IPV6_EXT_OPT_ACTION_MASK (0xc0) |
| mask to decode action from type | |
| #define | IPV6_EXT_OPT_ACTION_SKIP (0x00) |
| skip over this option and continue processing the header | |
| #define | IPV6_EXT_OPT_ACTION_DISC (0x40) |
| discard the packet | |
| #define | IPV6_EXT_OPT_ACTION_DISC_ERR_MCAST (0x80) |
| discard the packet | |
| #define | IPV6_EXT_OPT_ACTION_DISC_ERR (0xc0) |
| discard the packet | |