source:
vbox/trunk/src/VBox/NetworkServices/NAT/dhcp6.h@
52560
Last change on this file since 52560 was 48001, checked in by , 11 years ago | |
---|---|
|
|
File size: 966 bytes |
Line | |
---|---|
1 | /* -*- indent-tabs-mode: nil; -*- */ |
2 | #ifndef _DHCP6_H_ |
3 | #define _DHCP6_H_ |
4 | |
5 | /* UDP ports */ |
6 | #define DHCP6_CLIENT_PORT 546 |
7 | #define DHCP6_SERVER_PORT 547 |
8 | |
9 | /* Message types */ |
10 | #define DHCP6_REPLY 7 |
11 | #define DHCP6_INFORMATION_REQUEST 11 |
12 | #define DHCP6_RELAY_FORW 12 |
13 | #define DHCP6_RELAY_REPLY 13 |
14 | |
15 | /* DUID types */ |
16 | #define DHCP6_DUID_LLT 1 |
17 | #define DHCP6_DUID_EN 2 |
18 | #define DHCP6_DUID_LL 3 |
19 | |
20 | /* Hardware type for DUID-LLT and DUID-LL */ |
21 | #define ARES_HRD_ETHERNET 1 /* RFC 826*/ |
22 | |
23 | /* Options */ |
24 | #define DHCP6_OPTION_CLIENTID 1 |
25 | #define DHCP6_OPTION_SERVERID 2 |
26 | #define DHCP6_OPTION_ORO 6 |
27 | #define DHCP6_OPTION_ELAPSED_TIME 8 |
28 | #define DHCP6_OPTION_STATUS_CODE 13 |
29 | #define DHCP6_OPTION_DNS_SERVERS 23 /* RFC 3646 */ |
30 | #define DHCP6_OPTION_DOMAIN_LIST 24 /* RFC 3646 */ |
31 | |
32 | #endif /* _DHCP6_H_ */ |
Note:
See TracBrowser
for help on using the repository browser.