Loading...
Searching...
No Matches
dhcpv6.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
31#define DHCPV6_CLIENT_PORT (546U)
32#ifndef DHCPV6_SERVER_PORT /* only reconfigure for testing!!1! */
33#define DHCPV6_SERVER_PORT (547U)
34#endif
36
44#define DHCPV6_SOLICIT (1U)
45#define DHCPV6_ADVERTISE (2U)
46#define DHCPV6_REQUEST (3U)
47#define DHCPV6_CONFIRM (4U)
48#define DHCPV6_RENEW (5U)
49#define DHCPV6_REBIND (6U)
50#define DHCPV6_REPLY (7U)
51#define DHCPV6_RELEASE (8U)
52#define DHCPV6_DECLINE (9U)
53#define DHCPV6_INFO_REQUEST (11U)
54#define DHCPV6_RELAY_FORW (12U)
55#define DHCPV6_RELAY_REPL (13U)
57
65#define DHCPV6_OPT_CID (1U)
66#define DHCPV6_OPT_SID (2U)
67#define DHCPV6_OPT_IA_NA (3U)
69#define DHCPV6_OPT_IAADDR (5U)
70#define DHCPV6_OPT_ORO (6U)
71#define DHCPV6_OPT_PREF (7U)
72#define DHCPV6_OPT_ELAPSED_TIME (8U)
73#define DHCPV6_OPT_RELAY_MSG (9U)
74#define DHCPV6_OPT_STATUS (13U)
75#define DHCPV6_OPT_IID (18U)
76#define DHCPV6_OPT_DNS_RNS (23U)
77#define DHCPV6_OPT_IA_PD (25U)
79#define DHCPV6_OPT_IAPFX (26U)
80#define DHCPV6_OPT_IRT (32U)
81#define DHCPV6_OPT_SMR (82U)
82#define DHCPV6_OPT_IMR (83U)
83#define DHCPV6_OPT_MUD_URL (112U)
85
93#define DHCPV6_STATUS_SUCCESS (0U)
95
102#define DHCPV6_DUID_TYPE_L2 (3U)
104
105#ifdef __cplusplus
106}
107#endif
108