Lines Matching defs:code
14 /* name[12] flags code */
72 uint8_t *get_option(struct dhcpMessage *packet, int code)
86 if (optionptr[i + OPT_CODE] == code) {
139 /* add an option string to the options (an option string contains an option code,
145 /* end position + string length + option code/length + end option */
159 int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data)
163 for (dh = dhcp_options; dh->code; dh++) {
164 if (dh->code == code) {
167 option[OPT_CODE] = code;
178 bb_error_msg("cannot add option 0x%02x", code);