freebsd-dev/lib/libc/net
Andrey A. Chernov ebbc445889 The formal behavior of qsort is unstable with regard to objects that
are equal. Unfortunately, RFC 3484 requires that otherwise equal objects
remain in the order supplied by the DNS server. The present code attempts
to deal with this by returning -1 for objects that are equal (i.e.,
returns that the first parameter is less then the second parameter).
Unfortunately, the qsort API does not state that the first parameter
passed in is in any particular position in the list.

PR:     212122
Submitted by:   Herbie.Robinson@stratus.com
MFC after:      3 days
2016-08-27 14:43:13 +00:00
..
base64.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
byteorder.3
ether_addr.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
ethers.3
eui64.3
eui64.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
gai_strerror.3
gai_strerror.c
getaddrinfo.3 addrinfo.ai_family is an address family, not a protocol family. 2015-12-20 15:18:50 +00:00
getaddrinfo.c The formal behavior of qsort is unstable with regard to objects that 2016-08-27 14:43:13 +00:00
gethostbydns.c Rename dprintf into dbg_printf to avoid collision with dprintf(3) 2016-05-10 07:45:44 +00:00
gethostbyht.c
gethostbyname.3
gethostbynis.c Remove _gethostbynisname() and _gethostbynisaddr(). These functions 2015-12-25 10:49:40 +00:00
gethostnamadr.c libc: spelling fixes. 2016-04-30 01:24:24 +00:00
getifaddrs.3 Fix ifa_data description. 2014-11-25 15:09:34 +00:00
getifaddrs.c libc: replace 0 with NULL for pointers. 2016-04-10 19:33:58 +00:00
getifmaddrs.3
getifmaddrs.c
getipnodebyname.3
getnameinfo.3 Add NI_NUMERICSCOPE. 2016-07-28 10:05:41 +00:00
getnameinfo.c Add NI_NUMERICSCOPE. 2016-07-28 10:05:41 +00:00
getnetbydns.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 21:21:01 +00:00
getnetbyht.c Revert r301707 2016-06-08 23:30:13 +00:00
getnetbynis.c
getnetent.3
getnetnamadr.c libc: spelling fixes. 2016-04-30 01:24:24 +00:00
getproto.c Add declarations to netdb_private.h to eliminate -Wmissing-prototypes warnings. 2015-09-20 04:20:31 +00:00
getprotoent.3
getprotoent.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
getprotoname.c
getservent.3
getservent.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
hesiod.3
hesiod.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
if_indextoname.3
if_indextoname.c
if_nameindex.c
if_nametoindex.c Zero out a local variable also when PURIFY is not defined. 2015-09-10 10:23:23 +00:00
inet6_opt_init.3
inet6_option_space.3
inet6_rth_space.3
inet6_rthdr_space.3
inet_net.3 Remove <sys/types.h> from the SYNOPSIS. 2016-08-18 06:39:09 +00:00
inet.3
ip6opt.c Minor indentation issue. 2016-04-20 16:03:53 +00:00
linkaddr.3
linkaddr.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 21:21:01 +00:00
Makefile.inc Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally. 2016-03-26 03:46:12 +00:00
map_v4v6.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
name6.c Don't call free_addrselectpolicy(&policyhead) before policyhead has been 2016-05-16 08:13:30 +00:00
netdb_private.h Remove _gethostbynisname() and _gethostbynisaddr(). These functions 2015-12-25 10:49:40 +00:00
nscache.c Define _NS_PRIVATE to make declarations visible. 2015-09-20 04:17:03 +00:00
nscachedcli.c libc: spelling fixes. 2016-04-30 01:24:24 +00:00
nsdispatch.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
nsdispatch.c The fallback flag in nsdispatch prevents the fallback implementation of 2014-11-25 09:47:15 +00:00
nslexer.l Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 21:21:01 +00:00
nsparser.y Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 21:21:01 +00:00
nss_backends.h
nss_compat.c Don't conflate enum nss_status return values values with int (NS_SUCCESS, 2016-08-16 11:38:45 +00:00
ntoh.c Add missing includes to eliminate -Wmissing-prototypes warnings 2015-09-20 04:15:37 +00:00
rcmd.3
rcmd.c libc: replace 0 with NULL for pointers. 2016-04-10 19:33:58 +00:00
rcmdsh.3
rcmdsh.c libc: Use namespace.h in a few more files. 2015-12-20 23:05:20 +00:00
recv.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 21:21:01 +00:00
res_config.h libc: spelling fixes. 2016-04-30 01:24:24 +00:00
resolver.3
rthdr.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
sctp_bindx.3 Fix name of a constant. 2015-06-14 20:16:36 +00:00
sctp_connectx.3
sctp_freepaddrs.3
sctp_getaddrlen.3
sctp_getassocid.3
sctp_getpaddrs.3
sctp_opt_info.3
sctp_recvmsg.3 sendmsg(3) -> sendmsg(2) 2016-02-29 17:19:15 +00:00
sctp_send.3 Various mdoc fixes and a few EOL whitespace removals. 2014-12-21 12:36:36 +00:00
sctp_sendmsg.3 sendmsg(3) -> sendmsg(2) 2016-02-29 17:19:15 +00:00
sctp_sys_calls.c sctp_sendx() needs to provide the assoc_id back. 2016-01-24 22:31:34 +00:00
send.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 21:21:01 +00:00
sockatmark.3
sockatmark.c Add missing includes to eliminate -Wmissing-prototypes warnings 2015-09-20 04:15:37 +00:00
sourcefilter.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
sourcefilter.c libc: do not include <sys/types.h> where <sys/param.h> was already included 2016-04-18 21:05:15 +00:00
Symbol.map Add an SCTP symbol which was missed in 2015-03-28 09:08:57 +00:00
vars.c