Header of the unique ID generation module. More...
Header of the unique ID generation module.
Definition in file luid.h.
Go to the source code of this file.
Macros | |
#define | LUID_BACKUP_SEED 0x23 |
Value used as based for the LUIDs in case the cpuid module is not present. | |
Functions | |
void | luid_get (void *buf, size_t len) |
Get a unique ID. | |
void | luid_get_lb (void *buf, size_t len) |
Get a unique ID with change in the last byte. | |
void | luid_get_short (network_uint16_t *addr) |
Get a unique short unicast address. | |
void | luid_get_eui48 (eui48_t *addr) |
Get a unique EUI48 address. | |
void | luid_netdev_get_eui48 (const netdev_t *netdev, eui48_t *addr) |
Get a unique EUI48 address. | |
void | luid_get_eui64 (eui64_t *addr) |
Get a unique EUI64 address. | |
void | luid_netdev_get_eui64 (const netdev_t *netdev, eui64_t *addr) |
Get a unique EUI64 address. | |
void | luid_custom (void *buf, size_t len, uint16_t gen) |
Get a custom unique ID based on a user given generator value. | |
void | luid_base (void *buf, size_t len) |
Get a LUID base value. | |