Lines Matching refs:boot
785 struct dhcp_boot *boot = find_boot(netid); in dhcp_reply() local
798 if (boot) in dhcp_reply()
800 if (boot->next_server.s_addr) in dhcp_reply()
801 mess->siaddr = boot->next_server; in dhcp_reply()
803 if (boot->file) in dhcp_reply()
804 strncpy((char *)mess->file, boot->file, sizeof(mess->file)-1); in dhcp_reply()
1999 struct dhcp_boot *boot; in find_boot() local
2002 for (boot = daemon->boot_config; boot; boot = boot->next) in find_boot()
2003 if (match_netid(boot->netid, netid, 0)) in find_boot()
2005 if (!boot) in find_boot()
2007 for (boot = daemon->boot_config; boot; boot = boot->next) in find_boot()
2008 if (match_netid(boot->netid, netid, 1)) in find_boot()
2011 return boot; in find_boot()
2027 struct dhcp_boot *boot; in do_options() local
2066 if ((boot = find_boot(netid))) in do_options()
2068 if (boot->sname) in do_options()
2073 option_put_string(mess, end, OPTION_SNAME, boot->sname, 1); in do_options()
2075 strncpy((char *)mess->sname, boot->sname, sizeof(mess->sname)-1); in do_options()
2078 if (boot->file) in do_options()
2083 option_put_string(mess, end, OPTION_FILENAME, boot->file, 1); in do_options()
2085 strncpy((char *)mess->file, boot->file, sizeof(mess->file)-1); in do_options()
2088 if (boot->next_server.s_addr) in do_options()
2089 mess->siaddr = boot->next_server; in do_options()