summaryrefslogtreecommitdiff
path: root/src/dhcp-protocol.h
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2018-06-21 15:44:41 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2018-06-21 15:45:21 +0900
commit2b5ed83fec55f5d96338fe3ae5e394bed1a407f4 (patch)
treed3d74be1606f40615be2a5693efda635a3053c43 /src/dhcp-protocol.h
parent0ebdbc1d2fd08c1de37fa314ea02b51085dfb3d9 (diff)
downloaddnsmasq-2b5ed83fec55f5d96338fe3ae5e394bed1a407f4.tar.gz
dnsmasq-2b5ed83fec55f5d96338fe3ae5e394bed1a407f4.tar.bz2
dnsmasq-2b5ed83fec55f5d96338fe3ae5e394bed1a407f4.zip
Imported Upstream version 2.79upstream/2.79
Change-Id: I9a2f4c945e0481ab803bdf0c85921433f33a9256 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Diffstat (limited to 'src/dhcp-protocol.h')
-rw-r--r--src/dhcp-protocol.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dhcp-protocol.h b/src/dhcp-protocol.h
index 701b6cb..a4a3535 100644
--- a/src/dhcp-protocol.h
+++ b/src/dhcp-protocol.h
@@ -1,4 +1,4 @@
-/* dnsmasq is Copyright (c) 2000-2015 Simon Kelley
+/* dnsmasq is Copyright (c) 2000-2018 Simon Kelley
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,6 +19,10 @@
#define DHCP_CLIENT_ALTPORT 1068
#define PXE_PORT 4011
+/* These each hold a DHCP option max size 255
+ and get a terminating zero added */
+#define DHCP_BUFF_SZ 256
+
#define BOOTREQUEST 1
#define BOOTREPLY 2
#define DHCP_COOKIE 0x63825363