Home
last modified time | relevance | path

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

/include/net/
Daddrconf.h146 static inline void addrconf_addr_eui48_base(u8 *eui, const char *const addr) in addrconf_addr_eui48_base() argument
148 memcpy(eui, addr, 3); in addrconf_addr_eui48_base()
149 eui[3] = 0xFF; in addrconf_addr_eui48_base()
150 eui[4] = 0xFE; in addrconf_addr_eui48_base()
151 memcpy(eui + 5, addr + 3, 3); in addrconf_addr_eui48_base()
154 static inline void addrconf_addr_eui48(u8 *eui, const char *const addr) in addrconf_addr_eui48() argument
156 addrconf_addr_eui48_base(eui, addr); in addrconf_addr_eui48()
157 eui[0] ^= 2; in addrconf_addr_eui48()
160 static inline int addrconf_ifid_eui48(u8 *eui, struct net_device *dev) in addrconf_ifid_eui48() argument
179 addrconf_addr_eui48_base(eui, dev->dev_addr); in addrconf_ifid_eui48()
[all …]
/include/uapi/linux/
Dedd.h141 __u64 eui; member