Remove dhcpd.h.

This commit is contained in:
Nicholas J. Kain
2011-03-30 05:55:12 -04:00
parent ef9d9d26df
commit 13d9119f3a
10 changed files with 50 additions and 82 deletions

View File

@@ -6,6 +6,8 @@
#define TYPE_MASK 0x0F
#define DHCP_OPTIONS_BUFSIZE 308
/* DHCP option codes (partial list) */
#define DHCP_PADDING 0x00
#define DHCP_SUBNET 0x01
@@ -66,12 +68,23 @@ enum {
#define OPTION_REQ 0x10 /* have the client request this option */
#define OPTION_LIST 0x20 /* There can be a list of 1 or more of these */
enum {
OPT_CODE = 0,
OPT_LEN = 1,
OPT_DATA = 2
};
struct dhcp_option {
char name[10];
char flags;
unsigned char code;
};
struct option_set {
unsigned char *data;
struct option_set *next;
};
extern struct dhcp_option options[];
extern int option_lengths[];