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
38 
47 #define DHCPV6_SOLICIT (1U)
48 #define DHCPV6_ADVERTISE (2U)
49 #define DHCPV6_REQUEST (3U)
50 #define DHCPV6_RENEW (5U)
51 #define DHCPV6_REBIND (6U)
52 #define DHCPV6_REPLY (7U)
62 #define DHCPV6_OPT_CID (1U)
63 #define DHCPV6_OPT_SID (2U)
64 #define DHCPV6_OPT_ORO (6U)
65 #define DHCPV6_OPT_PREF (7U)
66 #define DHCPV6_OPT_ELAPSED_TIME (8U)
67 #define DHCPV6_OPT_STATUS (13U)
68 #define DHCPV6_OPT_IA_PD (25U)
70 #define DHCPV6_OPT_IAPFX (26U)
71 #define DHCPV6_OPT_SMR (82U)
81 #define DHCPV6_STATUS_SUCCESS (0U)
90 #define DHCPV6_DUID_TYPE_L2 (3U)
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif /* NET_DHCPV6_H */
98