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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h
index 1fded2ef4..dccaa2af9 100644
--- a/networking/udhcp/options.h
+++ b/networking/udhcp/options.h
@@ -4,6 +4,8 @@
4 4
5#include "packet.h" 5#include "packet.h"
6 6
7#include "config.h"
8
7#define TYPE_MASK 0x0F 9#define TYPE_MASK 0x0F
8 10
9enum { 11enum {
@@ -20,6 +22,7 @@ enum {
20 22
21#define OPTION_REQ 0x10 /* have the client request this option */ 23#define OPTION_REQ 0x10 /* have the client request this option */
22#define OPTION_LIST 0x20 /* There can be a list of 1 or more of these */ 24#define OPTION_LIST 0x20 /* There can be a list of 1 or more of these */
25#define OPTION_PREFIX 0x40 /* ip wants a prefix instead of a ip for subnet */
23 26
24struct dhcp_option { 27struct dhcp_option {
25 char name[10]; 28 char name[10];