Go to the documentation of this file.
49 #define EUI48_LOCAL_FLAG 0x02
54 #define EUI48_GROUP_FLAG 0x01
95 eui64->
uint8[3] = 0xff;
96 eui64->
uint8[4] = 0xfe;
140 iid->
uint8[0] ^= 0x02;
uint8_t uint8[8]
split into 8 8-bit words.
static void eui64_to_eui48(eui48_t *eui48, const eui64_t *addr)
Generates an EUI-48 from a 64-bit device address.
static void eui48_set_local(eui48_t *addr)
Set the locally administrated bit in the EUI-48 address.
uint8_t uint8[6]
split into 6 8-bit words.
Data type to represent an EUI-48.
#define EUI48_LOCAL_FLAG
Locally administered address.
static void eui48_to_ipv6_iid(eui64_t *iid, const eui48_t *addr)
Generates an IPv6 interface identifier from a 48-bit device address.
static void eui48_from_ipv6_iid(eui48_t *addr, const eui64_t *iid)
Convert a 64-bit IPv6 IID into a EUI-48 device address.
static void eui48_to_eui64(eui64_t *eui64, const eui48_t *addr)
Generates an EUI-64 from a 48-bit device address.
Data type to represent an EUI-64.
static void eui48_clear_group(eui48_t *addr)
Clear the group address bit to signal the address as individual address.
EUI-64 data type definition.
#define EUI48_GROUP_FLAG
Group type address.