implement result address sorting in the resolver (getaddrinfo, etc.)
[musl] / src / network / lookup.h
index 19c9e48..4e45d86 100644 (file)
@@ -7,6 +7,7 @@ struct address {
        int family;
        unsigned scopeid;
        uint8_t addr[16];
+       int sortkey;
 };
 
 struct service {