eui 202 drivers/firmware/edd.c info->params.device_path.i1394.eui); eui 3094 drivers/nvme/host/core.c static DEVICE_ATTR_RO(eui); eui 126 include/net/addrconf.h static inline void addrconf_addr_eui48_base(u8 *eui, const char *const addr) eui 128 include/net/addrconf.h memcpy(eui, addr, 3); eui 129 include/net/addrconf.h eui[3] = 0xFF; eui 130 include/net/addrconf.h eui[4] = 0xFE; eui 131 include/net/addrconf.h memcpy(eui + 5, addr + 3, 3); eui 134 include/net/addrconf.h static inline void addrconf_addr_eui48(u8 *eui, const char *const addr) eui 136 include/net/addrconf.h addrconf_addr_eui48_base(eui, addr); eui 137 include/net/addrconf.h eui[0] ^= 2; eui 140 include/net/addrconf.h static inline int addrconf_ifid_eui48(u8 *eui, struct net_device *dev) eui 159 include/net/addrconf.h addrconf_addr_eui48_base(eui, dev->dev_addr); eui 162 include/net/addrconf.h eui[3] = (dev->dev_id >> 8) & 0xFF; eui 163 include/net/addrconf.h eui[4] = dev->dev_id & 0xFF; eui 165 include/net/addrconf.h eui[0] ^= 2; eui 141 include/uapi/linux/edd.h __u64 eui; eui 18 net/6lowpan/6lowpan_i.h int addrconf_ifid_802154_6lowpan(u8 *eui, struct net_device *dev); eui 78 net/6lowpan/core.c int addrconf_ifid_802154_6lowpan(u8 *eui, struct net_device *dev) eui 93 net/6lowpan/core.c memset(eui, 0, 2); eui 95 net/6lowpan/core.c ieee802154_le16_to_be16(eui, &wpan_dev->pan_id); eui 98 net/6lowpan/core.c eui[0] &= ~2; eui 99 net/6lowpan/core.c eui[2] = 0; eui 100 net/6lowpan/core.c eui[3] = 0xFF; eui 101 net/6lowpan/core.c eui[4] = 0xFE; eui 102 net/6lowpan/core.c eui[5] = 0; eui 103 net/6lowpan/core.c ieee802154_le16_to_be16(&eui[6], &wpan_dev->short_addr); eui 141 net/ipv6/addrconf.c static int ipv6_generate_eui64(u8 *eui, struct net_device *dev); eui 2192 net/ipv6/addrconf.c static int addrconf_ifid_6lowpan(u8 *eui, struct net_device *dev) eui 2196 net/ipv6/addrconf.c memcpy(eui, dev->dev_addr, 3); eui 2197 net/ipv6/addrconf.c eui[3] = 0xFF; eui 2198 net/ipv6/addrconf.c eui[4] = 0xFE; eui 2199 net/ipv6/addrconf.c memcpy(eui + 5, dev->dev_addr + 3, 3); eui 2202 net/ipv6/addrconf.c memcpy(eui, dev->dev_addr, EUI64_ADDR_LEN); eui 2203 net/ipv6/addrconf.c eui[0] ^= 2; eui 2212 net/ipv6/addrconf.c static int addrconf_ifid_ieee1394(u8 *eui, struct net_device *dev) eui 2221 net/ipv6/addrconf.c memcpy(eui, &ha->uc.uniq_id, sizeof(ha->uc.uniq_id)); eui 2222 net/ipv6/addrconf.c eui[0] ^= 2; eui 2226 net/ipv6/addrconf.c static int addrconf_ifid_arcnet(u8 *eui, struct net_device *dev) eui 2231 net/ipv6/addrconf.c memset(eui, 0, 7); eui 2232 net/ipv6/addrconf.c eui[7] = *(u8 *)dev->dev_addr; eui 2236 net/ipv6/addrconf.c static int addrconf_ifid_infiniband(u8 *eui, struct net_device *dev) eui 2240 net/ipv6/addrconf.c memcpy(eui, dev->dev_addr + 12, 8); eui 2241 net/ipv6/addrconf.c eui[0] |= 2; eui 2245 net/ipv6/addrconf.c static int __ipv6_isatap_ifid(u8 *eui, __be32 addr) eui 2249 net/ipv6/addrconf.c eui[0] = (ipv4_is_zeronet(addr) || ipv4_is_private_10(addr) || eui 2255 net/ipv6/addrconf.c eui[1] = 0; eui 2256 net/ipv6/addrconf.c eui[2] = 0x5E; eui 2257 net/ipv6/addrconf.c eui[3] = 0xFE; eui 2258 net/ipv6/addrconf.c memcpy(eui + 4, &addr, 4); eui 2262 net/ipv6/addrconf.c static int addrconf_ifid_sit(u8 *eui, struct net_device *dev) eui 2265 net/ipv6/addrconf.c return __ipv6_isatap_ifid(eui, *(__be32 *)dev->dev_addr); eui 2269 net/ipv6/addrconf.c static int addrconf_ifid_gre(u8 *eui, struct net_device *dev) eui 2271 net/ipv6/addrconf.c return __ipv6_isatap_ifid(eui, *(__be32 *)dev->dev_addr); eui 2274 net/ipv6/addrconf.c static int addrconf_ifid_ip6tnl(u8 *eui, struct net_device *dev) eui 2276 net/ipv6/addrconf.c memcpy(eui, dev->perm_addr, 3); eui 2277 net/ipv6/addrconf.c memcpy(eui + 5, dev->perm_addr + 3, 3); eui 2278 net/ipv6/addrconf.c eui[3] = 0xFF; eui 2279 net/ipv6/addrconf.c eui[4] = 0xFE; eui 2280 net/ipv6/addrconf.c eui[0] ^= 2; eui 2284 net/ipv6/addrconf.c static int ipv6_generate_eui64(u8 *eui, struct net_device *dev) eui 2289 net/ipv6/addrconf.c return addrconf_ifid_eui48(eui, dev); eui 2291 net/ipv6/addrconf.c return addrconf_ifid_arcnet(eui, dev); eui 2293 net/ipv6/addrconf.c return addrconf_ifid_infiniband(eui, dev); eui 2295 net/ipv6/addrconf.c return addrconf_ifid_sit(eui, dev); eui 2298 net/ipv6/addrconf.c return addrconf_ifid_gre(eui, dev); eui 2300 net/ipv6/addrconf.c return addrconf_ifid_6lowpan(eui, dev); eui 2302 net/ipv6/addrconf.c return addrconf_ifid_ieee1394(eui, dev); eui 2306 net/ipv6/addrconf.c return addrconf_ifid_ip6tnl(eui, dev); eui 2311 net/ipv6/addrconf.c static int ipv6_inherit_eui64(u8 *eui, struct inet6_dev *idev) eui 2321 net/ipv6/addrconf.c memcpy(eui, ifp->addr.s6_addr+8, 8);