Go to the documentation of this file.
37 #define L2UTIL_ADDR_MAX_LEN (8U)
57 int l2util_eui64_from_addr(int dev_type, const uint8_t *addr, size_t addr_len,
79 const uint8_t *addr,
size_t addr_len,
Data type to represent an IPv6 address.
int l2util_ndp_addr_len_from_l2ao(int dev_type, const ndp_opt_t *opt)
Derives the length of the link-layer address in an NDP link-layer address option from that option's l...
int l2util_ipv6_group_to_l2_group(int dev_type, const ipv6_addr_t *ipv6_group, uint8_t *l2_group)
Converts an IPv6 multicast address to a multicast address of the respective link layer.
IPv6 neighbor discovery message type definitions.
int l2util_ipv6_iid_from_addr(int dev_type, const uint8_t *addr, size_t addr_len, eui64_t *iid)
Converts a given hardware address to an IPv6 IID.
Data type to represent an EUI-64.
EUI-64 data type definition.
General NDP option format.
int l2util_ipv6_iid_to_addr(int dev_type, const eui64_t *iid, uint8_t *addr)
Converts an IPv6 IID to a hardware address.