Lines Matching refs:opt
213 const uint8_t* opt = getOption(OPT_MESSAGE_TYPE, &length); in type() local
214 if (opt && length == 1) { in type()
215 return *opt; in type()
222 const uint8_t* opt = getOption(OPT_SERVER_ID, &length); in serverId() local
223 if (opt && length == 4) { in serverId()
224 return *reinterpret_cast<const in_addr_t*>(opt); in serverId()
231 const uint8_t* opt = getOption(OPT_REQUESTED_IP, &length); in requestedIp() local
232 if (opt && length == 4) { in requestedIp()
233 return *reinterpret_cast<const in_addr_t*>(opt); in requestedIp()
293 const uint8_t* opt = dhcpData.options + i + 2; in getOption() local
300 return opt; in getOption()