diff options
author | hrs <hrs@FreeBSD.org> | 2015-09-20 01:09:23 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2015-09-20 01:09:23 +0000 |
commit | a3fcca6713520dc0bf112298215886bcceed5a0f (patch) | |
tree | 77e76ada766a17a7c962eca30f68e4bcd6ba0307 /lib/libc/regex/cname.h | |
parent | 92177854740b4059d4a698eddb8a7cc0f09188d5 (diff) | |
download | FreeBSD-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