Definition and IPv6 IID conversion for IEEE EUI-48 identifiers. More...
Definition and IPv6 IID conversion for IEEE EUI-48 identifiers.
Definition in file eui48.h.
Include dependency graph for eui48.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | eui48_t |
| Data type to represent an EUI-48. More... | |
Functions | |
| static void | eui48_set_local (eui48_t *addr) |
| Set the locally administrated bit in the EUI-48 address. More... | |
| static void | eui48_clear_group (eui48_t *addr) |
| Clear the group address bit to signal the address as individual address. More... | |
| static void | eui48_to_eui64 (eui64_t *eui64, const eui48_t *addr) |
| Generates an EUI-64 from a 48-bit device address. More... | |
| static void | eui64_to_eui48 (eui48_t *eui48, const eui64_t *addr) |
| Generates an EUI-48 from a 64-bit device address. More... | |
| static void | eui48_to_ipv6_iid (eui64_t *iid, const eui48_t *addr) |
| Generates an IPv6 interface identifier from a 48-bit device address. More... | |
| 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. More... | |
EUI-48 bit flags contained in the first octet | |
| |
| #define | EUI48_LOCAL_FLAG 0x02 |
| Locally administered address. | |
| #define | EUI48_GROUP_FLAG 0x01 |
| Group type address. | |