Home
last modified time | relevance | path

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

/u-boot/net/
A Darp.c74 (net_ip.s_addr & net_netmask.s_addr)) { in arp_request()
85 arp_raw_request(net_ip, net_null_ethaddr, net_arp_wait_reply_ip); in arp_request()
145 if (net_ip.s_addr == 0) in arp_receive()
148 if (net_read_ip(&arp->ar_tpa).s_addr != net_ip.s_addr) in arp_receive()
160 net_copy_ip(&arp->ar_spa, &net_ip); in arp_receive()
A Dping.c29 net_set_ip_header(pkt, dest, net_ip, IP_ICMP_HDR_SIZE, IPPROTO_ICMP); in set_icmp_header()
93 if (net_ip.s_addr == 0) in ping_receive()
105 net_copy_ip((void *)&ip->ip_src, &net_ip); in ping_receive()
A Drarp.c40 net_copy_ip(&net_ip, &arp->ar_data[16]); in rarp_receive()
85 memcpy(&rarp->ar_data[6], &net_ip, 4); /* source IP addr */ in rarp_request()
A Dtcp.c260 &net_server_ip, &net_ip, in tcp_set_tcp_header()
280 &net_server_ip, &net_ip, tcp_seq_num, tcp_ack_num, in tcp_set_tcp_header()
286 &net_server_ip, &net_ip, tcp_seq_num, tcp_ack_num); in tcp_set_tcp_header()
295 &net_server_ip, &net_ip, tcp_seq_num, tcp_ack_num); in tcp_set_tcp_header()
306 &net_server_ip, &net_ip, in tcp_set_tcp_header()
314 &net_server_ip, &net_ip, in tcp_set_tcp_header()
348 b->ip.hdr.tcp_xsum = tcp_set_pseudo_header(pkt, net_ip, net_server_ip, in tcp_set_tcp_header()
351 net_set_ip_header((uchar *)&b->ip, net_server_ip, net_ip, in tcp_set_tcp_header()
652 b->ip.hdr.ip_dst = net_ip; in rxhand_tcp_f()
657 &net_ip, &net_server_ip, pkt_len); in rxhand_tcp_f()
[all …]
A Dtftp.c827 net_ip.s_addr & 0xFF, in tftp_start()
828 (net_ip.s_addr >> 8) & 0xFF, in tftp_start()
829 (net_ip.s_addr >> 16) & 0xFF, in tftp_start()
830 (net_ip.s_addr >> 24) & 0xFF); in tftp_start()
872 &tftp_remote_ip, &net_ip); in tftp_start()
885 our_net.s_addr = net_ip.s_addr & net_netmask.s_addr; in tftp_start()
973 printf("Listening for TFTP transfer on %pI4\n", &net_ip); in tftp_start_server()
A Dnet.c151 struct in_addr net_ip; variable
224 net_ip = string_to_ip(value); in on_ipaddr()
527 net_ip.s_addr = 0; in net_loop()
538 net_ip.s_addr = 0; in net_loop()
545 net_ip.s_addr = 0; in net_loop()
1344 if (net_ip.s_addr && dst_ip.s_addr != net_ip.s_addr && in net_process_received_packet()
1535 } else if (net_ip.s_addr == 0) { in net_check_prereq()
1677 net_set_ip_header(pkt, dest, net_ip, IP_UDP_HDR_SIZE + len, in net_set_udp_header()
A Dlink_local.c183 net_copy_ip(&net_ip, &ip); in link_local_timeout()
329 net_ip.s_addr = 0; in link_local_receive_arp()
A Dnfs.c927 net_ip.s_addr & 0xFF, in nfs_start()
928 (net_ip.s_addr >> 8) & 0xFF, in nfs_start()
929 (net_ip.s_addr >> 16) & 0xFF, in nfs_start()
930 (net_ip.s_addr >> 24) & 0xFF); in nfs_start()
942 &nfs_server_ip, &net_ip); in nfs_start()
949 our_net.s_addr = net_ip.s_addr & net_netmask.s_addr; in nfs_start()
A Dwget.c398 &web_server_ip, &net_ip); in wget_start()
405 our_net.s_addr = net_ip.s_addr & net_netmask.s_addr; in wget_start()
A Dfastboot_tcp.c143 printf("Listening for fastboot command on tcp %pI4\n", &net_ip); in fastboot_tcp_start_server()
A Dfastboot_udp.c277 printf("Listening for fastboot command on %pI4\n", &net_ip); in fastboot_udp_start_server()
A Dbootp.c189 net_copy_ip(&net_ip, &bp->bp_yiaddr); in store_net_params()
1110 &net_ip, get_timer(bootp_start)); in dhcp_handler()
/u-boot/drivers/net/
A Dsandbox-raw.c35 net_ip = string_to_ip("127.0.0.1"); in sb_eth_raw_start()
36 net_server_ip = net_ip; in sb_eth_raw_start()
97 net_write_ip(&arp->ar_tpa, net_ip); in sb_eth_raw_recv()
A Dsandbox.c197 net_write_ip(&arp_recv->ar_tpa, net_ip); in sandbox_eth_recv_arp_req()
238 net_write_ip(&ipr->ip_dst, net_ip); in sandbox_eth_recv_ping_req()
/u-boot/cmd/
A Dnet.c234 if (net_ip.s_addr) { in netboot_update_env()
235 ip_to_string(net_ip, tmp); in netboot_update_env()
664 ip_to_string(net_ip, tmp); in do_link_local()
A Dpxe.c120 sprintf(ip_addr, "%08X", ntohl(net_ip.s_addr)); in pxe_ipaddr_paths()
/u-boot/test/dm/
A Deth.c472 ut_assert(net_read_ip(&arp->ar_spa).s_addr == net_ip.s_addr); in sb_check_arp_reply()
558 ut_assert(net_read_ip(&ip->ip_src).s_addr == net_ip.s_addr); in sb_check_ping_reply()
/u-boot/include/
A Dnet.h492 extern struct in_addr net_ip; /* Our IP addr (0 = unknown) */

Completed in 39 milliseconds