Loading...
Searching...
No Matches
opt.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#include <stdint.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
33#define IPV6_EXT_OPT_PAD1 (0x00U)
34#define IPV6_EXT_OPT_PADN (0x01U)
35#define IPV6_EXT_OPT_JUMBO (0xC2U)
36#define IPV6_EXT_OPT_RPL (0x63U)
37#define IPV6_EXT_OPT_TEL (0x04U)
38#define IPV6_EXT_OPT_RTR_ALERT (0x05U)
39#define IPV6_EXT_OPT_QUICK_START (0x26U)
40#define IPV6_EXT_OPT_CALIPSO (0x07U)
41#define IPV6_EXT_OPT_SMF_DPD (0x08U)
42#define IPV6_EXT_OPT_HOME_ADDR (0xC9U)
43#define IPV6_EXT_OPT_ILNP_NONCE (0x8BU)
44#define IPV6_EXT_OPT_LIO (0x8CU)
45#define IPV6_EXT_OPT_MPL (0x6DU)
46#define IPV6_EXT_OPT_IP_DFF (0xEEU)
47#define IPV6_EXT_OPT_PDM (0x0FU)
49
62#define IPV6_EXT_OPT_ACTION_MASK (0xc0)
66#define IPV6_EXT_OPT_ACTION_SKIP (0x00)
67#define IPV6_EXT_OPT_ACTION_DISC (0x40)
76#define IPV6_EXT_OPT_ACTION_DISC_ERR_MCAST (0x80)
77
85#define IPV6_EXT_OPT_ACTION_DISC_ERR (0xc0)
87
88#ifdef __cplusplus
89}
90#endif
91