Home | History | Annotate | Download | only in src

Lines Matching defs:boot

785 	      struct dhcp_boot *boot = find_boot(netid);
798 if (boot)
800 if (boot->next_server.s_addr)
801 mess->siaddr = boot->next_server;
803 if (boot->file)
804 strncpy((char *)mess->file, boot->file, sizeof(mess->file)-1);
1880 we don't provide our own address for services we are the boot server for because unicast
1930 /* Boot service with known address - give it */
1940 type zero is "local boot" so no need for M/C on that. */
1999 struct dhcp_boot *boot;
2001 /* decide which dhcp-boot option we're using */
2002 for (boot = daemon->boot_config; boot; boot = boot->next)
2003 if (match_netid(boot->netid, netid, 0))
2005 if (!boot)
2007 for (boot = daemon->boot_config; boot; boot = boot->next)
2008 if (match_netid(boot->netid, netid, 1))
2011 return boot;
2027 struct dhcp_boot *boot;
2060 /* See if we can send the boot stuff as options.
2066 if ((boot = find_boot(netid)))
2068 if (boot->sname)
2073 option_put_string(mess, end, OPTION_SNAME, boot->sname, 1);
2075 strncpy((char *)mess->sname, boot->sname, sizeof(mess->sname)-1);
2078 if (boot->file)
2083 option_put_string(mess, end, OPTION_FILENAME, boot->file, 1);
2085 strncpy((char *)mess->file, boot->file, sizeof(mess->file)-1);
2088 if (boot->next_server.s_addr)
2089 mess->siaddr = boot->next_server;
2092 /* Use the values of the relevant options if no dhcp-boot given and
2094 as an internal way to specify siaddr without using dhcp-boot, for use in