Lines Matching refs:options
169 if (dhcpData.options + 4 > end()) { in isValidDhcpMessage()
184 if (dhcpData.options[0] != OPT_COOKIE1) { in isValidDhcpMessage()
187 if (dhcpData.options[1] != OPT_COOKIE2) { in isValidDhcpMessage()
190 if (dhcpData.options[2] != OPT_COOKIE3) { in isValidDhcpMessage()
193 if (dhcpData.options[3] != OPT_COOKIE4) { in isValidDhcpMessage()
201 auto options = reinterpret_cast<const uint8_t*>(&dhcpData.options); in optionsSize() local
203 if (msgEnd <= options) { in optionsSize()
206 return msgEnd - options; in optionsSize()
252 uint8_t* opts = dhcpData.options; in Message()
289 uint8_t optCode = dhcpData.options[i]; in getOption()
290 uint8_t optLen = dhcpData.options[i + 1]; in getOption()
291 const uint8_t* opt = dhcpData.options + i + 2; in getOption()