Home
last modified time | relevance | path

Searched refs:net_ip (Results 1 – 15 of 15) sorted by relevance

/openbmc/u-boot/net/
H A Darp.c84 (net_ip.s_addr & net_netmask.s_addr)) { in arp_request()
95 arp_raw_request(net_ip, net_null_ethaddr, net_arp_wait_reply_ip); in arp_request()
155 if (net_ip.s_addr == 0) in arp_receive()
158 if (net_read_ip(&arp->ar_tpa).s_addr != net_ip.s_addr) in arp_receive()
170 net_copy_ip(&arp->ar_spa, &net_ip); in arp_receive()
H A Dtftp.c662 net_ip.s_addr & 0xFF, in tftp_start()
663 (net_ip.s_addr >> 8) & 0xFF, in tftp_start()
664 (net_ip.s_addr >> 16) & 0xFF, in tftp_start()
665 (net_ip.s_addr >> 24) & 0xFF); in tftp_start()
681 &tftp_remote_ip, &net_ip); in tftp_start()
688 our_net.s_addr = net_ip.s_addr & net_netmask.s_addr; in tftp_start()
778 printf("Listening for TFTP transfer on %pI4\n", &net_ip); in tftp_start_server()
H A Drarp.c44 net_copy_ip(&net_ip, &arp->ar_data[16]); in rarp_receive()
89 memcpy(&rarp->ar_data[6], &net_ip, 4); /* source IP addr */ in rarp_request()
H A Dping.c27 net_set_ip_header(pkt, dest, net_ip, IP_ICMP_HDR_SIZE, IPPROTO_ICMP); in set_icmp_header()
100 net_copy_ip((void *)&ip->ip_src, &net_ip); in ping_receive()
H A Dnet.c142 struct in_addr net_ip; variable
222 net_ip = string_to_ip(value); in on_ipaddr()
484 net_ip.s_addr = 0; in net_loop()
491 net_ip.s_addr = 0; in net_loop()
498 net_ip.s_addr = 0; in net_loop()
1230 if (net_ip.s_addr && dst_ip.s_addr != net_ip.s_addr && in net_process_received_packet()
1399 if (net_ip.s_addr == 0) { in net_check_prereq()
1541 net_set_ip_header(pkt, dest, net_ip, IP_UDP_HDR_SIZE + len, in net_set_udp_header()
H A Dnfs.c865 net_ip.s_addr & 0xFF, in nfs_start()
866 (net_ip.s_addr >> 8) & 0xFF, in nfs_start()
867 (net_ip.s_addr >> 16) & 0xFF, in nfs_start()
868 (net_ip.s_addr >> 24) & 0xFF); in nfs_start()
880 &nfs_server_ip, &net_ip); in nfs_start()
887 our_net.s_addr = net_ip.s_addr & net_netmask.s_addr; in nfs_start()
H A Dlink_local.c180 net_copy_ip(&net_ip, &ip); in link_local_timeout()
326 net_ip.s_addr = 0; in link_local_receive_arp()
H A Dfastboot.c308 printf("Listening for fastboot command on %pI4\n", &net_ip); in fastboot_start_server()
H A Dbootp.c180 net_copy_ip(&net_ip, &bp->bp_yiaddr); in store_net_params()
1092 &net_ip, get_timer(bootp_start)); in dhcp_handler()
/openbmc/u-boot/drivers/net/
H A Dsandbox-raw.c32 net_ip = string_to_ip("127.0.0.1"); in sb_eth_raw_start()
33 net_server_ip = net_ip; in sb_eth_raw_start()
94 net_write_ip(&arp->ar_tpa, net_ip); in sb_eth_raw_recv()
H A Dsandbox.c195 net_write_ip(&arp_recv->ar_tpa, net_ip); in sandbox_eth_recv_arp_req()
236 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
/openbmc/u-boot/cmd/
H A Dnet.c136 if (net_ip.s_addr) { in netboot_update_env()
137 ip_to_string(net_ip, tmp); in netboot_update_env()
446 ip_to_string(net_ip, tmp); in do_link_local()
H A Dpxe.c339 sprintf(ip_addr, "%08X", ntohl(net_ip.s_addr)); in pxe_ipaddr_paths()
/openbmc/u-boot/test/dm/
H A Deth.c292 ut_assert(net_read_ip(&arp->ar_spa).s_addr == net_ip.s_addr); in sb_check_arp_reply()
378 ut_assert(net_read_ip(&ip->ip_src).s_addr == net_ip.s_addr); in sb_check_ping_reply()
/openbmc/u-boot/include/
H A Dnet.h514 extern struct in_addr net_ip; /* Our IP addr (0 = unknown) */