11#include <netinet/ip6.h>
struct sockaddr_in6 get_link_local_address(const char *interface_name)
Gets the first link-local address for the specified network interface.
Definition: ipv6.cpp:26
bool is_link_local(const in6_addr &address) noexcept
Tests if an IPv6 address has link-local scope.
Definition: ipv6.cpp:20
std::string to_string(const in6_addr &address)
Produces a string representation of an IPv6 address.
Definition: ipv6.cpp:48