dhcpv6.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 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_DHCPV6_H
22 #define NET_DHCPV6_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
34 #define DHCPV6_CLIENT_PORT (546U)
35 #ifndef DHCPV6_SERVER_PORT /* only reconfigure for testing!!1! */
36 #define DHCPV6_SERVER_PORT (547U)
37 #endif
47 #define DHCPV6_SOLICIT (1U)
48 #define DHCPV6_ADVERTISE (2U)
49 #define DHCPV6_REQUEST (3U)
50 #define DHCPV6_CONFIRM (4U)
51 #define DHCPV6_RENEW (5U)
52 #define DHCPV6_REBIND (6U)
53 #define DHCPV6_REPLY (7U)
54 #define DHCPV6_RELEASE (8U)
55 #define DHCPV6_DECLINE (9U)
56 #define DHCPV6_INFO_REQUEST (11U)
57 #define DHCPV6_RELAY_FORW (12U)
58 #define DHCPV6_RELAY_REPL (13U)
68 #define DHCPV6_OPT_CID (1U)
69 #define DHCPV6_OPT_SID (2U)
70 #define DHCPV6_OPT_IA_NA (3U)
72 #define DHCPV6_OPT_IAADDR (5U)
73 #define DHCPV6_OPT_ORO (6U)
74 #define DHCPV6_OPT_PREF (7U)
75 #define DHCPV6_OPT_ELAPSED_TIME (8U)
76 #define DHCPV6_OPT_RELAY_MSG (9U)
77 #define DHCPV6_OPT_STATUS (13U)
78 #define DHCPV6_OPT_IID (18U)
79 #define DHCPV6_OPT_DNS_RNS (23U)
80 #define DHCPV6_OPT_IA_PD (25U)
82 #define DHCPV6_OPT_IAPFX (26U)
83 #define DHCPV6_OPT_IRT (32U)
84 #define DHCPV6_OPT_SMR (82U)
85 #define DHCPV6_OPT_IMR (83U)
86 #define DHCPV6_OPT_MUD_URL (112U)
96 #define DHCPV6_STATUS_SUCCESS (0U)
105 #define DHCPV6_DUID_TYPE_L2 (3U)
108 #ifdef __cplusplus
109 }
110 #endif
111 
112 #endif /* NET_DHCPV6_H */