/external/u-boot/include/ |
D | net.h | 38 #define ARP_HLEN 6 macro 43 #define ARP_HLEN_ASCII (ARP_HLEN * 2) + (ARP_HLEN - 1) 97 unsigned char enetaddr[ARP_HLEN]; 169 unsigned char enetaddr[ARP_HLEN]; 305 u8 et_dest[ARP_HLEN]; /* Destination node */ 306 u8 et_src[ARP_HLEN]; /* Source node */ 316 u8 et_dest[ARP_HLEN]; /* Destination node */ 317 u8 et_src[ARP_HLEN]; /* Source node */ 335 u8 vet_dest[ARP_HLEN]; /* Destination node */ 336 u8 vet_src[ARP_HLEN]; /* Source node */ [all …]
|
/external/u-boot/tools/ |
D | gen_ethaddr_crc.c | 15 #define ARP_HLEN 6 /* Length of hardware address */ macro 16 #define ARP_HLEN_ASCII (ARP_HLEN * 2) + (ARP_HLEN - 1) /* with separators */ 17 #define ARP_HLEN_LAZY (ARP_HLEN * 2) /* separatorless hardware address length */ 26 uint8_t ethaddr[ARP_HLEN + 1] = { 0x00 }; in process_mac() 41 for (i = 0; i < ARP_HLEN; i++) in process_mac() 43 printf("%.2x\n", crc8(0, ethaddr, ARP_HLEN)); in process_mac()
|
/external/u-boot/drivers/net/ |
D | sandbox.c | 26 uchar fake_host_hwaddr[ARP_HLEN]; 64 ARP_HLEN); in sb_eth_start() 91 memcpy(eth_recv->et_dest, eth->et_src, ARP_HLEN); in sb_eth_send() 93 ARP_HLEN); in sb_eth_send() 100 arp_recv->ar_hln = ARP_HLEN; in sb_eth_send() 104 ARP_HLEN); in sb_eth_send() 106 memcpy(&arp_recv->ar_tha, &arp->ar_sha, ARP_HLEN); in sb_eth_send() 131 ARP_HLEN); in sb_eth_send() 133 ARP_HLEN); in sb_eth_send()
|
D | sandbox-raw.c | 89 arp->ar_hln = ARP_HLEN; in sb_eth_raw_recv() 93 memset(&arp->ar_sha, 0x01, ARP_HLEN); in sb_eth_raw_recv() 96 memcpy(&arp->ar_tha, pdata->enetaddr, ARP_HLEN); in sb_eth_raw_recv() 112 memcpy(eth->et_dest, pdata->enetaddr, ARP_HLEN); in sb_eth_raw_recv() 113 memset(eth->et_src, 0x01, ARP_HLEN); in sb_eth_raw_recv()
|
/external/u-boot/net/ |
D | arp.c | 70 arp->ar_hln = ARP_HLEN; in arp_raw_request() 74 memcpy(&arp->ar_sha, net_ethaddr, ARP_HLEN); /* source ET addr */ in arp_raw_request() 76 memcpy(&arp->ar_tha, target_ethaddr, ARP_HLEN); /* target ET addr */ in arp_raw_request() 150 if (arp->ar_hln != ARP_HLEN) in arp_receive() 167 memcpy(&arp->ar_tha, &arp->ar_sha, ARP_HLEN); in arp_receive() 169 memcpy(&arp->ar_sha, net_ethaddr, ARP_HLEN); in arp_receive() 213 &arp->ar_sha, ARP_HLEN); in arp_receive() 221 &arp->ar_sha, ARP_HLEN); in arp_receive()
|
D | net_rand.h | 19 unsigned char enetaddr[ARP_HLEN]; in seed_mac() 23 memcpy(enetaddr, eth_get_ethaddr(), ARP_HLEN); in seed_mac()
|
D | eth_legacy.c | 123 memset(dev->enetaddr, 0, ARP_HLEN); in on_ethaddr() 136 unsigned char env_enetaddr[ARP_HLEN]; in eth_write_hwaddr() 143 memcmp(dev->enetaddr, env_enetaddr, ARP_HLEN)) { in eth_write_hwaddr() 152 memcpy(dev->enetaddr, env_enetaddr, ARP_HLEN); in eth_write_hwaddr() 301 u8 mcast_mac[ARP_HLEN]; in eth_mcast_join()
|
D | eth-uclass.c | 233 memset(pdata->enetaddr, 0, ARP_HLEN); in on_ethaddr() 461 unsigned char env_enetaddr[ARP_HLEN]; in eth_post_probe() 500 memcmp(pdata->enetaddr, env_enetaddr, ARP_HLEN)) { in eth_post_probe() 510 memcpy(pdata->enetaddr, env_enetaddr, ARP_HLEN); in eth_post_probe() 538 memset(pdata->enetaddr, 0, ARP_HLEN); in eth_pre_remove()
|
D | wol.c | 34 if (memcmp(&wol->wol_dest[i * ARP_HLEN], in wol_check_magic() 35 net_ethaddr, ARP_HLEN) != 0) in wol_check_magic()
|
D | wol.h | 33 u8 wol_dest[WOL_MAC_REPETITIONS * ARP_HLEN]; /* 16x MAC */
|
D | link_local.c | 270 memcmp(&arp->ar_sha, net_ethaddr, ARP_HLEN) != 0) in link_local_receive_arp() 283 memcmp(&arp->ar_sha, net_ethaddr, ARP_HLEN) != 0) { in link_local_receive_arp()
|
/external/u-boot/lib/efi_selftest/ |
D | efi_selftest_snp.c | 108 boottime->copy_mem(p.eth_hdr.et_dest, (void *)BROADCAST_MAC, ARP_HLEN); in send_dhcp_discover() 110 ARP_HLEN); in send_dhcp_discover() 141 &net->mode->current_address, ARP_HLEN); in send_dhcp_discover() 219 if (net->mode->hwaddr_size != ARP_HLEN) { in setup() 221 net->mode->hwaddr_size, ARP_HLEN); in setup() 338 ARP_HLEN) && in execute() 339 efi_st_memcmp(&destaddr, BROADCAST_MAC, ARP_HLEN)) in execute() 363 if (!efi_st_memcmp(&destaddr, BROADCAST_MAC, ARP_HLEN)) in execute()
|
D | efi_selftest_console.c | 29 for (i = 0; i < ARP_HLEN; ++i) { in mac()
|
/external/u-boot/lib/efi_loader/ |
D | efi_net.c | 262 memcpy(dest_addr, eth_hdr->et_dest, ARP_HLEN); in efi_net_receive() 264 memcpy(src_addr, eth_hdr->et_src, ARP_HLEN); in efi_net_receive() 362 netobj->net_mode.hwaddr_size = ARP_HLEN; in efi_net_register()
|
D | efi_device_path.c | 502 memcpy(&dp->mac, &pdata->enetaddr, ARP_HLEN); in dp_fill() 882 memcpy(ndp->mac.addr, eth_get_ethaddr(), ARP_HLEN); in efi_dp_from_eth()
|
/external/u-boot/board/qualcomm/dragonboard410c/ |
D | dragonboard410c.c | 180 fix[i].property, mac, ARP_HLEN, 1); in ft_board_setup()
|
/external/u-boot/drivers/net/fsl-mc/ |
D | mc.c | 170 unsigned char env_enetaddr[ARP_HLEN]; in mc_fixup_mac_addr() 171 unsigned int enetaddr_32[ARP_HLEN]; in mc_fixup_mac_addr() 177 for (i = 0; i < ARP_HLEN; i++) in mc_fixup_mac_addr() 185 len = ARP_HLEN; in mc_fixup_mac_addr()
|
/external/u-boot/common/ |
D | fdt_support.c | 488 unsigned char mac_addr[ARP_HLEN]; in fdt_fixup_ethernet()
|