2 * Copyright 2007 Freescale Semiconductor, Inc.
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.
9 #ifndef _CONFIG_BOOTP_H
10 #define _CONFIG_BOOTP_H
13 * Optional BOOTP fields
16 #define CONFIG_BOOTP_SUBNETMASK 0x00000001
17 #define CONFIG_BOOTP_GATEWAY 0x00000002
18 #define CONFIG_BOOTP_HOSTNAME 0x00000004
19 #define CONFIG_BOOTP_NISDOMAIN 0x00000008
20 #define CONFIG_BOOTP_BOOTPATH 0x00000010
21 #define CONFIG_BOOTP_BOOTFILESIZE 0x00000020
22 #define CONFIG_BOOTP_DNS 0x00000040
23 #define CONFIG_BOOTP_DNS2 0x00000080
24 #define CONFIG_BOOTP_SEND_HOSTNAME 0x00000100
25 #define CONFIG_BOOTP_NTPSERVER 0x00000200
26 #define CONFIG_BOOTP_TIMEOFFSET 0x00000400
28 #define CONFIG_BOOTP_VENDOREX 0x80000000
30 #define CONFIG_BOOTP_ALL (~CONFIG_BOOTP_VENDOREX)
32 #define CONFIG_BOOTP_DEFAULT (CONFIG_BOOTP_SUBNETMASK | \
33 CONFIG_BOOTP_GATEWAY | \
34 CONFIG_BOOTP_HOSTNAME | \
35 CONFIG_BOOTP_BOOTPATH)
37 #ifndef CONFIG_BOOTP_MASK
38 #define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
41 #endif /* _CONFIG_BOOTP_H */