EUI-48 and EUI-64 address provider. More...
EUI-48 and EUI-64 address provider.
Definition in file eui_provider.h.
Go to the source code of this file.
Data Structures | |
struct | eui48_conf_t |
Structure to hold providers for EUI-48 addresses. More... | |
struct | eui64_conf_t |
Structure to hold providers for EUI-64 addresses. More... | |
Macros | |
#define | NETDEV_INDEX_ANY (0xFF) |
Will match any device index. | |
Typedefs | |
typedef int(* | netdev_get_eui48_cb_t) (const void *arg, eui48_t *addr) |
Function for providing a EUI-48 to a device. More... | |
typedef int(* | netdev_get_eui64_cb_t) (const void *arg, eui64_t *addr) |
Function for providing a EUI-64 to a device. More... | |
Functions | |
void | netdev_eui48_get (netdev_t *netdev, eui48_t *addr) |
Generates an EUI-48 address for the netdev interface. More... | |
void | netdev_eui64_get (netdev_t *netdev, eui64_t *addr) |
Generates an EUI-64 address for the netdev interface. More... | |
static void | eui_short_from_eui64 (eui64_t *addr_long, network_uint16_t *addr_short) |
Get a short unicast address from an EUI-64. More... | |