config_bootp.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright 2007 Freescale Semiconductor, Inc.
  3. *
  4. * This file is licensed under the terms of the GNU General Public
  5. * License Version 2. This file is licensed "as is" without any
  6. * warranty of any kind, whether express or implied.
  7. */
  8. #ifndef _CONFIG_BOOTP_H
  9. #define _CONFIG_BOOTP_H
  10. /*
  11. * Optional BOOTP fields
  12. */
  13. #define CONFIG_BOOTP_SUBNETMASK 0x00000001
  14. #define CONFIG_BOOTP_GATEWAY 0x00000002
  15. #define CONFIG_BOOTP_HOSTNAME 0x00000004
  16. #define CONFIG_BOOTP_NISDOMAIN 0x00000008
  17. #define CONFIG_BOOTP_BOOTPATH 0x00000010
  18. #define CONFIG_BOOTP_BOOTFILESIZE 0x00000020
  19. #define CONFIG_BOOTP_DNS 0x00000040
  20. #define CONFIG_BOOTP_DNS2 0x00000080
  21. #define CONFIG_BOOTP_SEND_HOSTNAME 0x00000100
  22. #define CONFIG_BOOTP_NTPSERVER 0x00000200
  23. #define CONFIG_BOOTP_TIMEOFFSET 0x00000400
  24. #define CONFIG_BOOTP_VENDOREX 0x80000000
  25. #define CONFIG_BOOTP_ALL (~CONFIG_BOOTP_VENDOREX)
  26. #define CONFIG_BOOTP_DEFAULT (CONFIG_BOOTP_SUBNETMASK | \
  27. CONFIG_BOOTP_GATEWAY | \
  28. CONFIG_BOOTP_HOSTNAME | \
  29. CONFIG_BOOTP_BOOTPATH)
  30. #ifndef CONFIG_BOOTP_MASK
  31. #define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
  32. #endif
  33. #endif /* _CONFIG_BOOTP_H */