blob: 48733c7b79311572a2f55221260a95134f2dcae8 [file] [log] [blame]
Ningyuan Wangd4b86842016-01-13 11:28:54 -08001//
2// Copyright (C) 2015 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17#ifndef DHCP_CLIENT_DHCP_OPTIONS_H_
18#define DHCP_CLIENT_DHCP_OPTIONS_H_
19
20namespace dhcp_client {
21// Constants for DHCP options.
22const uint8_t kDHCPOptionPad = 0;
23const uint8_t kDHCPOptionDNSServer = 6;
24const uint8_t kDHCPOptionLeaseTime = 51;
25const uint8_t kDHCPOptionMessageType = 53;
26const uint8_t kDHCPOptionServerIdentifier = 54;
27const uint8_t kDHCPOptionRenewalTime = 58;
28const uint8_t kDHCPOptionRebindingTime = 59;
29const uint8_t kDHCPOptionEnd = 255;
30
31const int kDHCPOptionLength = 312;
32} // namespace dhcp_client
33
34#endif // DHCP_CLIENT_DHCP_OPTIONS_H_