diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-21 19:21:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-21 19:21:05 -0400 |
commit | 3c42605a603485df60ed42792c3d3113a4c47a90 (patch) | |
tree | 5d30817e67f0996466abb23837734e354d8ec4d6 /src/network/lookup.h | |
parent | 70d9c303b3115ab0fe6060ba0f7b0e4c0a2320b7 (diff) | |
download | musl-3c42605a603485df60ed42792c3d3113a4c47a90.tar.gz musl-3c42605a603485df60ed42792c3d3113a4c47a90.tar.bz2 musl-3c42605a603485df60ed42792c3d3113a4c47a90.tar.xz musl-3c42605a603485df60ed42792c3d3113a4c47a90.zip |
implement result address sorting in the resolver (getaddrinfo, etc.)
Diffstat (limited to 'src/network/lookup.h')
-rw-r--r-- | src/network/lookup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/lookup.h b/src/network/lookup.h index 19c9e488..4e45d869 100644 --- a/src/network/lookup.h +++ b/src/network/lookup.h @@ -7,6 +7,7 @@ struct address { int family; unsigned scopeid; uint8_t addr[16]; + int sortkey; }; struct service { |