Home
last modified time | relevance | path

Searched refs:net_gateway (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/cmd/
H A Dnet.c120 if (net_gateway.s_addr) { in netboot_update_env()
121 ip_to_string(net_gateway, tmp); in netboot_update_env()
439 net_gateway.s_addr = 0; in do_link_local()
440 ip_to_string(net_gateway, tmp); in do_link_local()
/openbmc/u-boot/net/
H A Darp.c85 if (net_gateway.s_addr == 0) { in arp_request()
89 net_arp_wait_reply_ip = net_gateway; in arp_request()
H A Dbootp.c214 if (net_gateway.s_addr == 0) in bootp_process_vendor_field()
215 net_copy_ip(&net_gateway, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field()
325 if (net_gateway.s_addr) in bootp_process_vendor()
326 debug("net_gateway : %pI4", &net_gateway); in bootp_process_vendor()
850 net_copy_ip(&net_gateway, (popt + 2)); in dhcp_process_options()
H A Dtftp.c684 if (net_gateway.s_addr && net_netmask.s_addr) { in tftp_start()
691 printf("; sending through gateway %pI4", &net_gateway); in tftp_start()
H A Dnfs.c883 if (net_gateway.s_addr && net_netmask.s_addr) { in nfs_start()
891 &net_gateway); in nfs_start()
H A Dnet.c127 struct in_addr net_gateway; variable
234 net_gateway = string_to_ip(value); in on_gatewayip()
/openbmc/u-boot/include/
H A Dnet.h500 extern struct in_addr net_gateway; /* Our gateway IP address */