You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/01 22:09:38 UTC
[incubator-nuttx] branch master updated (a34e5fc -> 4addf6c)
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.
from a34e5fc tools/nxstyle.c: All Public Function Prototypes in C files
add 2e57583 libc/netdb: Connect to the server before sending
add 7f2810f libc/netdb: Should query both IPv4 and IPv6 address regardless the server address type
add 8d66a31 libc/netdb: Support save the mix of IPv4/IPv6 address into hostent
add 99dc8bf libc/netdb: Return EAI_FAMILY in getaddrinfo if the final address is empty
add 0b662d6 libc/netdb: Add hostent_s to avoid the change of hostent
add 4addf6c libc/netdb: query IPv6 first than IPv4
No new revisions were added by this update.
Summary of changes:
include/netdb.h | 14 +-
libs/libc/netdb/Make.defs | 2 +
libs/libc/netdb/lib_dnsquery.c | 359 +++-------
libs/libc/netdb/lib_getaddrinfo.c | 86 +--
libs/libc/netdb/lib_gethostbyaddr.c | 10 +-
libs/libc/netdb/lib_gethostbyaddrr.c | 110 +--
libs/libc/netdb/lib_gethostbyname.c | 11 +-
.../libc/netdb/lib_gethostbyname2.c | 67 +-
libs/libc/netdb/lib_gethostbyname2r.c | 107 +++
libs/libc/netdb/lib_gethostbynamer.c | 755 +--------------------
...ib_gethostbynamer.c => lib_gethostentbynamer.c} | 201 +++---
libs/libc/netdb/lib_getnameinfo.c | 10 +-
libs/libc/netdb/lib_getservbyname.c | 2 +-
libs/libc/netdb/lib_getservbyport.c | 2 +-
libs/libc/netdb/lib_netdb.c | 45 ++
libs/libc/netdb/lib_netdb.h | 25 +
libs/libc/netdb/lib_parsehostfile.c | 31 +-
17 files changed, 539 insertions(+), 1298 deletions(-)
copy sched/mqueue/mq_setattr.c => libs/libc/netdb/lib_gethostbyname2.c (53%)
create mode 100644 libs/libc/netdb/lib_gethostbyname2r.c
copy libs/libc/netdb/{lib_gethostbynamer.c => lib_gethostentbynamer.c} (78%)