summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dhcpv6/option_types.go68
1 files changed, 35 insertions, 33 deletions
diff --git a/dhcpv6/option_types.go b/dhcpv6/option_types.go
index 238b442..946dcd0 100644
--- a/dhcpv6/option_types.go
+++ b/dhcpv6/option_types.go
@@ -2,39 +2,41 @@ package dhcpv6
// FIXME: rename all the options to have a consistent name, e.g. OPT_<NAME>
const (
- OPTION_CLIENTID OptionCode = 1
- OPTION_SERVERID OptionCode = 2
- OPTION_IA_NA OptionCode = 3
- OPTION_IA_TA OptionCode = 4
- OPTION_IAADDR OptionCode = 5
- OPTION_ORO OptionCode = 6
- OPTION_PREFERENCE OptionCode = 7
- OPTION_ELAPSED_TIME OptionCode = 8
- OPTION_RELAY_MSG OptionCode = 9
- OPTION_AUTH OptionCode = 11
- OPTION_UNICAST OptionCode = 12
- OPTION_STATUS_CODE OptionCode = 13
- OPTION_RAPID_COMMIT OptionCode = 14
- OPTION_USER_CLASS OptionCode = 15
- OPTION_VENDOR_CLASS OptionCode = 16
- OPTION_VENDOR_OPTS OptionCode = 17
- OPTION_INTERFACE_ID OptionCode = 18
- OPTION_RECONF_MSG OptionCode = 19
- OPTION_RECONF_ACCEPT OptionCode = 20
- SIP_SERVERS_DOMAIN_NAME_LIST OptionCode = 21
- SIP_SERVERS_IPV6_ADDRESS_LIST OptionCode = 22
- DNS_RECURSIVE_NAME_SERVER OptionCode = 23
- DOMAIN_SEARCH_LIST OptionCode = 24
- OPTION_IA_PD OptionCode = 25
- OPTION_IAPREFIX OptionCode = 26
- OPTION_NIS_SERVERS OptionCode = 27
- OPTION_NISP_SERVERS OptionCode = 28
- OPTION_NIS_DOMAIN_NAME OptionCode = 29
- OPTION_NISP_DOMAIN_NAME OptionCode = 30
- SNTP_SERVER_LIST OptionCode = 31
- INFORMATION_REFRESH_TIME OptionCode = 32
- BCMCS_CONTROLLER_DOMAIN_NAME_LIST OptionCode = 33
- BCMCS_CONTROLLER_IPV6_ADDRESS_LIST OptionCode = 34
+ OPTION_CLIENTID OptionCode = 1
+ OPTION_SERVERID OptionCode = 2
+ OPTION_IA_NA OptionCode = 3
+ OPTION_IA_TA OptionCode = 4
+ OPTION_IAADDR OptionCode = 5
+ OPTION_ORO OptionCode = 6
+ OPTION_PREFERENCE OptionCode = 7
+ OPTION_ELAPSED_TIME OptionCode = 8
+ OPTION_RELAY_MSG OptionCode = 9
+ // skip 10
+ OPTION_AUTH OptionCode = 11
+ OPTION_UNICAST OptionCode = 12
+ OPTION_STATUS_CODE OptionCode = 13
+ OPTION_RAPID_COMMIT OptionCode = 14
+ OPTION_USER_CLASS OptionCode = 15
+ OPTION_VENDOR_CLASS OptionCode = 16
+ OPTION_VENDOR_OPTS OptionCode = 17
+ OPTION_INTERFACE_ID OptionCode = 18
+ OPTION_RECONF_MSG OptionCode = 19
+ OPTION_RECONF_ACCEPT OptionCode = 20
+ SIP_SERVERS_DOMAIN_NAME_LIST OptionCode = 21
+ SIP_SERVERS_IPV6_ADDRESS_LIST OptionCode = 22
+ DNS_RECURSIVE_NAME_SERVER OptionCode = 23
+ DOMAIN_SEARCH_LIST OptionCode = 24
+ OPTION_IA_PD OptionCode = 25
+ OPTION_IAPREFIX OptionCode = 26
+ OPTION_NIS_SERVERS OptionCode = 27
+ OPTION_NISP_SERVERS OptionCode = 28
+ OPTION_NIS_DOMAIN_NAME OptionCode = 29
+ OPTION_NISP_DOMAIN_NAME OptionCode = 30
+ SNTP_SERVER_LIST OptionCode = 31
+ INFORMATION_REFRESH_TIME OptionCode = 32
+ BCMCS_CONTROLLER_DOMAIN_NAME_LIST OptionCode = 33
+ BCMCS_CONTROLLER_IPV6_ADDRESS_LIST OptionCode = 34
+ // skip 35
OPTION_GEOCONF_CIVIC OptionCode = 36
OPTION_REMOTE_ID OptionCode = 37
RELAY_AGENT_SUBSCRIBER_ID OptionCode = 38