Lines Matching defs:af
521 _gethostbydnsname(const char *name, int af)
533 switch (af) {
548 host.h_addrtype = af;
573 if (inet_pton(af, name, host_addr) <= 0) {
606 if (inet_pton(af, name, host_addr) <= 0) {
635 _gethostbydnsaddr(const char *addr, int len, int af)
655 if (af == AF_INET6 && len == IN6ADDRSZ &&
661 af = AF_INET;
664 switch (af) {
681 switch (af) {
709 if (af == AF_INET) {
744 hp->h_addrtype = af;
749 if (af == AF_INET && (_res.options & RES_USE_INET6)) {