9 #include <netinet/in.h>
13 extern int tryconn(
struct ips *mx,
const struct in6_addr *outip4,
const struct in6_addr *outip6);
28 extern int connect_mx(
struct ips *mx,
const struct in6_addr *outip4,
const struct in6_addr *outip6);
list of IP addresses for a given host
Definition: qdns.h:28
headers of functions for DNS lookups
int connect_mx(struct ips *mx, const struct in6_addr *outip4, const struct in6_addr *outip6)
establish a connection to a MX
Definition: conn_mx.c:51
int tryconn(struct ips *mx, const struct in6_addr *outip4, const struct in6_addr *outip6)
Definition: conn.c:110
void getmxlist(char *, struct ips **)
Definition: conn.c:161
unsigned int targetport
Definition: conn.c:24