Lines Matching refs:req_options
103 unsigned char *req_options,
135 unsigned char *req_options = NULL; in dhcp_reply() local
826 req_options = (unsigned char *)daemon->dhcp_buff2; in dhcp_reply()
827 memcpy(req_options, option_ptr(opt, 0), option_len(opt)); in dhcp_reply()
828 req_options[option_len(opt)] = OPTION_END; in dhcp_reply()
964 do_options(context, mess, end, req_options, offer_hostname, get_domain(mess->yiaddr), in dhcp_reply()
1234 do_options(context, mess, end, req_options, hostname, get_domain(mess->yiaddr), in dhcp_reply()
1292 do_options(context, mess, end, req_options, hostname, get_domain(mess->ciaddr), in dhcp_reply()
2017 unsigned char *req_options, in do_options() argument
2037 if ((daemon->options & OPT_LOG_OPTS) && req_options) in do_options()
2040 for (i = 0; req_options[i] != OPTION_END; i++) in do_options()
2042 char *s = option_string(req_options[i], NULL, NULL); in do_options()
2045 req_options[i], in do_options()
2048 req_options[i+1] == OPTION_END ? "" : ", "); in do_options()
2049 if (req_options[i+1] == OPTION_END || (q - daemon->namebuff) > 40) in do_options()
2071 req_options && in do_options()
2072 in_list(req_options, OPTION_SNAME)) in do_options()
2081 req_options && in do_options()
2082 in_list(req_options, OPTION_FILENAME)) in do_options()
2097 if ((!req_options || !in_list(req_options, OPTION_FILENAME)) && mess->file[0] == 0 && in do_options()
2104 if ((!req_options || !in_list(req_options, OPTION_SNAME)) && in do_options()
2119 if (!req_options || (daemon->options & OPT_NO_OVERRIDE)) in do_options()
2151 in_list(req_options, OPTION_ROUTER) && in do_options()
2155 if (in_list(req_options, OPTION_DNSSERVER) && in do_options()
2160 if (domain && in_list(req_options, OPTION_DOMAINNAME) && in do_options()
2167 if (in_list(req_options, OPTION_HOSTNAME) && in do_options()
2218 if (!(opt->flags & DHOPT_FORCE) && !in_list(req_options, optno)) in do_options()
2291 (o->flags & DHOPT_FORCE || in_list(req_options, o->u.encap))) in do_options()
2305 if (in_list(req_options, OPTION_VENDOR_CLASS_OPT)) in do_options()
2318 if (!req_options || (daemon->options & OPT_NO_OVERRIDE)) in do_options()