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