TO_IN
struct sockaddr_in *in_local = TO_IN(&peer->local);
struct sockaddr_in *in_remote = TO_IN(&peer->remote);