TO_IN6
struct sockaddr_in6 *in6_local = TO_IN6(&peer->local);
struct sockaddr_in6 *in6_remote = TO_IN6(&peer->remote);
IN6_IS_ADDR_V4MAPPED(&TO_IN6(&peer->remote)->sin6_addr)) {
IN6_IS_ADDR_UNSPECIFIED(&TO_IN6(&peer->local)->sin6_addr)) {
&TO_IN6(&peer->remote)->sin6_addr,
TO_IN6(&peer->remote)->sin6_scope_id, NULL,
&TO_IN6(&peer->local)->sin6_addr, NULL);