Home
last modified time | relevance | path

Searched refs:eui (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/net/6lowpan/
Dcore.c79 int addrconf_ifid_802154_6lowpan(u8 *eui, struct net_device *dev) in addrconf_ifid_802154_6lowpan() argument
94 memset(eui, 0, 2); in addrconf_ifid_802154_6lowpan()
96 ieee802154_le16_to_be16(eui, &wpan_dev->pan_id); in addrconf_ifid_802154_6lowpan()
99 eui[0] &= ~2; in addrconf_ifid_802154_6lowpan()
100 eui[2] = 0; in addrconf_ifid_802154_6lowpan()
101 eui[3] = 0xFF; in addrconf_ifid_802154_6lowpan()
102 eui[4] = 0xFE; in addrconf_ifid_802154_6lowpan()
103 eui[5] = 0; in addrconf_ifid_802154_6lowpan()
104 ieee802154_le16_to_be16(&eui[6], &wpan_dev->short_addr); in addrconf_ifid_802154_6lowpan()
D6lowpan_i.h18 int addrconf_ifid_802154_6lowpan(u8 *eui, struct net_device *dev);
/Linux-v6.1/include/net/
Daddrconf.h132 static inline void addrconf_addr_eui48_base(u8 *eui, const char *const addr) in addrconf_addr_eui48_base() argument
134 memcpy(eui, addr, 3); in addrconf_addr_eui48_base()
135 eui[3] = 0xFF; in addrconf_addr_eui48_base()
136 eui[4] = 0xFE; in addrconf_addr_eui48_base()
137 memcpy(eui + 5, addr + 3, 3); in addrconf_addr_eui48_base()
140 static inline void addrconf_addr_eui48(u8 *eui, const char *const addr) in addrconf_addr_eui48() argument
142 addrconf_addr_eui48_base(eui, addr); in addrconf_addr_eui48()
143 eui[0] ^= 2; in addrconf_addr_eui48()
146 static inline int addrconf_ifid_eui48(u8 *eui, struct net_device *dev) in addrconf_ifid_eui48() argument
165 addrconf_addr_eui48_base(eui, dev->dev_addr); in addrconf_ifid_eui48()
[all …]
/Linux-v6.1/net/ipv6/
Daddrconf.c141 static int ipv6_generate_eui64(u8 *eui, struct net_device *dev);
2221 static int addrconf_ifid_6lowpan(u8 *eui, struct net_device *dev) in addrconf_ifid_6lowpan() argument
2225 memcpy(eui, dev->dev_addr, 3); in addrconf_ifid_6lowpan()
2226 eui[3] = 0xFF; in addrconf_ifid_6lowpan()
2227 eui[4] = 0xFE; in addrconf_ifid_6lowpan()
2228 memcpy(eui + 5, dev->dev_addr + 3, 3); in addrconf_ifid_6lowpan()
2231 memcpy(eui, dev->dev_addr, EUI64_ADDR_LEN); in addrconf_ifid_6lowpan()
2232 eui[0] ^= 2; in addrconf_ifid_6lowpan()
2241 static int addrconf_ifid_ieee1394(u8 *eui, struct net_device *dev) in addrconf_ifid_ieee1394() argument
2250 memcpy(eui, &ha->uc.uniq_id, sizeof(ha->uc.uniq_id)); in addrconf_ifid_ieee1394()
[all …]
/Linux-v6.1/include/uapi/linux/
Dedd.h141 __u64 eui; member
/Linux-v6.1/drivers/firmware/
Dedd.c202 info->params.device_path.i1394.eui); in edd_show_interface()
/Linux-v6.1/drivers/nvme/host/
Dcore.c3415 static DEVICE_ATTR_RO(eui);