struct hostportres { char *host; char *port; uint8_t prefixlen; struct addrinfo *addrinfo; };