Home
last modified time | relevance | path

Searched refs:ar_tpa (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/net/
H A Darp.c76 net_write_ip(&arp->ar_tpa, target_ip); /* target IP addr */ in arp_raw_request()
158 if (net_read_ip(&arp->ar_tpa).s_addr != net_ip.s_addr) in arp_receive()
168 net_copy_ip(&arp->ar_tpa, &arp->ar_spa); in arp_receive()
181 if ((net_read_ip(&arp->ar_tpa).s_addr & net_netmask.s_addr) != in arp_receive()
H A Dlink_local.c258 &arp->ar_tpa); in link_local_receive_arp()
282 memcmp(&arp->ar_tpa, &ip, ARP_PLEN) == 0 && in link_local_receive_arp()
/openbmc/u-boot/drivers/net/
H A Dsandbox-raw.c54 arp_ip = net_read_ip(&arp->ar_tpa); in sb_eth_raw_send()
94 net_write_ip(&arp->ar_tpa, net_ip); in sb_eth_raw_recv()
H A Dsandbox.c79 priv->fake_host_ipaddr = net_read_ip(&arp->ar_tpa); in sandbox_eth_arp_req_to_reply()
96 net_copy_ip(&arp_recv->ar_tpa, &arp->ar_spa); in sandbox_eth_arp_req_to_reply()
195 net_write_ip(&arp_recv->ar_tpa, net_ip); in sandbox_eth_recv_arp_req()
/openbmc/u-boot/include/
H A Dnet.h422 #define ar_tpa ar_data[ARP_HLEN + ARP_PLEN + ARP_HLEN] macro
427 u8 ar_tpa[]; /* Target protocol address */
/openbmc/u-boot/test/dm/
H A Deth.c294 ut_assert(net_read_ip(&arp->ar_tpa).s_addr == in sb_check_arp_reply()