Lines Matching refs:options_startp
1133 const uint8_t *options_startp = in read_lease() local
1135 const uint8_t *options_endp = options_startp + sizeof(dhcp->options); in read_lease()
1157 if (read_buffer + bytes < options_startp) in read_lease()
1168 while (options_startp < options_endp) { in read_lease()
1169 option_type = *options_startp++; in read_lease()
1173 option_len = *options_startp++; in read_lease()
1174 options_startp += option_len; in read_lease()
1177 memcpy(dhcp, read_buffer, options_startp - read_buffer); in read_lease()
1210 if (options_startp >= options_endp || in read_lease()
1211 options_startp + sizeof(state->server_info) > options_endp) in read_lease()
1217 memcpy(&state->server_info, options_startp, sizeof(state->server_info)); in read_lease()