Home
last modified time | relevance | path

Searched refs:net_hostname (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/net/
H A Dbootp.c60 char net_hostname[32] = {0,}; /* Our hostname */ variable
242 if (net_hostname[0] == 0) { in bootp_process_vendor_field()
244 sizeof(net_hostname), size); in bootp_process_vendor_field()
245 memcpy(&net_hostname, ext + 2, size); in bootp_process_vendor_field()
246 net_hostname[size] = 0; in bootp_process_vendor_field()
332 if (net_hostname[0]) in bootp_process_vendor()
333 debug("net_hostname : %s\n", net_hostname); in bootp_process_vendor()
861 sizeof(net_hostname), oplen); in dhcp_process_options()
862 memcpy(&net_hostname, popt + 2, size); in dhcp_process_options()
863 net_hostname[size] = 0; in dhcp_process_options()
/openbmc/u-boot/cmd/
H A Dnet.c130 if (net_hostname[0]) in netboot_update_env()
131 env_set("hostname", net_hostname); in netboot_update_env()
/openbmc/u-boot/include/
H A Dnet.h509 extern char net_hostname[32]; /* Our hostname */