Lines Matching defs:options
33 -o Don't request any options (unless -O is given)
165 uint8_t options[308];
254 // calculate options size.
745 padding = 308 - 1 - dhcp_opt_size(state->pdhcp.options);
796 int padding = 308 - 1 - dhcp_opt_size(state->pdhcp.options);
900 // adds request options using -o,-O flag to dhcp packet
930 // Sets values of -x options in dhcp discover and request packet.
1001 // Add the common header options
1002 pend = state->pdhcp.options;
1053 * parses options from received dhcp packet at OPTPTR and
1058 uint8_t type = 0, *options, overloaded = 0;;
1139 options = &optptr[2];
1143 memcpy(&convtmp, options, sizeof(uint32_t));
1146 options += 4;
1159 options = &optptr[2];
1166 unsigned mask = *options;
1173 *p_tmp++ = *options++;
1181 dest += sprintf(dest, "%u.%u.%u.%u", options[0], options[1], options[2], options[3]);
1182 options += 4;
1205 return get_option_msgtype(state->pdhcp.options);
1462 if (!msgType || !get_option_serverid(state->pdhcp.options, &result)) continue; //no server id ignore
1465 dhcpc_parseoptions(&result, state->pdhcp.options);
1466 get_option_lease(state->pdhcp.options, &result);