aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index e88cfb1c7..d7c874e5b 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -44,6 +44,10 @@ struct dhcp_packet {
44 uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */ 44 uint32_t cookie; /* fixed first four option bytes (99,130,83,99 dec) */
45 uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS]; 45 uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS];
46} PACKED; 46} PACKED;
47#define DHCP_PKT_SNAME_LEN 64
48#define DHCP_PKT_FILE_LEN 128
49#define DHCP_PKT_SNAME_LEN_STR "64"
50#define DHCP_PKT_FILE_LEN_STR "128"
47 51
48struct ip_udp_dhcp_packet { 52struct ip_udp_dhcp_packet {
49 struct iphdr ip; 53 struct iphdr ip;