21 #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 */
30 extern struct dhcp_option dhcp_options[];
31 extern int option_lengths[];
33 uint8_t *get_option(struct dhcpMessage *packet, int code);
34 int end_option(uint8_t *optionptr);
35 int add_option_string(uint8_t *optionptr, uint8_t *string);
36 int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data);