Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:opt

151 	const struct dhcp_opt *opt;
157 for (opt = dhcp_opts; opt->option; opt++) {
158 if (opt->option != option)
162 *type = opt->type;
164 if (opt->type == 0 || opt->type & STRING || opt->type & RFC3442)
168 if (opt->type & UINT32 || opt->type & IPV4)
170 if (opt->type & UINT16)
172 if (opt->type & UINT8)
174 if (opt->type & IPV4 || opt->type & ARRAY)
190 #define get_option_raw(dhcp, opt) get_option(dhcp, opt, NULL, NULL)
192 get_option(const struct dhcp_message *dhcp, uint8_t opt, int *len, int *type)
205 if (o == opt) {