aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r--networking/udhcp/options.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h
index 2d9c15f8a..75087fa35 100644
--- a/networking/udhcp/options.h
+++ b/networking/udhcp/options.h
@@ -46,9 +46,9 @@ enum {
46#define DHCP_LOG_SERVER 0x07 46#define DHCP_LOG_SERVER 0x07
47//#define DHCP_COOKIE_SERVER 0x08 /* "quote of the day" server */ 47//#define DHCP_COOKIE_SERVER 0x08 /* "quote of the day" server */
48#define DHCP_LPR_SERVER 0x09 48#define DHCP_LPR_SERVER 0x09
49#define DHCP_HOST_NAME 0x0c 49#define DHCP_HOST_NAME 0x0c /* either client informs server or server gives name to client */
50#define DHCP_BOOT_SIZE 0x0d 50#define DHCP_BOOT_SIZE 0x0d
51#define DHCP_DOMAIN_NAME 0x0f 51#define DHCP_DOMAIN_NAME 0x0f /* server gives domain suffix */
52#define DHCP_SWAP_SERVER 0x10 52#define DHCP_SWAP_SERVER 0x10
53#define DHCP_ROOT_PATH 0x11 53#define DHCP_ROOT_PATH 0x11
54#define DHCP_IP_TTL 0x17 54#define DHCP_IP_TTL 0x17
@@ -61,14 +61,14 @@ enum {
61#define DHCP_OPTION_OVERLOAD 0x34 61#define DHCP_OPTION_OVERLOAD 0x34
62#define DHCP_MESSAGE_TYPE 0x35 62#define DHCP_MESSAGE_TYPE 0x35
63#define DHCP_SERVER_ID 0x36 /* by default server's IP */ 63#define DHCP_SERVER_ID 0x36 /* by default server's IP */
64#define DHCP_PARAM_REQ 0x37 64#define DHCP_PARAM_REQ 0x37 /* list of options client wants */
65#define DHCP_MESSAGE 0x38 /* error message when sending NAK etc */ 65#define DHCP_MESSAGE 0x38 /* error message when sending NAK etc */
66#define DHCP_MAX_SIZE 0x39 66#define DHCP_MAX_SIZE 0x39
67//#define DHCP_T1 0x3a 67//#define DHCP_T1 0x3a
68//#define DHCP_T2 0x3b 68//#define DHCP_T2 0x3b
69#define DHCP_VENDOR 0x3c /* client's vendor */ 69#define DHCP_VENDOR 0x3c /* client's vendor (a string) */
70#define DHCP_CLIENT_ID 0x3d /* by default client's MAC addr */ 70#define DHCP_CLIENT_ID 0x3d /* by default client's MAC addr, but may be arbitrarily long */
71#define DHCP_FQDN 0x51 71#define DHCP_FQDN 0x51 /* client asks to update DNS to map its FQDN to its new IP */
72#define DHCP_STATIC_ROUTES 0x79 72#define DHCP_STATIC_ROUTES 0x79
73#define DHCP_END 0xFF 73#define DHCP_END 0xFF
74/* Offsets in option byte sequence */ 74/* Offsets in option byte sequence */