eth_addr 33 arch/um/drivers/net_user.c void tap_check_ips(char *gate_addr, unsigned char *eth_addr) eth_addr 40 arch/um/drivers/net_user.c (eth_addr[0] == tap_addr[0]) && eth_addr 41 arch/um/drivers/net_user.c (eth_addr[1] == tap_addr[1]) && eth_addr 42 arch/um/drivers/net_user.c (eth_addr[2] == tap_addr[2]) && eth_addr 43 arch/um/drivers/net_user.c (eth_addr[3] == tap_addr[3])) { eth_addr 36 arch/um/include/shared/net_user.h extern void tap_check_ips(char *gate_addr, unsigned char *eth_addr); eth_addr 53 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c static bool atl1c_read_current_addr(struct atl1c_hw *hw, u8 *eth_addr) eth_addr 60 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c *(u32 *) ð_addr[2] = htonl(addr[0]); eth_addr 61 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c *(u16 *) ð_addr[0] = htons((u16)addr[1]); eth_addr 63 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c return is_valid_ether_addr(eth_addr); eth_addr 60 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c u8 eth_addr[ETH_ALEN]; eth_addr 86 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c *(u32 *) ð_addr[2] = swab32(addr[0]); eth_addr 87 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c *(u16 *) ð_addr[0] = swab16(*(u16 *)&addr[1]); eth_addr 89 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c if (is_valid_ether_addr(eth_addr)) { eth_addr 90 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); eth_addr 423 drivers/net/ethernet/atheros/atlx/atl1.c u8 eth_addr[ETH_ALEN]; eth_addr 456 drivers/net/ethernet/atheros/atlx/atl1.c *(u32 *) ð_addr[2] = swab32(addr[0]); eth_addr 457 drivers/net/ethernet/atheros/atlx/atl1.c *(u16 *) ð_addr[0] = swab16(*(u16 *) &addr[1]); eth_addr 458 drivers/net/ethernet/atheros/atlx/atl1.c if (is_valid_ether_addr(eth_addr)) { eth_addr 459 drivers/net/ethernet/atheros/atlx/atl1.c memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); eth_addr 489 drivers/net/ethernet/atheros/atlx/atl1.c *(u32 *) ð_addr[2] = swab32(addr[0]); eth_addr 490 drivers/net/ethernet/atheros/atlx/atl1.c *(u16 *) ð_addr[0] = swab16(*(u16 *) &addr[1]); eth_addr 491 drivers/net/ethernet/atheros/atlx/atl1.c if (is_valid_ether_addr(eth_addr)) { eth_addr 492 drivers/net/ethernet/atheros/atlx/atl1.c memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); eth_addr 504 drivers/net/ethernet/atheros/atlx/atl1.c *(u32 *) ð_addr[2] = swab32(addr[0]); eth_addr 505 drivers/net/ethernet/atheros/atlx/atl1.c *(u16 *) ð_addr[0] = swab16(*(u16 *) &addr[1]); eth_addr 506 drivers/net/ethernet/atheros/atlx/atl1.c if (is_valid_ether_addr(eth_addr)) { eth_addr 507 drivers/net/ethernet/atheros/atlx/atl1.c memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); eth_addr 586 drivers/net/ethernet/chelsio/cxgb4/l2t.c u8 port, u8 *eth_addr) eth_addr 593 drivers/net/ethernet/chelsio/cxgb4/l2t.c e = find_or_alloc_l2e(d, vlan, port, eth_addr); eth_addr 600 drivers/net/ethernet/chelsio/cxgb4/l2t.c ether_addr_copy(e->dmac, eth_addr); eth_addr 1056 drivers/net/ethernet/freescale/fman/fman_dtsec.c int dtsec_add_hash_mac_address(struct fman_mac *dtsec, enet_addr_t *eth_addr) eth_addr 1068 drivers/net/ethernet/freescale/fman/fman_dtsec.c addr = ENET_ADDR_TO_UINT64(*eth_addr); eth_addr 1078 drivers/net/ethernet/freescale/fman/fman_dtsec.c crc = crc32_le(crc, (u8 *)eth_addr, ETH_ALEN); eth_addr 1166 drivers/net/ethernet/freescale/fman/fman_dtsec.c int dtsec_del_hash_mac_address(struct fman_mac *dtsec, enet_addr_t *eth_addr) eth_addr 1179 drivers/net/ethernet/freescale/fman/fman_dtsec.c addr = ENET_ADDR_TO_UINT64(*eth_addr); eth_addr 1189 drivers/net/ethernet/freescale/fman/fman_dtsec.c crc = crc32_le(crc, (u8 *)eth_addr, ETH_ALEN); eth_addr 1396 drivers/net/ethernet/freescale/fman/fman_dtsec.c enet_addr_t eth_addr; eth_addr 1413 drivers/net/ethernet/freescale/fman/fman_dtsec.c MAKE_ENET_ADDR_FROM_UINT64(dtsec->addr, eth_addr); eth_addr 1416 drivers/net/ethernet/freescale/fman/fman_dtsec.c dtsec->max_speed, (u8 *)eth_addr, dtsec->exceptions, eth_addr 55 drivers/net/ethernet/freescale/fman/fman_dtsec.h int dtsec_add_hash_mac_address(struct fman_mac *dtsec, enet_addr_t *eth_addr); eth_addr 56 drivers/net/ethernet/freescale/fman/fman_dtsec.h int dtsec_del_hash_mac_address(struct fman_mac *dtsec, enet_addr_t *eth_addr); eth_addr 488 drivers/net/ethernet/freescale/fman/fman_memac.c static u32 get_mac_addr_hash_code(u64 eth_addr) eth_addr 495 drivers/net/ethernet/freescale/fman/fman_memac.c mask1 = eth_addr & (u64)0x01; eth_addr 496 drivers/net/ethernet/freescale/fman/fman_memac.c eth_addr >>= 1; eth_addr 499 drivers/net/ethernet/freescale/fman/fman_memac.c mask2 = eth_addr & (u64)0x01; eth_addr 501 drivers/net/ethernet/freescale/fman/fman_memac.c eth_addr >>= 1; eth_addr 911 drivers/net/ethernet/freescale/fman/fman_memac.c int memac_add_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) eth_addr 921 drivers/net/ethernet/freescale/fman/fman_memac.c addr = ENET_ADDR_TO_UINT64(*eth_addr); eth_addr 972 drivers/net/ethernet/freescale/fman/fman_memac.c int memac_del_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) eth_addr 983 drivers/net/ethernet/freescale/fman/fman_memac.c addr = ENET_ADDR_TO_UINT64(*eth_addr); eth_addr 1032 drivers/net/ethernet/freescale/fman/fman_memac.c enet_addr_t eth_addr; eth_addr 1060 drivers/net/ethernet/freescale/fman/fman_memac.c MAKE_ENET_ADDR_FROM_UINT64(memac->addr, eth_addr); eth_addr 1061 drivers/net/ethernet/freescale/fman/fman_memac.c add_addr_in_paddr(memac->regs, (u8 *)eth_addr, 0); eth_addr 58 drivers/net/ethernet/freescale/fman/fman_memac.h int memac_add_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr); eth_addr 59 drivers/net/ethernet/freescale/fman/fman_memac.h int memac_del_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr); eth_addr 532 drivers/net/ethernet/freescale/fman/fman_tgec.c int tgec_add_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr) eth_addr 542 drivers/net/ethernet/freescale/fman/fman_tgec.c addr = ENET_ADDR_TO_UINT64(*eth_addr); eth_addr 550 drivers/net/ethernet/freescale/fman/fman_tgec.c crc = crc32_le(crc, (u8 *)eth_addr, ETH_ALEN); eth_addr 612 drivers/net/ethernet/freescale/fman/fman_tgec.c int tgec_del_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr) eth_addr 623 drivers/net/ethernet/freescale/fman/fman_tgec.c addr = ((*(u64 *)eth_addr) >> 16); eth_addr 626 drivers/net/ethernet/freescale/fman/fman_tgec.c crc = crc32_le(crc, (u8 *)eth_addr, ETH_ALEN); eth_addr 691 drivers/net/ethernet/freescale/fman/fman_tgec.c enet_addr_t eth_addr; eth_addr 709 drivers/net/ethernet/freescale/fman/fman_tgec.c MAKE_ENET_ADDR_FROM_UINT64(tgec->addr, eth_addr); eth_addr 710 drivers/net/ethernet/freescale/fman/fman_tgec.c set_mac_address(tgec->regs, (u8 *)eth_addr); eth_addr 51 drivers/net/ethernet/freescale/fman/fman_tgec.h int tgec_add_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr); eth_addr 52 drivers/net/ethernet/freescale/fman/fman_tgec.h int tgec_del_hash_mac_address(struct fman_mac *tgec, enet_addr_t *eth_addr); eth_addr 80 drivers/net/ethernet/freescale/fman/mac.h enet_addr_t *eth_addr); eth_addr 82 drivers/net/ethernet/freescale/fman/mac.h enet_addr_t *eth_addr); eth_addr 255 drivers/net/ethernet/i825xx/82596.c char eth_addr[8]; eth_addr 714 drivers/net/ethernet/i825xx/82596.c memcpy(lp->sa_cmd.eth_addr, dev->dev_addr, ETH_ALEN); eth_addr 1131 drivers/net/ethernet/i825xx/82596.c char eth_addr[8]; eth_addr 1158 drivers/net/ethernet/i825xx/82596.c memcpy(eth_addr, (void *) 0xfffc1f2c, ETH_ALEN); /* YUCK! Get addr from NOVRAM */ eth_addr 1172 drivers/net/ethernet/i825xx/82596.c eth_addr[i] = rtc[i * 4 + 7]; /* Stored in RTC RAM at offset 1 */ eth_addr 1192 drivers/net/ethernet/i825xx/82596.c DEB(DEB_PROBE,printk(" %2.2X", dev->dev_addr[i] = eth_addr[i])); eth_addr 228 drivers/net/ethernet/i825xx/lib82596.c char eth_addr[8]; eth_addr 609 drivers/net/ethernet/i825xx/lib82596.c memcpy(dma->sa_cmd.eth_addr, dev->dev_addr, ETH_ALEN); eth_addr 86 drivers/net/ethernet/i825xx/sni_82596.c u8 __iomem *eth_addr; eth_addr 113 drivers/net/ethernet/i825xx/sni_82596.c eth_addr = ioremap_nocache(idprom->start, 0x10); eth_addr 114 drivers/net/ethernet/i825xx/sni_82596.c if (!eth_addr) eth_addr 118 drivers/net/ethernet/i825xx/sni_82596.c netdevice->dev_addr[0] = readb(eth_addr + 0x0b); eth_addr 119 drivers/net/ethernet/i825xx/sni_82596.c netdevice->dev_addr[1] = readb(eth_addr + 0x0a); eth_addr 120 drivers/net/ethernet/i825xx/sni_82596.c netdevice->dev_addr[2] = readb(eth_addr + 0x09); eth_addr 121 drivers/net/ethernet/i825xx/sni_82596.c netdevice->dev_addr[3] = readb(eth_addr + 0x08); eth_addr 122 drivers/net/ethernet/i825xx/sni_82596.c netdevice->dev_addr[4] = readb(eth_addr + 0x07); eth_addr 123 drivers/net/ethernet/i825xx/sni_82596.c netdevice->dev_addr[5] = readb(eth_addr + 0x06); eth_addr 124 drivers/net/ethernet/i825xx/sni_82596.c iounmap(eth_addr); eth_addr 2418 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c ether_addr_copy(info.eth_addr, mac); eth_addr 2796 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_fdb_info.eth_addr, eth_addr 2805 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_fdb_info.eth_addr, eth_addr 2810 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_fdb_info.eth_addr, eth_addr 2953 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (ether_addr_equal(vxlan_fdb_info->eth_addr, all_zeros_mac)) { eth_addr 2972 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (br_fdb_find_port(br_dev, vxlan_fdb_info->eth_addr, vid) != dev) eth_addr 2975 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp, vxlan_fdb_info->eth_addr, eth_addr 2984 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_fdb_info->eth_addr, vid, dev, true); eth_addr 3023 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (ether_addr_equal(vxlan_fdb_info->eth_addr, all_zeros_mac)) { eth_addr 3029 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp, vxlan_fdb_info->eth_addr, eth_addr 3034 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_fdb_info->eth_addr, vid, dev, false); eth_addr 3103 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (is_multicast_ether_addr(vxlan_fdb_info->eth_addr)) { eth_addr 193 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u8 eth_addr[ETH_ALEN]; eth_addr 496 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c memcpy(&first_desc->eth_addr, skb->data, ETH_ALEN); eth_addr 158 drivers/net/ethernet/seeq/sgiseeq.c sregs->rw.eth_addr[i] = dev->dev_addr[i]; eth_addr 25 drivers/net/ethernet/seeq/sgiseeq.h volatile unsigned int eth_addr[6]; eth_addr 77 drivers/net/vxlan.c u8 eth_addr[ETH_ALEN]; eth_addr 269 drivers/net/vxlan.c send_eth = !is_zero_ether_addr(fdb->eth_addr); eth_addr 285 drivers/net/vxlan.c if (send_eth && nla_put(skb, NDA_LLADDR, ETH_ALEN, &fdb->eth_addr)) eth_addr 371 drivers/net/vxlan.c memcpy(fdb_info->eth_addr, fdb->eth_addr, ETH_ALEN); eth_addr 437 drivers/net/vxlan.c static void vxlan_fdb_miss(struct vxlan_dev *vxlan, const u8 eth_addr[ETH_ALEN]) eth_addr 444 drivers/net/vxlan.c memcpy(f.eth_addr, eth_addr, ETH_ALEN); eth_addr 494 drivers/net/vxlan.c if (ether_addr_equal(mac, f->eth_addr)) { eth_addr 541 drivers/net/vxlan.c u8 eth_addr[ETH_ALEN + 2] = { 0 }; eth_addr 550 drivers/net/vxlan.c ether_addr_copy(eth_addr, mac); eth_addr 554 drivers/net/vxlan.c f = __vxlan_find_mac(vxlan, eth_addr, vni); eth_addr 810 drivers/net/vxlan.c memcpy(f->eth_addr, mac, ETH_ALEN); eth_addr 876 drivers/net/vxlan.c netdev_dbg(vxlan->dev, "delete %pM\n", f->eth_addr); eth_addr 931 drivers/net/vxlan.c if (!(is_multicast_ether_addr(f->eth_addr) || eth_addr 932 drivers/net/vxlan.c is_zero_ether_addr(f->eth_addr))) { eth_addr 941 drivers/net/vxlan.c (is_multicast_ether_addr(f->eth_addr) || eth_addr 942 drivers/net/vxlan.c is_zero_ether_addr(f->eth_addr))) { eth_addr 2747 drivers/net/vxlan.c f->eth_addr); eth_addr 2866 drivers/net/vxlan.c if (!is_zero_ether_addr(f->eth_addr)) eth_addr 4280 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); eth_addr 4284 drivers/net/vxlan.c f = vxlan_find_mac(vxlan, fdb_info->eth_addr, fdb_info->vni); eth_addr 4310 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); eth_addr 4314 drivers/net/vxlan.c err = vxlan_fdb_update(vxlan, fdb_info->eth_addr, &fdb_info->remote_ip, eth_addr 4337 drivers/net/vxlan.c hash_index = fdb_head_index(vxlan, fdb_info->eth_addr, fdb_info->vni); eth_addr 4340 drivers/net/vxlan.c f = vxlan_find_mac(vxlan, fdb_info->eth_addr, fdb_info->vni); eth_addr 4344 drivers/net/vxlan.c err = __vxlan_fdb_delete(vxlan, fdb_info->eth_addr, eth_addr 440 drivers/staging/ks7010/ks_hostif.c if (ether_addr_equal(&priv->eth_addr[0], eth_hdr->h_source)) { eth_addr 549 drivers/staging/ks7010/ks_hostif.c ether_addr_copy(priv->eth_addr, priv->rxp); eth_addr 551 drivers/staging/ks7010/ks_hostif.c ether_addr_copy(dev->dev_addr, priv->eth_addr); eth_addr 552 drivers/staging/ks7010/ks_hostif.c netdev_info(dev, "MAC ADDRESS = %pM\n", priv->eth_addr); eth_addr 1117 drivers/staging/ks7010/ks_hostif.c if (!ether_addr_equal(&priv->eth_addr[0], eth->h_source)) { eth_addr 2068 drivers/staging/ks7010/ks_hostif.c &priv->eth_addr[0], ETH_ALEN); eth_addr 456 drivers/staging/ks7010/ks_wlan.h unsigned char eth_addr[ETH_ALEN]; eth_addr 2492 drivers/staging/ks7010/ks_wlan_net.c ether_addr_copy(priv->eth_addr, mac_addr->sa_data); eth_addr 2496 drivers/staging/ks7010/ks_wlan_net.c netdev_info(dev, "ks_wlan: MAC ADDRESS = %pM\n", priv->eth_addr); eth_addr 2625 drivers/staging/ks7010/ks_wlan_net.c ether_addr_copy(priv->eth_addr, dummy_addr); eth_addr 2626 drivers/staging/ks7010/ks_wlan_net.c ether_addr_copy(dev->dev_addr, priv->eth_addr); eth_addr 424 include/net/vxlan.h u8 eth_addr[ETH_ALEN]; eth_addr 291 net/bridge/br_forward.c maybe_deliver_addr(lport, skb, p->eth_addr, eth_addr 494 net/bridge/br_multicast.c memcpy(p->eth_addr, src, ETH_ALEN); eth_addr 496 net/bridge/br_multicast.c eth_broadcast_addr(p->eth_addr); eth_addr 511 net/bridge/br_multicast.c return ether_addr_equal(src, p->eth_addr); eth_addr 212 net/bridge/br_private.h unsigned char eth_addr[ETH_ALEN];