[tcp] Store local port in host byte order
[gpxe.git] / src / config / general.h
blobbfab5b6e9b596a6b1c1708550cd5f309fb93db48
1 #ifndef CONFIG_GENERAL_H
2 #define CONFIG_GENERAL_H
4 /** @file
6 * General configuration
8 */
10 FILE_LICENCE ( GPL2_OR_LATER );
12 #include <config/defaults.h>
15 * Branding
17 * Vendors may use these strings to add their own branding to gPXE.
18 * PRODUCT_NAME is displayed prior to any gPXE branding in startup
19 * messages, and PRODUCT_SHORT_NAME is used where a brief product
20 * label is required (e.g. in BIOS boot selection menus).
22 * To minimise end-user confusion, it's probably a good idea to either
23 * make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as
24 * "gPXE".
27 #define PRODUCT_NAME ""
28 #define PRODUCT_SHORT_NAME "gPXE"
31 * Timer configuration
34 #define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell
35 banner should appear */
38 * Network protocols
42 #define NET_PROTO_IPV4 /* IPv4 protocol */
45 * PXE support
48 //#undef PXE_STACK /* PXE stack in gPXE - you want this! */
49 //#undef PXE_MENU /* PXE menu booting */
52 * Download protocols
56 #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
57 #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
58 #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
59 #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
60 #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
61 #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
64 * SAN boot protocols
68 //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
69 //#undef SANBOOT_PROTO_AOE /* AoE protocol */
70 //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
73 * 802.11 cryptosystems and handshaking protocols
76 #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
77 #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
78 #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
81 * Name resolution modules
85 #define DNS_RESOLVER /* DNS resolver */
88 * Image types
90 * Etherboot supports various image formats. Select whichever ones
91 * you want to use.
94 //#define IMAGE_NBI /* NBI image support */
95 //#define IMAGE_ELF /* ELF image support */
96 //#define IMAGE_FREEBSD /* FreeBSD kernel image support */
97 //#define IMAGE_MULTIBOOT /* MultiBoot image support */
98 //#define IMAGE_AOUT /* a.out image support */
99 //#define IMAGE_WINCE /* WinCE image support */
100 //#define IMAGE_PXE /* PXE image support */
101 //#define IMAGE_SCRIPT /* gPXE script image support */
102 //#define IMAGE_BZIMAGE /* Linux bzImage image support */
103 //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
104 //#define IMAGE_EFI /* EFI image support */
107 * Command-line commands to include
110 #define AUTOBOOT_CMD /* Automatic booting */
111 #define NVO_CMD /* Non-volatile option storage commands */
112 #define CONFIG_CMD /* Option configuration console */
113 #define IFMGMT_CMD /* Interface management commands */
114 #define IWMGMT_CMD /* Wireless interface management commands */
115 #define ROUTE_CMD /* Routing table management commands */
116 #define IMAGE_CMD /* Image management commands */
117 #define DHCP_CMD /* DHCP management commands */
118 #define SANBOOT_CMD /* SAN boot commands */
119 #define LOGIN_CMD /* Login command */
120 #undef TIME_CMD /* Time commands */
121 #undef DIGEST_CMD /* Image crypto digest commands */
122 //#undef PXE_CMD /* PXE commands */
125 * Error message tables to include
128 #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
131 * Obscure configuration options
133 * You probably don't need to touch these.
137 #undef BUILD_SERIAL /* Include an automatic build serial
138 * number. Add "bs" to the list of
139 * make targets. For example:
140 * "make bin/rtl8139.dsk bs" */
141 #undef BUILD_ID /* Include a custom build ID string,
142 * e.g "test-foo" */
143 #undef NULL_TRAP /* Attempt to catch NULL function calls */
144 #undef GDBSERIAL /* Remote GDB debugging over serial */
145 #undef GDBUDP /* Remote GDB debugging over UDP
146 * (both may be set) */
148 #include <config/local/general.h>
150 #endif /* CONFIG_GENERAL_H */