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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h
index 33a968ce9..4bf73a17e 100644
--- a/networking/udhcp/options.h
+++ b/networking/udhcp/options.h
@@ -33,6 +33,7 @@ enum {
33 33
34#define DHCP_MAGIC 0x63825363 34#define DHCP_MAGIC 0x63825363
35 35
36
36/* DHCP option codes (partial list) */ 37/* DHCP option codes (partial list) */
37#define DHCP_PADDING 0x00 38#define DHCP_PADDING 0x00
38#define DHCP_SUBNET 0x01 39#define DHCP_SUBNET 0x01
@@ -67,7 +68,6 @@ enum {
67#define DHCP_VENDOR 0x3c 68#define DHCP_VENDOR 0x3c
68#define DHCP_CLIENT_ID 0x3d 69#define DHCP_CLIENT_ID 0x3d
69#define DHCP_FQDN 0x51 70#define DHCP_FQDN 0x51
70
71#define DHCP_END 0xFF 71#define DHCP_END 0xFF
72 72
73 73
@@ -98,7 +98,7 @@ enum {
98#define OPT_DATA 2 98#define OPT_DATA 2
99 99
100struct dhcp_option { 100struct dhcp_option {
101 char name[12]; 101 char opt_name[12];
102 char flags; 102 char flags;
103 uint8_t code; 103 uint8_t code;
104}; 104};