opt.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Freie Universität Berlin
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 
21 #ifndef NET_IPV6_EXT_OPT_H
22 #define NET_IPV6_EXT_OPT_H
23 
24 #include <stdint.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
36 #define IPV6_EXT_OPT_PAD1 (0x00U)
37 #define IPV6_EXT_OPT_PADN (0x01U)
38 #define IPV6_EXT_OPT_JUMBO (0xC2U)
39 #define IPV6_EXT_OPT_RPL (0x63U)
40 #define IPV6_EXT_OPT_TEL (0x04U)
41 #define IPV6_EXT_OPT_RTR_ALERT (0x05U)
42 #define IPV6_EXT_OPT_QUICK_START (0x26U)
43 #define IPV6_EXT_OPT_CALIPSO (0x07U)
44 #define IPV6_EXT_OPT_SMF_DPD (0x08U)
45 #define IPV6_EXT_OPT_HOME_ADDR (0xC9U)
46 #define IPV6_EXT_OPT_ILNP_NONCE (0x8BU)
47 #define IPV6_EXT_OPT_LIO (0x8CU)
48 #define IPV6_EXT_OPT_MPL (0x6DU)
49 #define IPV6_EXT_OPT_IP_DFF (0xEEU)
50 #define IPV6_EXT_OPT_PDM (0x0FU)
65 #define IPV6_EXT_OPT_ACTION_MASK (0xc0)
66 
69 #define IPV6_EXT_OPT_ACTION_SKIP (0x00)
70 #define IPV6_EXT_OPT_ACTION_DISC (0x40)
79 #define IPV6_EXT_OPT_ACTION_DISC_ERR_MCAST (0x80)
80 
88 #define IPV6_EXT_OPT_ACTION_DISC_ERR (0xc0)
89 
91 #ifdef __cplusplus
92 }
93 #endif
94 
95 #endif /* NET_IPV6_EXT_OPT_H */
96