X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/9c99fe6ab5c1566b4b98c5edcc5c1100d3ca49fa..71d65e4c65572e2ef14c58e9c3a2aa32952b2b41:/secnet.h diff --git a/secnet.h b/secnet.h index 5c97751..6724698 100644 --- a/secnet.h +++ b/secnet.h @@ -3,6 +3,8 @@ #ifndef secnet_h #define secnet_h +#define ADNS_FEATURE_MANYAF + #include "config.h" #include #include @@ -295,7 +297,8 @@ struct buffer_if; actually found in the DNS, which may be bigger if addrs is equal to MAX_PEER_ADDRS (ie there were too many). */ typedef void resolve_answer_fn(void *st, const struct comm_addr *addrs, - int naddrs, int was_naddrs); + int naddrs, int was_naddrs, + const char *failwhy); typedef bool_t resolve_request_fn(void *st, cstring_t name, int remoteport, struct comm_if *comm, resolve_answer_fn *cb, void *cst); @@ -339,6 +342,7 @@ struct comm_addr { freely copy it. */ struct comm_if *comm; union iaddr ia; + int ix; /* see comment `Re comm_addr.ix' in udp.c */ }; /* Return True if the packet was processed, and shouldn't be passed to