1 /* vi: set sw=4 ts=4: */
22 #define OPTION_REQ 0x10 /* have the client request this option */
23 #define OPTION_LIST 0x20 /* There can be a list of 1 or more of these */
31 extern struct dhcp_option dhcp_options[];
32 extern int option_lengths[];
34 uint8_t *get_option(struct dhcpMessage *packet, int code);
35 int end_option(uint8_t *optionptr);
36 int add_option_string(uint8_t *optionptr, uint8_t *string);
37 int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data);