summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/cname.h
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-09-20 01:09:23 +0000
committerhrs <hrs@FreeBSD.org>2015-09-20 01:09:23 +0000
commita3fcca6713520dc0bf112298215886bcceed5a0f (patch)
tree77e76ada766a17a7c962eca30f68e4bcd6ba0307 /lib/libc/regex/cname.h
parent92177854740b4059d4a698eddb8a7cc0f09188d5 (diff)
downloadFreeBSD-src-a3fcca6713520dc0bf112298215886bcceed5a0f.zip
FreeBSD-src-a3fcca6713520dc0bf112298215886bcceed5a0f.tar.gz
Add PF_LOCAL support in getaddrinfo(3) and getnameinfo(3):
- In a PF_LOCAL address, "hostname" must begins with '/' and "servname" is always NULL. All of ai_flags are ignored. - PF_UNSPEC matches PF_LOCAL. EAI_SERVICE is not returned to make AF-independent programming easier; "servname" is always ignored in PF_LOCAL. In practice, PF_INET* and PF_LOCAL are mutually-exclusive because a hostname which begins with '/' is invalid in PF_INET*. No domain name resolution is performed for a PF_LOCAL address. Differential Revision: https://reviews.freebsd.org/D3634
Diffstat (limited to 'lib/libc/regex/cname.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud