defaults.h 990 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
  2. //
  3. // This Source Code Form is subject to the terms of the Mozilla Public
  4. // License, v. 2.0. If a copy of the MPL was not distributed with this
  5. // file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. /// @file defaults.h
  7. ///
  8. /// @brief Contains the default values for various parameters.
  9. ///
  10. /// While the content of this file is currently small, it is envisaged that it
  11. /// will grow over time.
  12. #ifndef DEFAULTS_H
  13. #define DEFAULTS_H
  14. #include <stdint.h>
  15. namespace isc {
  16. namespace dhcp {
  17. /// @brief Number of seconds after declined lease recovers
  18. ///
  19. /// This define specifies the default value for decline probation period.
  20. /// Once a lease is declined, it will spend this amount of seconds as
  21. /// being unavailable. This is only the default value. Specific value may
  22. /// be defined in the configuration file. The default is 1 day.
  23. static const uint32_t DEFAULT_DECLINE_PROBATION_PERIOD = 24*3600;
  24. };
  25. };
  26. #endif