Home | History | Annotate | Download | only in dhcpcd

Lines Matching defs:option

59 /* Our aggregate option buffer.
65 uint8_t option;
206 for (opt = dhcp_opts; opt->option; opt++)
208 printf("%03d %s\n", opt->option, opt->var);
221 for (opt = dhcp_opts; opt->option; opt++) {
231 if (opt->option == n)
242 opt->option);
245 opt->option);
249 if (!opt->option) {
260 valid_length(uint8_t option, int dl, int *type)
268 for (opt = dhcp_opts; opt->option; opt++) {
269 if (opt->option != option)
291 /* unknown option, so let it pass */
353 /* Ensure we only get this option once */
381 uint8_t option)
383 const uint8_t *p = get_option_raw(dhcp, option);
392 get_option_uint32(uint32_t *i, const struct dhcp_message *dhcp, uint8_t option)
394 const uint8_t *p = get_option_raw(dhcp, option);
405 get_option_uint16(uint16_t *i, const struct dhcp_message *dhcp, uint8_t option)
407 const uint8_t *p = get_option_raw(dhcp, option);
418 get_option_uint8(uint8_t *i, const struct dhcp_message *dhcp, uint8_t option)
420 const uint8_t *p = get_option_raw(dhcp, option);
429 /* Decode an RFC3397 DNS search order option into a space
645 /* Decode an RFC5969 6rd order option into a space
714 get_option_string(const struct dhcp_message *dhcp, uint8_t option)
721 p = get_option(dhcp, option, &len, &type);
789 /* Check for crappy MS option */
1043 * The FQDN option should be used if a FQDN is required. */
1056 /* IETF DHC-FQDN option (81), RFC4702 */
1088 for (opt = dhcp_opts; opt->option; opt++) {
1090 has_option_mask(ifo->requestmask, opt->option)))
1093 (opt->option == DHO_RENEWALTIME ||
1094 opt->option == DHO_REBINDTIME))
1096 *p++ = opt->option;
1393 for (opt = dhcp_opts; opt->option; opt++) {
1396 if (has_option_mask(ifo->nomask, opt->option))
1398 if (get_option_raw(dhcp, opt->option))
1436 for (opt = dhcp_opts; opt->option; opt++) {
1439 if (has_option_mask(ifo->nomask, opt->option))
1442 p = get_option(dhcp, opt->option, &pl, NULL);
1446 if (opt->option == DHO_FQDN) {