Home
last modified time | relevance | path

Searched refs:net_netmask (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/net/
H A Darp.c83 if ((net_arp_wait_packet_ip.s_addr & net_netmask.s_addr) != in arp_request()
84 (net_ip.s_addr & net_netmask.s_addr)) { in arp_request()
181 if ((net_read_ip(&arp->ar_tpa).s_addr & net_netmask.s_addr) != in arp_receive()
182 (net_read_ip(&arp->ar_spa).s_addr & net_netmask.s_addr)) in arp_receive()
H A Dbootp.c207 if (net_netmask.s_addr == 0) in bootp_process_vendor_field()
208 net_copy_ip(&net_netmask, (struct in_addr *)(ext + 2)); in bootp_process_vendor_field()
322 if (net_netmask.s_addr) in bootp_process_vendor()
323 debug("net_netmask : %pI4\n", &net_netmask); in bootp_process_vendor()
840 net_copy_ip(&net_netmask, (popt + 2)); in dhcp_process_options()
H A Dtftp.c684 if (net_gateway.s_addr && net_netmask.s_addr) { in tftp_start()
688 our_net.s_addr = net_ip.s_addr & net_netmask.s_addr; in tftp_start()
689 remote_net.s_addr = tftp_remote_ip.s_addr & net_netmask.s_addr; in tftp_start()
H A Dnfs.c883 if (net_gateway.s_addr && net_netmask.s_addr) { in nfs_start()
887 our_net.s_addr = net_ip.s_addr & net_netmask.s_addr; in nfs_start()
888 server_net.s_addr = nfs_server_ip.s_addr & net_netmask.s_addr; in nfs_start()
H A Dlink_local.c114 net_netmask.s_addr = htonl(IN_CLASSB_NET); in link_local_start()
H A Dnet.c125 struct in_addr net_netmask; variable
246 net_netmask = string_to_ip(value); in on_netmask()
/openbmc/u-boot/cmd/
H A Dnet.c125 if (net_netmask.s_addr) { in netboot_update_env()
126 ip_to_string(net_netmask, tmp); in netboot_update_env()
443 ip_to_string(net_netmask, tmp); in do_link_local()
/openbmc/u-boot/include/
H A Dnet.h501 extern struct in_addr net_netmask; /* Our subnet mask (0 = unknown) */